aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-04-06 10:05:10 +0000
committerSven Gothel <[email protected]>2001-04-06 10:05:10 +0000
commitee8232711affbf052576b038aee079250c985416 (patch)
tree6af9c3d569611615d29dee5d051a69ab68e18b0d
parent6c0f57e382ff6a739551630b0f9acac14f0a539a (diff)
2.7.0 release ..
-rw-r--r--C2J/C2J.java1770
-rw-r--r--C2J/C2J.jj64
-rw-r--r--C2J/CFuncDeclaration.java37
-rw-r--r--C2J/CFuncVariable.java16
-rw-r--r--C2J/gl-enum-auto.java4
-rw-r--r--C2J/gl-funcnames.skel4
-rw-r--r--C2J/gl-proto-auto.java4
-rw-r--r--C2J/gl-proto-dynauto-jni12.c6151
-rw-r--r--C2J/gl-proto-dynauto-tst-jni12.c6151
-rw-r--r--C2J/gl-proto-dynauto.c6151
-rw-r--r--C2J/gl-protoVirt-auto.java4
-rw-r--r--C2J/glu-enum-auto.java4
-rw-r--r--C2J/glu-proto-auto-jni12.c132
-rw-r--r--C2J/glu-proto-auto-tst-jni12.c132
-rw-r--r--C2J/glu-proto-auto.c132
-rw-r--r--C2J/glu-proto-auto.java4
-rw-r--r--C2J/glu-protoVirt-auto.java4
-rwxr-xr-xC2J/makefile298
-rw-r--r--C2J/manual/gl-manualCodedImplJNI.c4
-rw-r--r--C2J/manual/gl-manualCodedImplJNI2.java2
-rw-r--r--C2J/manual/glu-manualCodedImplJNI.c46
-rw-r--r--C2J/manual/glu-manualCodedImplJNI2.java2
-rw-r--r--CHANGES.txt101
-rw-r--r--CNativeCode/GLCallbackHelperJNI.c14
-rw-r--r--CNativeCode/GLCallbackHelperJNI.h3
-rw-r--r--CNativeCode/GLDrawableFactory_X11_SunJDK13.c51
-rw-r--r--CNativeCode/OpenGLU_JauJNI12_funcs.c178
-rw-r--r--CNativeCode/OpenGLU_JauJNI12tst_funcs.c2398
-rw-r--r--CNativeCode/OpenGLU_JauJNI_funcs.c178
-rwxr-xr-xCNativeCode/OpenGL_Win32.c12
-rwxr-xr-xCNativeCode/OpenGL_Win32_common.c708
-rwxr-xr-xCNativeCode/OpenGL_Win32_common.h38
-rwxr-xr-xCNativeCode/OpenGL_Win32_jawt.c18
-rw-r--r--CNativeCode/OpenGL_X11.c59
-rw-r--r--CNativeCode/OpenGL_X11_common.c707
-rw-r--r--CNativeCode/OpenGL_X11_common.h67
-rw-r--r--CNativeCode/OpenGL_X11_jawt.c60
-rw-r--r--CNativeCode/OpenGL_misc.c583
-rw-r--r--CNativeCode/OpenGL_misc.h51
-rw-r--r--CNativeCode/jawt_misc.c4
-rw-r--r--Installer/GL4JInst.java7
-rw-r--r--Installer/GL4JInst_cacert_ns.html2
-rwxr-xr-xInstaller/makeNetscapeSignedJar-Unix.sh6
-rw-r--r--Installer/versiondef.sh2
-rw-r--r--LINKS.html80
-rwxr-xr-xWin32VC6/GL4JavaJauGljJNI/GL4JavaJauGljJNI.dsp26
-rwxr-xr-xWin32VC6/GL4JavaJauGljJNI12/GL4JavaJauGljJNI12.dsp26
-rwxr-xr-xWin32VC6/GL4JavaJauGljJNI13/GL4JavaJauGljJNI13.dsp28
-rwxr-xr-xWin32VC6/GL4JavaMSJDirect/GL4JavaMSJDirect.dsp3
-rwxr-xr-xWin32VC6/Win32VC6.dsw128
-rw-r--r--demos/MiscDemos/gears.java3
-rwxr-xr-xdemos/MiscDemos/morph3d.java5
-rwxr-xr-xgl4java/GLCapabilities.java1
-rw-r--r--gl4java/GLContext.java.skel310
-rw-r--r--gl4java/GLEnum.java12
-rw-r--r--gl4java/GLFunc.java16
-rw-r--r--gl4java/GLFuncJauJNI.java14
-rw-r--r--gl4java/GLFuncJauJNInf.java13994
-rw-r--r--gl4java/GLUEnum.java12
-rw-r--r--gl4java/GLUFunc.java12
-rw-r--r--gl4java/GLUFuncJauJNI.java14
-rw-r--r--gl4java/GLUFuncJauJNInf.java1650
-rw-r--r--gl4java/utils/Test.java198
-rw-r--r--makefile290
-rw-r--r--symbols.mak.linux-java2-xf86-ppc-32bit5
-rw-r--r--symbols.mak.linux-java2-xf86-x86-32bit12
-rw-r--r--symbols.mak.sgi-irix65-mips-gcc-32bit7
-rw-r--r--symbols.mak.sgi-irix65-mips-gcc-brian-32bit7
-rw-r--r--symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit5
-rw-r--r--symbols.mak.solaris-sunos-57-sparc-gcc-32bit5
-rw-r--r--symbols.mak.win32-java2-32bit5
71 files changed, 12545 insertions, 30686 deletions
diff --git a/C2J/C2J.java b/C2J/C2J.java
index 1ae52cf..af692a2 100644
--- a/C2J/C2J.java
+++ b/C2J/C2J.java
@@ -3,7 +3,7 @@ import java.util.*;
public class C2J implements C2JConstants {
- public static final String version = "C2J Parser Version 1.5 Beta" ;
+ public static final String version = "C2J Parser Version 2.0" ;
public static final String vendor = "Jausoft - Sven Goethel Software Development";
public static final int EXPORT_JNI_JAVA = 1;
@@ -12,12 +12,16 @@ import java.util.*;
public static final int EXPORT_JNI_C = 4; // strong binding
public static final int EXPORT_JNI_C_DYN = 5; // dyn. binding
public static final int EXPORT_GL_FUNC_NAMES = 10;
+ public static final int EXPORT_GL_DISPATCH_DECL= 11;
+ public static final int EXPORT_GL_DISPATCH_VAR = 12;
+ public static final int EXPORT_GL_DISPATCH_GET = 13;
public static final int MODIFIER_JNI_CRITICAL_ARRAY = 1;
public static final int MODIFIER_JNI_COPY_CHECK = 2; // experimental trial ..
public static int exportMode;
public static int exportModifier;
+ public static boolean usePointerHolderCast = false;
public static boolean verbose=false ;
public static boolean syntaxVerbose=false ;
public static boolean echoMode=false ;
@@ -69,7 +73,7 @@ import java.util.*;
System.out.println("Usage is one of:");
System.out.println(" java C2J [-v] [-s] [-echo] [jnic|jnijava|jnijavaf|msjava|echo] <ClassName> < inputfile");
System.out.println("OR");
- System.out.println(" java C2J [-v] [-s] [-echo] [-jnic-criticalarray] [-jnic-trial] [jnic|jnic-dyn|jnijava|msjava <dllname>|glfnames] <ClassName> inputfile");
+ System.out.println(" java C2J [-v] [-s] [-echo] [-jnic-criticalarray] [-jnic-trial] [jnic|jnic-dyn|jnijava|msjava <dllname>|glfnames|gldispatch-decl|gldispatch-var|gldispatch-get] <ClassName> inputfile");
System.out.println(" , inputfile is a C-HeaderFile (Preprocessed).");
System.out.println(" , where <ClassName> must be full qualified with an underscore instead of an dot - if not in (any) Java-Mode.");
System.out.println(" , where -v means verbose");
@@ -83,6 +87,7 @@ import java.util.*;
System.out.println(" , where jnijavaf produces JNI-Java Code (final)");
System.out.println(" , where msjava <dllname> produces MSJVM-Java Code for the DLL <dllname>");
System.out.println(" , where glfnames produces all GL function names");
+ System.out.println(" , where gldispatch* produces the gl-func declarations, definitions and get stubs");
System.out.println(" , where echo just prints the parsed C-Code\n");
System.out.println(" E.g.");
System.out.println(" java C2J jnic myPackage_myClass a.h > a.c");
@@ -143,10 +148,12 @@ import java.util.*;
else if( args[i].equals("jnic") )
{
exportMode = EXPORT_JNI_C;
+ usePointerHolderCast = true;
}
else if( args[i].equals("jnic-dyn") )
{
exportMode = EXPORT_JNI_C_DYN;
+ usePointerHolderCast = true;
}
else if( args[i].equals("jnijava") )
{
@@ -160,6 +167,18 @@ import java.util.*;
{
exportMode = EXPORT_GL_FUNC_NAMES;
}
+ else if( args[i].equals("gldispatch-decl") )
+ {
+ exportMode = EXPORT_GL_DISPATCH_DECL;
+ }
+ else if( args[i].equals("gldispatch-var") )
+ {
+ exportMode = EXPORT_GL_DISPATCH_VAR;
+ }
+ else if( args[i].equals("gldispatch-get") )
+ {
+ exportMode = EXPORT_GL_DISPATCH_GET;
+ }
else if( args[i].equals("msjava") && i+1<args.length )
{
exportMode = EXPORT_MSJDIRECT_JAVA;
@@ -303,6 +322,29 @@ import java.util.*;
case EXPORT_GL_FUNC_NAMES:
System.out.println("\t\t\""+cfunc.funcSpec.identifier+"\", ");
break;
+ case EXPORT_GL_DISPATCH_DECL:
+ System.out.println("\tLIBAPI "+
+ cfunc.funcSpec.getCTypeString()+
+ " (CALLBACK * disp__"+
+ cfunc.funcSpec.identifier + " )("+
+ cfunc.argsType2CStrList()+");\n");
+ break;
+ case EXPORT_GL_DISPATCH_VAR:
+ System.out.println("\t"+
+ cfunc.funcSpec.getCTypeString()+
+ " (CALLBACK * disp__"+
+ cfunc.funcSpec.identifier + " )("+
+ cfunc.argsType2CStrList()+") = NULL;\n");
+ break;
+ case EXPORT_GL_DISPATCH_GET:
+ System.out.println("\tdisp__"+cfunc.funcSpec.identifier+
+ " = ("+
+ cfunc.funcSpec.getCTypeString()+
+ " (CALLBACK *)("+
+ cfunc.argsType2CStrList()+"))"+
+ "\n\t GET_GL_PROCADDRESS (\""+
+ cfunc.funcSpec.identifier+"\");\n");
+ break;
case EXPORT_MSJDIRECT_JAVA :
System.out.println(cfunc.toMsJDirectCode(dllname));
break;
@@ -536,7 +578,7 @@ import java.util.*;
throw new ParseException();
}
if(cfvar==null)
- cfvar = new CFuncVariable();
+ cfvar = new CFuncVariable(usePointerHolderCast);
cfvar.typeC = t.image;
cfvar.typeJava = typeJava;
@@ -697,7 +739,7 @@ import java.util.*;
throw new ParseException();
}
if(cfvar==null)
- cfvar = new CFuncVariable();
+ cfvar = new CFuncVariable(usePointerHolderCast);
cfvar.typeC = t.image;
cfvar.typeJava = typeJava;
cfvar.isVoid = isVoid;
@@ -713,7 +755,7 @@ import java.util.*;
t = jj_consume_token(CONST);
cSrc += t.image+" ";
if(cfvar==null)
- cfvar = new CFuncVariable();
+ cfvar = new CFuncVariable(usePointerHolderCast);
cfvar.isConst=true;
{if (true) return cfvar;}
break;
@@ -1257,7 +1299,12 @@ import java.util.*;
* We may must squash the "void" Argument
* E.g. void function(void) !
*/
- if(cfvar.isVoid)
+ if(cfvar.isVoid &&
+ exportMode != EXPORT_GL_DISPATCH_DECL &&
+ exportMode != EXPORT_GL_DISPATCH_VAR &&
+ exportMode != EXPORT_GL_DISPATCH_GET &&
+ exportMode != EXPORT_MSJDIRECT_JAVA
+ )
{
cfunc.argList.removeElementAt(
cfunc.argList.size()-1);
@@ -1267,7 +1314,10 @@ import java.util.*;
* We have a regular argument,
* so we must add an instance name here ...
*/
- cfvar.identifier="arg"+(cfunc.argList.size()-1);
+ if(cfvar.isVoid)
+ cfvar.identifier=" ";
+ else
+ cfvar.identifier="arg"+(cfunc.argList.size()-1);
cfvar.complete=true;
}
}
@@ -2760,380 +2810,59 @@ import java.util.*;
return retval;
}
- static final private boolean jj_3R_163() {
- if (jj_3R_212()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_257()) { jj_scanpos = xsp; break; }
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- }
- return false;
- }
-
- static final private boolean jj_3R_190() {
- if (jj_scan_token(73)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_32()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3_31() {
- if (jj_3R_39()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_141() {
- if (jj_3R_37()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_38()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_96()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_96() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_141()) {
- jj_scanpos = xsp;
- if (jj_3_31()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_44() {
- if (jj_3R_18()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_55() {
- if (jj_3R_103()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_112()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_249() {
- if (jj_3R_131()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_248() {
- if (jj_3R_131()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_17() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_44()) {
- jj_scanpos = xsp;
- if (jj_3_3()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_247() {
- if (jj_3R_131()) return true;
+ static final private boolean jj_3R_211() {
+ if (jj_scan_token(UNION)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_26() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3_15()) {
- jj_scanpos = xsp;
- if (jj_3R_55()) return true;
+ static final private boolean jj_3R_210() {
+ if (jj_scan_token(STRUCT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3_15() {
- if (jj_3R_22()) return true;
+ static final private boolean jj_3R_170() {
+ if (jj_scan_token(IF)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_111()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_131() {
- if (jj_3R_96()) return true;
+ if (jj_scan_token(75)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_223()) { jj_scanpos = xsp; break; }
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- }
- return false;
- }
-
- static final private boolean jj_3R_250() {
if (jj_3R_131()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_178() {
- if (jj_scan_token(RETURN)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_250()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3_1() {
- if (jj_3R_17()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3_29() {
- if (jj_scan_token(ELSE)) return true;
+ if (jj_scan_token(76)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
if (jj_3R_36()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_177() {
- if (jj_scan_token(BREAK)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_176() {
- if (jj_scan_token(CONTINUE)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_25() {
- if (jj_3R_26()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_163()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_150() {
- if (jj_3R_27()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_190()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_175() {
- if (jj_scan_token(GOTO)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(IDENTIFIER)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_125() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_175()) {
- jj_scanpos = xsp;
- if (jj_3R_176()) {
- jj_scanpos = xsp;
- if (jj_3R_177()) {
- jj_scanpos = xsp;
- if (jj_3R_178()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_151() {
- if (jj_scan_token(72)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_150()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3_28() {
- if (jj_3R_21()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_174() {
- if (jj_scan_token(FOR)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_247()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- xsp = jj_scanpos;
- if (jj_3R_248()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- xsp = jj_scanpos;
- if (jj_3R_249()) jj_scanpos = xsp;
+ if (jj_3_29()) jj_scanpos = xsp;
else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_36()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_105() {
- if (jj_3R_150()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_151()) { jj_scanpos = xsp; break; }
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- }
- return false;
- }
-
- static final private boolean jj_3R_173() {
- if (jj_scan_token(DO)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_36()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(WHILE)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_131()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3_12() {
- if (jj_3R_25()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_24() {
- Token xsp;
- if (jj_3_12()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3_12()) { jj_scanpos = xsp; break; }
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- }
return false;
}
- static final private boolean jj_3R_172() {
- if (jj_scan_token(WHILE)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_131()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_36()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_211() {
- if (jj_scan_token(UNION)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_210() {
- if (jj_scan_token(STRUCT)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_98() {
- if (jj_3R_21()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_124() {
+ static final private boolean jj_3R_162() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_172()) {
- jj_scanpos = xsp;
- if (jj_3R_173()) {
+ if (jj_3R_210()) {
jj_scanpos = xsp;
- if (jj_3R_174()) return true;
+ if (jj_3R_211()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_162() {
+ static final private boolean jj_3R_123() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_210()) {
+ if (jj_3R_170()) {
jj_scanpos = xsp;
- if (jj_3R_211()) return true;
+ if (jj_3R_171()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_171() {
- if (jj_scan_token(SWITCH)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_131()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ static final private boolean jj_3R_189() {
if (jj_3R_36()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
@@ -3153,47 +2882,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_170() {
- if (jj_scan_token(IF)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_131()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_36()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3_29()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_123() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_170()) {
- jj_scanpos = xsp;
- if (jj_3R_171()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_224() {
- if (jj_scan_token(IDENTIFIER)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_189() {
- if (jj_3R_36()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_142() {
Token xsp;
if (jj_3R_189()) return true;
@@ -3212,7 +2900,7 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_23() {
+ static final private boolean jj_3R_224() {
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
@@ -3239,26 +2927,19 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_122() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_169()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
+ static final private boolean jj_3R_23() {
+ if (jj_scan_token(IDENTIFIER)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_108() {
- if (jj_3R_162()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ static final private boolean jj_3R_122() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3_11()) {
- jj_scanpos = xsp;
- if (jj_3R_224()) return true;
+ if (jj_3R_169()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3272,12 +2953,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_149() {
- if (jj_scan_token(VOLATILE)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_67() {
if (jj_scan_token(CASE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -3290,20 +2965,27 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_26() {
- if (jj_3R_30()) return true;
+ static final private boolean jj_3R_108() {
+ if (jj_3R_162()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3_11()) {
+ jj_scanpos = xsp;
+ if (jj_3R_224()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_242() {
- if (jj_3R_121()) return true;
+ static final private boolean jj_3_26() {
+ if (jj_3R_30()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_148() {
- if (jj_scan_token(CONST)) return true;
+ static final private boolean jj_3R_242() {
+ if (jj_3R_121()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3318,14 +3000,9 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_103() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_148()) {
- jj_scanpos = xsp;
- if (jj_3R_149()) return true;
+ static final private boolean jj_3R_149() {
+ if (jj_scan_token(VOLATILE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3367,6 +3044,12 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_148() {
+ if (jj_scan_token(CONST)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_71() {
if (jj_3R_123()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -3379,6 +3062,17 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_103() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_148()) {
+ jj_scanpos = xsp;
+ if (jj_3R_149()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_69() {
if (jj_3R_122()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -3438,12 +3132,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_209() {
- if (jj_scan_token(GLUtriangulatorObj)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_236() {
if (jj_scan_token(77)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -3467,12 +3155,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_208() {
- if (jj_scan_token(GLUtesselator)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_168() {
if (jj_scan_token(75)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -3485,8 +3167,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_207() {
- if (jj_scan_token(GLUnurbsObj)) return true;
+ static final private boolean jj_3R_209() {
+ if (jj_scan_token(GLUtriangulatorObj)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3503,8 +3185,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_206() {
- if (jj_scan_token(GLUquadricObj)) return true;
+ static final private boolean jj_3R_208() {
+ if (jj_scan_token(GLUtesselator)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3546,8 +3228,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_205() {
- if (jj_scan_token(GLbitfield)) return true;
+ static final private boolean jj_3R_207() {
+ if (jj_scan_token(GLUnurbsObj)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3574,8 +3256,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_204() {
- if (jj_scan_token(GLenum)) return true;
+ static final private boolean jj_3R_206() {
+ if (jj_scan_token(GLUquadricObj)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3591,8 +3273,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_203() {
- if (jj_scan_token(GLuint)) return true;
+ static final private boolean jj_3R_205() {
+ if (jj_scan_token(GLbitfield)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3607,8 +3289,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_202() {
- if (jj_scan_token(GLushort)) return true;
+ static final private boolean jj_3R_204() {
+ if (jj_scan_token(GLenum)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3631,8 +3313,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_201() {
- if (jj_scan_token(GLboolean)) return true;
+ static final private boolean jj_3R_203() {
+ if (jj_scan_token(GLuint)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3657,8 +3339,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_200() {
- if (jj_scan_token(GLubyte)) return true;
+ static final private boolean jj_3R_202() {
+ if (jj_scan_token(GLushort)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3674,14 +3356,14 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_199() {
- if (jj_scan_token(GLclampd)) return true;
+ static final private boolean jj_3R_201() {
+ if (jj_scan_token(GLboolean)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_198() {
- if (jj_scan_token(GLdouble)) return true;
+ static final private boolean jj_3R_200() {
+ if (jj_scan_token(GLubyte)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3694,8 +3376,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_197() {
- if (jj_scan_token(GLclampf)) return true;
+ static final private boolean jj_3R_199() {
+ if (jj_scan_token(GLclampd)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -3712,6 +3394,18 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_198() {
+ if (jj_scan_token(GLdouble)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_197() {
+ if (jj_scan_token(GLclampf)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_196() {
if (jj_scan_token(GLfloat)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -3971,18 +3665,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_155() {
- if (jj_scan_token(INT)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_154() {
- if (jj_scan_token(SHORT)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_222() {
if (jj_scan_token(STRING_LITERAL)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4009,8 +3691,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_153() {
- if (jj_scan_token(CHAR)) return true;
+ static final private boolean jj_3R_155() {
+ if (jj_scan_token(INT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4050,8 +3732,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_152() {
- if (jj_scan_token(VOID)) return true;
+ static final private boolean jj_3R_154() {
+ if (jj_scan_token(SHORT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4072,35 +3754,9 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_106() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_152()) {
- jj_scanpos = xsp;
- if (jj_3R_153()) {
- jj_scanpos = xsp;
- if (jj_3R_154()) {
- jj_scanpos = xsp;
- if (jj_3R_155()) {
- jj_scanpos = xsp;
- if (jj_3R_156()) {
- jj_scanpos = xsp;
- if (jj_3R_157()) {
- jj_scanpos = xsp;
- if (jj_3R_158()) {
- jj_scanpos = xsp;
- if (jj_3R_159()) {
- jj_scanpos = xsp;
- if (jj_3R_160()) return true;
+ static final private boolean jj_3R_153() {
+ if (jj_scan_token(CHAR)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4116,14 +3772,9 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_51() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_106()) {
- jj_scanpos = xsp;
- if (jj_3R_107()) return true;
+ static final private boolean jj_3R_152() {
+ if (jj_scan_token(VOID)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4141,36 +3792,35 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_33() {
- if (jj_scan_token(79)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_63()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- xsp = jj_scanpos;
- if (jj_3R_64()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_22() {
+ static final private boolean jj_3R_106() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_51()) {
+ if (jj_3R_152()) {
jj_scanpos = xsp;
- if (jj_3R_52()) {
+ if (jj_3R_153()) {
jj_scanpos = xsp;
- if (jj_3R_53()) {
+ if (jj_3R_154()) {
jj_scanpos = xsp;
- lookingAhead = true;
- jj_semLA = isType(getToken(1).image);
- lookingAhead = false;
- if (!jj_semLA || jj_3R_54()) return true;
+ if (jj_3R_155()) {
+ jj_scanpos = xsp;
+ if (jj_3R_156()) {
+ jj_scanpos = xsp;
+ if (jj_3R_157()) {
+ jj_scanpos = xsp;
+ if (jj_3R_158()) {
+ jj_scanpos = xsp;
+ if (jj_3R_159()) {
+ jj_scanpos = xsp;
+ if (jj_3R_160()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4180,26 +3830,25 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_188() {
- if (jj_3R_43()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_139() {
- if (jj_scan_token(109)) return true;
+ static final private boolean jj_3R_51() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_106()) {
+ jj_scanpos = xsp;
+ if (jj_3R_107()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3_9() {
- if (jj_3R_20()) return true;
+ static final private boolean jj_3R_188() {
+ if (jj_3R_43()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_147() {
- if (jj_scan_token(TYPEDEF)) return true;
+ static final private boolean jj_3R_139() {
+ if (jj_scan_token(109)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4212,9 +3861,16 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_146() {
- if (jj_scan_token(EXTERN)) return true;
+ static final private boolean jj_3R_33() {
+ if (jj_scan_token(79)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_63()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ xsp = jj_scanpos;
+ if (jj_3R_64()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4236,6 +3892,26 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_22() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_51()) {
+ jj_scanpos = xsp;
+ if (jj_3R_52()) {
+ jj_scanpos = xsp;
+ if (jj_3R_53()) {
+ jj_scanpos = xsp;
+ lookingAhead = true;
+ jj_semLA = isType(getToken(1).image);
+ lookingAhead = false;
+ if (!jj_semLA || jj_3R_54()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_95() {
Token xsp;
xsp = jj_scanpos;
@@ -4259,34 +3935,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_165() {
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_214()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_145() {
- if (jj_scan_token(STATIC)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_144() {
- if (jj_scan_token(REGISTER)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_143() {
- if (jj_scan_token(AUTO)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_136() {
if (jj_scan_token(75)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4305,32 +3953,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_100() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_143()) {
- jj_scanpos = xsp;
- if (jj_3R_144()) {
- jj_scanpos = xsp;
- if (jj_3R_145()) {
- jj_scanpos = xsp;
- if (jj_3R_146()) {
- jj_scanpos = xsp;
- if (jj_3R_147()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3_18() {
- if (jj_3R_30()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_42() {
if (jj_3R_94()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4343,14 +3965,20 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3_9() {
+ if (jj_3R_20()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_184() {
if (jj_scan_token(112)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3_8() {
- if (jj_3R_20()) return true;
+ static final private boolean jj_3R_147() {
+ if (jj_scan_token(TYPEDEF)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4361,8 +3989,8 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_104() {
- if (jj_3R_20()) return true;
+ static final private boolean jj_3R_146() {
+ if (jj_scan_token(EXTERN)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4373,24 +4001,78 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_165() {
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_214()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_145() {
+ if (jj_scan_token(STATIC)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_181() {
if (jj_scan_token(105)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
+ static final private boolean jj_3R_144() {
+ if (jj_scan_token(REGISTER)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_180() {
if (jj_scan_token(79)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
+ static final private boolean jj_3R_143() {
+ if (jj_scan_token(AUTO)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_179() {
if (jj_scan_token(96)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
+ static final private boolean jj_3R_100() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_143()) {
+ jj_scanpos = xsp;
+ if (jj_3R_144()) {
+ jj_scanpos = xsp;
+ if (jj_3R_145()) {
+ jj_scanpos = xsp;
+ if (jj_3R_146()) {
+ jj_scanpos = xsp;
+ if (jj_3R_147()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_18() {
+ if (jj_3R_30()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_127() {
if (jj_3R_37()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4420,19 +4102,13 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_19() {
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3_18()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
+ static final private boolean jj_3_8() {
+ if (jj_3R_20()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3_7() {
+ static final private boolean jj_3R_104() {
if (jj_3R_20()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
@@ -4448,28 +4124,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_48() {
- if (jj_3R_103()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_104()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_102() {
- if (jj_3R_20()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_50() {
- if (jj_3R_105()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_77() {
if (jj_scan_token(SIZEOF)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4517,6 +4171,18 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3_19() {
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3_18()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_74() {
if (jj_scan_token(109)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4525,6 +4191,12 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3_7() {
+ if (jj_3R_20()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3_34() {
if (jj_3R_42()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4537,13 +4209,17 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_213() {
- if (jj_3R_121()) return true;
+ static final private boolean jj_3R_48() {
+ if (jj_3R_103()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_104()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_101() {
+ static final private boolean jj_3R_102() {
if (jj_3R_20()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
@@ -4569,98 +4245,86 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_10() {
- if (jj_3R_22()) return true;
+ static final private boolean jj_3R_50() {
+ if (jj_3R_105()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_102()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_164() {
- if (jj_scan_token(77)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_213()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(78)) return true;
+ static final private boolean jj_3R_93() {
+ if (jj_3R_37()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_115() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_164()) {
- jj_scanpos = xsp;
- if (jj_3_19()) {
- jj_scanpos = xsp;
- if (jj_3R_165()) return true;
+ static final private boolean jj_3R_213() {
+ if (jj_3R_121()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3_6() {
- if (jj_3R_19()) return true;
+ static final private boolean jj_3R_92() {
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_40()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_41()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_93() {
- if (jj_3R_37()) return true;
+ static final private boolean jj_3R_101() {
+ if (jj_3R_20()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_47() {
- if (jj_3R_100()) return true;
+ static final private boolean jj_3_10() {
+ if (jj_3R_22()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_101()) jj_scanpos = xsp;
+ if (jj_3R_102()) jj_scanpos = xsp;
else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_20() {
+ static final private boolean jj_3R_41() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_47()) {
- jj_scanpos = xsp;
- if (jj_3_10()) {
+ if (jj_3R_92()) {
jj_scanpos = xsp;
- if (jj_3R_48()) return true;
+ if (jj_3R_93()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_92() {
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_40()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
+ static final private boolean jj_3R_164() {
+ if (jj_scan_token(77)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_41()) return true;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_213()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(78)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_41() {
+ static final private boolean jj_3R_115() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_92()) {
+ if (jj_3R_164()) {
jj_scanpos = xsp;
- if (jj_3R_93()) return true;
+ if (jj_3_19()) {
+ jj_scanpos = xsp;
+ if (jj_3R_165()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4670,18 +4334,14 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_266() {
- if (jj_scan_token(107)) return true;
+ static final private boolean jj_3_6() {
+ if (jj_3R_19()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_114() {
- if (jj_scan_token(75)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_27()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(76)) return true;
+ static final private boolean jj_3R_266() {
+ if (jj_scan_token(107)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4692,15 +4352,27 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_49() {
- if (jj_3R_19()) return true;
+ static final private boolean jj_3R_47() {
+ if (jj_3R_100()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_101()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3_5() {
- if (jj_3R_21()) return true;
+ static final private boolean jj_3R_20() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_47()) {
+ jj_scanpos = xsp;
+ if (jj_3_10()) {
+ jj_scanpos = xsp;
+ if (jj_3R_48()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4726,18 +4398,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_21() {
- Token xsp;
- if (jj_3R_49()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_49()) { jj_scanpos = xsp; break; }
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- }
- return false;
- }
-
static final private boolean jj_3R_263() {
if (jj_scan_token(105)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4754,6 +4414,16 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_114() {
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_27()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_259() {
Token xsp;
xsp = jj_scanpos;
@@ -4767,26 +4437,32 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_4() {
- if (jj_3R_20()) return true;
+ static final private boolean jj_3R_49() {
+ if (jj_3R_19()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_260() {
- if (jj_scan_token(103)) return true;
+ static final private boolean jj_3_5() {
+ if (jj_3R_21()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_19() {
- if (jj_3R_20()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ static final private boolean jj_3R_21() {
Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_50()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(69)) return true;
+ if (jj_3R_49()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_49()) { jj_scanpos = xsp; break; }
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ }
+ return false;
+ }
+
+ static final private boolean jj_3R_260() {
+ if (jj_scan_token(103)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4836,20 +4512,32 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3_4() {
+ if (jj_3R_20()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_254() {
if (jj_scan_token(100)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_253() {
- if (jj_scan_token(99)) return true;
+ static final private boolean jj_3R_19() {
+ if (jj_3R_20()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_50()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_45() {
- if (jj_3R_20()) return true;
+ static final private boolean jj_3R_253() {
+ if (jj_scan_token(99)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4873,27 +4561,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_18() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_45()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_27()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- xsp = jj_scanpos;
- if (jj_3_5()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_46()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_113() {
- if (jj_scan_token(IDENTIFIER)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_245() {
if (jj_scan_token(97)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -4910,19 +4577,9 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_57() {
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3R_113()) {
- jj_scanpos = xsp;
- if (jj_3R_114()) return true;
+ static final private boolean jj_3R_45() {
+ if (jj_3R_20()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_115()) { jj_scanpos = xsp; break; }
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- }
return false;
}
@@ -4939,8 +4596,23 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_56() {
- if (jj_3R_33()) return true;
+ static final private boolean jj_3R_18() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_45()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_27()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ xsp = jj_scanpos;
+ if (jj_3_5()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_46()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_113() {
+ if (jj_scan_token(IDENTIFIER)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4963,12 +4635,24 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_27() {
+ static final private boolean jj_3R_57() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_56()) jj_scanpos = xsp;
- else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_57()) return true;
+ if (jj_3R_113()) {
+ jj_scanpos = xsp;
+ if (jj_3R_114()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_115()) { jj_scanpos = xsp; break; }
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ }
+ return false;
+ }
+
+ static final private boolean jj_3R_56() {
+ if (jj_3R_33()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -4991,16 +4675,12 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_17() {
+ static final private boolean jj_3R_27() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_28()) jj_scanpos = xsp;
+ if (jj_3R_56()) jj_scanpos = xsp;
else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(70)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_29()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(71)) return true;
+ if (jj_3R_57()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -5023,12 +4703,6 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_232() {
- if (jj_3R_27()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_185() {
if (jj_3R_217()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -5047,22 +4721,16 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_226() {
+ static final private boolean jj_3_17() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_232()) jj_scanpos = xsp;
+ if (jj_3R_28()) jj_scanpos = xsp;
else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_scan_token(74)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_121()) return true;
+ if (jj_scan_token(70)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_59() {
- if (jj_scan_token(72)) return true;
+ if (jj_3R_29()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_58()) return true;
+ if (jj_scan_token(71)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -5085,33 +4753,21 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_14() {
- if (jj_3R_26()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_116() {
- if (jj_scan_token(73)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_121()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3_13() {
- if (jj_3R_26()) return true;
+ static final private boolean jj_3R_232() {
+ if (jj_3R_27()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_58() {
- if (jj_scan_token(IDENTIFIER)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ static final private boolean jj_3R_226() {
Token xsp;
xsp = jj_scanpos;
- if (jj_3R_116()) jj_scanpos = xsp;
+ if (jj_3R_232()) jj_scanpos = xsp;
else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(74)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_121()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -5125,33 +4781,37 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_3() {
- if (jj_3R_19()) return true;
+ static final private boolean jj_3R_59() {
+ if (jj_scan_token(72)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_58()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_112() {
+ static final private boolean jj_3_14() {
if (jj_3R_26()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
+ static final private boolean jj_3R_116() {
+ if (jj_scan_token(73)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_121()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_121() {
if (jj_3R_39()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_29() {
- if (jj_3R_58()) return true;
+ static final private boolean jj_3_13() {
+ if (jj_3R_26()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- while (true) {
- xsp = jj_scanpos;
- if (jj_3R_59()) { jj_scanpos = xsp; break; }
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- }
return false;
}
@@ -5167,29 +4827,13 @@ import java.util.*;
return false;
}
- static final private boolean jj_3R_257() {
- if (jj_scan_token(72)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- if (jj_3R_212()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_111() {
- if (jj_3R_26()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_225() {
- if (jj_scan_token(IDENTIFIER)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
- static final private boolean jj_3R_28() {
+ static final private boolean jj_3R_58() {
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_116()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -5211,28 +4855,47 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_112() {
+ if (jj_3R_26()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_29() {
+ if (jj_3R_58()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_59()) { jj_scanpos = xsp; break; }
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ }
+ return false;
+ }
+
static final private boolean jj_3R_88() {
if (jj_scan_token(90)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_87() {
- if (jj_scan_token(89)) return true;
+ static final private boolean jj_3R_257() {
+ if (jj_scan_token(72)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_212()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_109() {
- if (jj_scan_token(ENUM)) return true;
+ static final private boolean jj_3R_111() {
+ if (jj_3R_26()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- Token xsp;
- xsp = jj_scanpos;
- if (jj_3_17()) {
- jj_scanpos = xsp;
- if (jj_3R_225()) return true;
+ return false;
+ }
+
+ static final private boolean jj_3R_87() {
+ if (jj_scan_token(89)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
@@ -5248,12 +4911,24 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3R_225() {
+ if (jj_scan_token(IDENTIFIER)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_84() {
if (jj_scan_token(86)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
+ static final private boolean jj_3R_28() {
+ if (jj_scan_token(IDENTIFIER)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static final private boolean jj_3R_83() {
if (jj_scan_token(85)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -5274,47 +4949,37 @@ import java.util.*;
return false;
}
- static final private boolean jj_3_16() {
- if (jj_3R_27()) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_81() {
if (jj_scan_token(83)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3_2() {
- if (jj_3R_18()) return true;
+ static final private boolean jj_3R_80() {
+ if (jj_scan_token(82)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_80() {
- if (jj_scan_token(82)) return true;
+ static final private boolean jj_3R_79() {
+ if (jj_scan_token(81)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_212() {
+ static final private boolean jj_3R_109() {
+ if (jj_scan_token(ENUM)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
Token xsp;
xsp = jj_scanpos;
- if (jj_3_16()) {
+ if (jj_3_17()) {
jj_scanpos = xsp;
- if (jj_3R_226()) return true;
+ if (jj_3R_225()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
- static final private boolean jj_3R_79() {
- if (jj_scan_token(81)) return true;
- if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
- return false;
- }
-
static final private boolean jj_3R_78() {
if (jj_scan_token(73)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
@@ -5359,6 +5024,391 @@ import java.util.*;
return false;
}
+ static final private boolean jj_3_16() {
+ if (jj_3R_27()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_31() {
+ if (jj_3R_39()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_141() {
+ if (jj_3R_37()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_38()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_96()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_96() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_141()) {
+ jj_scanpos = xsp;
+ if (jj_3_31()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_212() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3_16()) {
+ jj_scanpos = xsp;
+ if (jj_3R_226()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_3() {
+ if (jj_3R_19()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_249() {
+ if (jj_3R_131()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_248() {
+ if (jj_3R_131()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_247() {
+ if (jj_3R_131()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_163() {
+ if (jj_3R_212()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_257()) { jj_scanpos = xsp; break; }
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ }
+ return false;
+ }
+
+ static final private boolean jj_3R_190() {
+ if (jj_scan_token(73)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_32()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_131() {
+ if (jj_3R_96()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_223()) { jj_scanpos = xsp; break; }
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ }
+ return false;
+ }
+
+ static final private boolean jj_3R_250() {
+ if (jj_3R_131()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_178() {
+ if (jj_scan_token(RETURN)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_250()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_55() {
+ if (jj_3R_103()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_112()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_29() {
+ if (jj_scan_token(ELSE)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_36()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_177() {
+ if (jj_scan_token(BREAK)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_176() {
+ if (jj_scan_token(CONTINUE)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_26() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3_15()) {
+ jj_scanpos = xsp;
+ if (jj_3R_55()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_15() {
+ if (jj_3R_22()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_111()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_175() {
+ if (jj_scan_token(GOTO)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(IDENTIFIER)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_125() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_175()) {
+ jj_scanpos = xsp;
+ if (jj_3R_176()) {
+ jj_scanpos = xsp;
+ if (jj_3R_177()) {
+ jj_scanpos = xsp;
+ if (jj_3R_178()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_25() {
+ if (jj_3R_26()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_163()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_2() {
+ if (jj_3R_18()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_150() {
+ if (jj_3R_27()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_190()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_28() {
+ if (jj_3R_21()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_174() {
+ if (jj_scan_token(FOR)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_247()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ xsp = jj_scanpos;
+ if (jj_3R_248()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ xsp = jj_scanpos;
+ if (jj_3R_249()) jj_scanpos = xsp;
+ else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_36()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_44() {
+ if (jj_3R_18()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_173() {
+ if (jj_scan_token(DO)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_36()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(WHILE)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_131()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(69)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_151() {
+ if (jj_scan_token(72)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_150()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_17() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_44()) {
+ jj_scanpos = xsp;
+ if (jj_3_3()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_172() {
+ if (jj_scan_token(WHILE)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_131()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_36()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_105() {
+ if (jj_3R_150()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ Token xsp;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3R_151()) { jj_scanpos = xsp; break; }
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ }
+ return false;
+ }
+
+ static final private boolean jj_3R_98() {
+ if (jj_3R_21()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_124() {
+ Token xsp;
+ xsp = jj_scanpos;
+ if (jj_3R_172()) {
+ jj_scanpos = xsp;
+ if (jj_3R_173()) {
+ jj_scanpos = xsp;
+ if (jj_3R_174()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_1() {
+ if (jj_3R_17()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3_12() {
+ if (jj_3R_25()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
+ static final private boolean jj_3R_24() {
+ Token xsp;
+ if (jj_3_12()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ while (true) {
+ xsp = jj_scanpos;
+ if (jj_3_12()) { jj_scanpos = xsp; break; }
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ }
+ return false;
+ }
+
+ static final private boolean jj_3R_171() {
+ if (jj_scan_token(SWITCH)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(75)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_131()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_scan_token(76)) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ if (jj_3R_36()) return true;
+ if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
+ return false;
+ }
+
static private boolean jj_initialized_once = false;
static public C2JTokenManager token_source;
static ASCII_CharStream jj_input_stream;
diff --git a/C2J/C2J.jj b/C2J/C2J.jj
index d14d1a9..ad9ddc3 100644
--- a/C2J/C2J.jj
+++ b/C2J/C2J.jj
@@ -57,7 +57,7 @@ import java.util.*;
public class C2J{
- public static final String version = "C2J Parser Version 1.5 Beta" ;
+ public static final String version = "C2J Parser Version 2.0" ;
public static final String vendor = "Jausoft - Sven Goethel Software Development";
public static final int EXPORT_JNI_JAVA = 1;
@@ -66,12 +66,16 @@ import java.util.*;
public static final int EXPORT_JNI_C = 4; // strong binding
public static final int EXPORT_JNI_C_DYN = 5; // dyn. binding
public static final int EXPORT_GL_FUNC_NAMES = 10;
+ public static final int EXPORT_GL_DISPATCH_DECL= 11;
+ public static final int EXPORT_GL_DISPATCH_VAR = 12;
+ public static final int EXPORT_GL_DISPATCH_GET = 13;
public static final int MODIFIER_JNI_CRITICAL_ARRAY = 1;
public static final int MODIFIER_JNI_COPY_CHECK = 2; // experimental trial ..
public static int exportMode;
public static int exportModifier;
+ public static boolean usePointerHolderCast = false;
public static boolean verbose=false ;
public static boolean syntaxVerbose=false ;
public static boolean echoMode=false ;
@@ -123,7 +127,7 @@ import java.util.*;
System.out.println("Usage is one of:");
System.out.println(" java C2J [-v] [-s] [-echo] [jnic|jnijava|jnijavaf|msjava|echo] <ClassName> < inputfile");
System.out.println("OR");
- System.out.println(" java C2J [-v] [-s] [-echo] [-jnic-criticalarray] [-jnic-trial] [jnic|jnic-dyn|jnijava|msjava <dllname>|glfnames] <ClassName> inputfile");
+ System.out.println(" java C2J [-v] [-s] [-echo] [-jnic-criticalarray] [-jnic-trial] [jnic|jnic-dyn|jnijava|msjava <dllname>|glfnames|gldispatch-decl|gldispatch-var|gldispatch-get] <ClassName> inputfile");
System.out.println(" , inputfile is a C-HeaderFile (Preprocessed).");
System.out.println(" , where <ClassName> must be full qualified with an underscore instead of an dot - if not in (any) Java-Mode.");
System.out.println(" , where -v means verbose");
@@ -137,6 +141,7 @@ import java.util.*;
System.out.println(" , where jnijavaf produces JNI-Java Code (final)");
System.out.println(" , where msjava <dllname> produces MSJVM-Java Code for the DLL <dllname>");
System.out.println(" , where glfnames produces all GL function names");
+ System.out.println(" , where gldispatch* produces the gl-func declarations, definitions and get stubs");
System.out.println(" , where echo just prints the parsed C-Code\n");
System.out.println(" E.g.");
System.out.println(" java C2J jnic myPackage_myClass a.h > a.c");
@@ -197,10 +202,12 @@ import java.util.*;
else if( args[i].equals("jnic") )
{
exportMode = EXPORT_JNI_C;
+ usePointerHolderCast = true;
}
else if( args[i].equals("jnic-dyn") )
{
exportMode = EXPORT_JNI_C_DYN;
+ usePointerHolderCast = true;
}
else if( args[i].equals("jnijava") )
{
@@ -214,6 +221,18 @@ import java.util.*;
{
exportMode = EXPORT_GL_FUNC_NAMES;
}
+ else if( args[i].equals("gldispatch-decl") )
+ {
+ exportMode = EXPORT_GL_DISPATCH_DECL;
+ }
+ else if( args[i].equals("gldispatch-var") )
+ {
+ exportMode = EXPORT_GL_DISPATCH_VAR;
+ }
+ else if( args[i].equals("gldispatch-get") )
+ {
+ exportMode = EXPORT_GL_DISPATCH_GET;
+ }
else if( args[i].equals("msjava") && i+1<args.length )
{
exportMode = EXPORT_MSJDIRECT_JAVA;
@@ -429,6 +448,29 @@ void ExternalDeclaration() :
break;
case EXPORT_GL_FUNC_NAMES:
System.out.println("\t\t\""+cfunc.funcSpec.identifier+"\", ");
+ break;
+ case EXPORT_GL_DISPATCH_DECL:
+ System.out.println("\tLIBAPI "+
+ cfunc.funcSpec.getCTypeString()+
+ " (CALLBACK * disp__"+
+ cfunc.funcSpec.identifier + " )("+
+ cfunc.argsType2CStrList()+");\n");
+ break;
+ case EXPORT_GL_DISPATCH_VAR:
+ System.out.println("\t"+
+ cfunc.funcSpec.getCTypeString()+
+ " (CALLBACK * disp__"+
+ cfunc.funcSpec.identifier + " )("+
+ cfunc.argsType2CStrList()+") = NULL;\n");
+ break;
+ case EXPORT_GL_DISPATCH_GET:
+ System.out.println("\tdisp__"+cfunc.funcSpec.identifier+
+ " = ("+
+ cfunc.funcSpec.getCTypeString()+
+ " (CALLBACK *)("+
+ cfunc.argsType2CStrList()+"))"+
+ "\n\t GET_GL_PROCADDRESS (\""+
+ cfunc.funcSpec.identifier+"\");\n");
break;
case EXPORT_MSJDIRECT_JAVA :
System.out.println(cfunc.toMsJDirectCode(dllname));
@@ -552,7 +594,7 @@ CFuncVariable TypeSpecifier(CFuncVariable cfvar) :
)
{
if(cfvar==null)
- cfvar = new CFuncVariable();
+ cfvar = new CFuncVariable(usePointerHolderCast);
cfvar.typeC = t.image;
cfvar.typeJava = typeJava;
@@ -654,7 +696,7 @@ CFuncVariable TypeSpecifierGL(CFuncVariable cfvar) :
)
{
if(cfvar==null)
- cfvar = new CFuncVariable();
+ cfvar = new CFuncVariable(usePointerHolderCast);
cfvar.typeC = t.image;
cfvar.typeJava = typeJava;
cfvar.isVoid = isVoid;
@@ -669,7 +711,7 @@ CFuncVariable TypeQualifier(CFuncVariable cfvar) :
( t=<CONST>
{ cSrc += t.image+" ";
if(cfvar==null)
- cfvar = new CFuncVariable();
+ cfvar = new CFuncVariable(usePointerHolderCast);
cfvar.isConst=true;
return cfvar;
} |
@@ -952,7 +994,12 @@ void ParameterDeclaration(CFuncDeclaration cfunc) : {}
* We may must squash the "void" Argument
* E.g. void function(void) !
*/
- if(cfvar.isVoid)
+ if(cfvar.isVoid &&
+ exportMode != EXPORT_GL_DISPATCH_DECL &&
+ exportMode != EXPORT_GL_DISPATCH_VAR &&
+ exportMode != EXPORT_GL_DISPATCH_GET &&
+ exportMode != EXPORT_MSJDIRECT_JAVA
+ )
{
cfunc.argList.removeElementAt(
cfunc.argList.size()-1);
@@ -962,7 +1009,10 @@ void ParameterDeclaration(CFuncDeclaration cfunc) : {}
* We have a regular argument,
* so we must add an instance name here ...
*/
- cfvar.identifier="arg"+(cfunc.argList.size()-1);
+ if(cfvar.isVoid)
+ cfvar.identifier=" ";
+ else
+ cfvar.identifier="arg"+(cfunc.argList.size()-1);
cfvar.complete=true;
}
}
diff --git a/C2J/CFuncDeclaration.java b/C2J/CFuncDeclaration.java
index b28740a..1236ee2 100644
--- a/C2J/CFuncDeclaration.java
+++ b/C2J/CFuncDeclaration.java
@@ -129,7 +129,7 @@ public class CFuncDeclaration
if(funcSpec==null && state==FUNC_TYPE_MISSING)
{
- funcSpec = new CFuncVariable();
+ funcSpec = new CFuncVariable(false);
return funcSpec;
}
else if(state==FUNC_TYPE_MISSING || state==FUNC_NAME_MISSING)
@@ -142,7 +142,7 @@ public class CFuncDeclaration
argList.elementAt(argList.size()-1);
}
- CFuncVariable cfvar = new CFuncVariable();
+ CFuncVariable cfvar = new CFuncVariable(false);
argList.addElement(cfvar);
return cfvar;
}
@@ -474,15 +474,6 @@ public class CFuncDeclaration
res += "\t{\n";
- if(exportMode==C2J.EXPORT_JNI_C_DYN)
- {
- //
- // Add the global static OpenGL function pointer
- //
- res += "\t\tstatic "+funcSpec.getJNITypeString()+
- " (CALLBACK *__func_ptr__)("+argsType2CStrList()+") = NULL;\n";
- }
-
//
// Add the return variable
//
@@ -528,25 +519,6 @@ public class CFuncDeclaration
res += "\n" ;
- if(exportMode==C2J.EXPORT_JNI_C_DYN)
- {
- //
- // Add the global static OpenGL function pointer assignment
- //
- res += "\t\tif(__func_ptr__==NULL) {\n";
- res += "\t\t\t__func_ptr__ = ("+
- funcSpec.getJNITypeString()+" (CALLBACK *)("+
- argsType2CStrList()+"))\n"+
- "\t\t\t\tgetGLProcAddressHelper(\""
- +funcSpec.identifier+"\", NULL, 1, 0);\n";
- res += "\t\t\tif(__func_ptr__==NULL)\n";
- if(funcSpec.typeC.equals("void")==false)
- res += "\t\t\t\treturn 0;\n";
- else
- res += "\t\t\t\treturn;\n";
- res += "\t\t}\n";
- }
-
//
// Adding the JNI access Methods
// for Arrays ...
@@ -629,7 +601,8 @@ public class CFuncDeclaration
if(exportMode==C2J.EXPORT_JNI_C)
res += funcSpec.identifier + " (\n";
else
- res += "__func_ptr__ (\n";
+ res += "disp__"+funcSpec.identifier + " (\n";
+
for (i=0; i<argList.size() ; i++ )
{
@@ -820,7 +793,7 @@ public class CFuncDeclaration
res += "\t\t";
if(funcSpec.typeJava.equals("void")==false)
res += "return ";
- res += "__"+funcSpec.identifier+"(\n";
+ res += "disp__"+funcSpec.identifier+"(\n";
for (i=0; i<argList.size(); i++)
{
cfvar = (CFuncVariable) argList.elementAt(i);
diff --git a/C2J/CFuncVariable.java b/C2J/CFuncVariable.java
index 267420f..3bf9656 100644
--- a/C2J/CFuncVariable.java
+++ b/C2J/CFuncVariable.java
@@ -20,6 +20,7 @@ public class CFuncVariable
public boolean isVoid;
public boolean isConst;
+ public boolean usePointerHolderCast;
public int arrayNumber;
@@ -54,7 +55,7 @@ public class CFuncVariable
*/
public String identifier;
- public CFuncVariable()
+ public CFuncVariable(boolean _usePointerHolderCast)
{
complete=false;
@@ -62,6 +63,8 @@ public class CFuncVariable
isConst=false;
isGLUPtrObject=false;
+ usePointerHolderCast=_usePointerHolderCast;
+
arrayNumber=0;
typeC = null;
@@ -72,7 +75,7 @@ public class CFuncVariable
protected Object clone()
throws CloneNotSupportedException
{
- CFuncVariable nobj=new CFuncVariable();
+ CFuncVariable nobj=new CFuncVariable(usePointerHolderCast);
nobj.typeC=new String(typeC);
nobj.typeJava=new String(typeJava);
nobj.identifier=new String(identifier);
@@ -97,7 +100,7 @@ public class CFuncVariable
res += "*";
res += " "+identifier;
if(isVoid)
- res += " /* Void */";
+ res += " /* Void typeC = <"+typeC+"> */";
return res;
}
@@ -179,7 +182,12 @@ public class CFuncVariable
for(j=0; j<arrayNumber; j++)
res+="*";
if(isGLUPtrObject)
- res+="*) (PointerHolder";
+ {
+ if(usePointerHolderCast)
+ res+="*) (PointerHolder";
+ else
+ res+="*";
+ }
return res;
}
}
diff --git a/C2J/gl-enum-auto.java b/C2J/gl-enum-auto.java
index d26beaf..d549cd0 100644
--- a/C2J/gl-enum-auto.java
+++ b/C2J/gl-enum-auto.java
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-enum-auto.orig.h . . .
* Destination-Class: gl4java_GLEnum !
@@ -1314,4 +1314,4 @@
public static final int GL_ZERO = 0x0;
public static final int GL_ZOOM_X = 0x0D16;
public static final int GL_ZOOM_Y = 0x0D17;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/gl-funcnames.skel b/C2J/gl-funcnames.skel
index e8073c8..3025d4c 100644
--- a/C2J/gl-funcnames.skel
+++ b/C2J/gl-funcnames.skel
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -442,4 +442,4 @@
"glMultiTexCoord4ivARB",
"glMultiTexCoord4sARB",
"glMultiTexCoord4svARB",
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/gl-proto-auto.java b/C2J/gl-proto-auto.java
index a39ef5b..727e1f1 100644
--- a/C2J/gl-proto-auto.java
+++ b/C2J/gl-proto-auto.java
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -6952,4 +6952,4 @@
short[] v
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/gl-proto-dynauto-jni12.c b/C2J/gl-proto-dynauto-jni12.c
index 97180c6..8226ff2 100644
--- a/C2J/gl-proto-dynauto-jni12.c
+++ b/C2J/gl-proto-dynauto-jni12.c
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -16,15 +16,8 @@
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__ (
+ disp__glClearIndex (
(GLfloat) c
);
@@ -44,15 +37,8 @@
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__ (
+ disp__glClearColor (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -72,15 +58,8 @@
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__ (
+ disp__glClear (
(GLbitfield) mask
);
@@ -97,15 +76,8 @@
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__ (
+ disp__glIndexMask (
(GLuint) mask
);
@@ -125,15 +97,8 @@
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__ (
+ disp__glColorMask (
(GLboolean) red,
(GLboolean) green,
(GLboolean) blue,
@@ -154,15 +119,8 @@
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__ (
+ disp__glAlphaFunc (
(GLenum) func,
(GLclampf) ref
);
@@ -181,15 +139,8 @@
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__ (
+ disp__glBlendFunc (
(GLenum) sfactor,
(GLenum) dfactor
);
@@ -207,15 +158,8 @@
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__ (
+ disp__glLogicOp (
(GLenum) opcode
);
@@ -232,15 +176,8 @@
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__ (
+ disp__glCullFace (
(GLenum) mode
);
@@ -257,15 +194,8 @@
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__ (
+ disp__glFrontFace (
(GLenum) mode
);
@@ -282,15 +212,8 @@
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__ (
+ disp__glPointSize (
(GLfloat) size
);
@@ -307,15 +230,8 @@
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__ (
+ disp__glLineWidth (
(GLfloat) width
);
@@ -333,15 +249,8 @@
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__ (
+ disp__glLineStipple (
(GLint) factor,
(GLushort) pattern
);
@@ -360,15 +269,8 @@
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__ (
+ disp__glPolygonMode (
(GLenum) face,
(GLenum) mode
);
@@ -387,15 +289,8 @@
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__ (
+ disp__glPolygonOffset (
(GLfloat) factor,
(GLfloat) units
);
@@ -413,20 +308,13 @@
JNIEnv *env, jobject obj,
jbyteArray mask)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLubyte *))
- getGLProcAddressHelper("glPolygonStipple", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(mask!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, 0);
}
- __func_ptr__ (
+ disp__glPolygonStipple (
(const GLubyte *) ptr0
);
@@ -447,21 +335,14 @@
JNIEnv *env, jobject obj,
jbyteArray mask)
{
- static void (CALLBACK *__func_ptr__)(GLubyte *) = NULL;
jboolean isCopiedArray0 = JNI_FALSE;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLubyte *))
- getGLProcAddressHelper("glGetPolygonStipple", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(mask!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0);
}
- __func_ptr__ (
+ disp__glGetPolygonStipple (
(GLubyte *) ptr0
);
@@ -482,15 +363,8 @@
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__ (
+ disp__glEdgeFlag (
(GLboolean) flag
);
@@ -507,20 +381,13 @@
JNIEnv *env, jobject obj,
jbooleanArray flag)
{
- static void (CALLBACK *__func_ptr__)(const GLboolean *) = NULL;
jboolean *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLboolean *))
- getGLProcAddressHelper("glEdgeFlagv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(flag!=NULL)
{
ptr0 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagv (
(const GLboolean *) ptr0
);
@@ -544,15 +411,8 @@
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__ (
+ disp__glScissor (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -573,20 +433,13 @@
jint plane,
jdoubleArray equation)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, 0);
}
- __func_ptr__ (
+ disp__glClipPlane (
(GLenum) plane,
(const GLdouble *) ptr1
);
@@ -609,21 +462,14 @@
jint plane,
jdoubleArray equation)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *))
- getGLProcAddressHelper("glGetClipPlane", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(equation!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetClipPlane (
(GLenum) plane,
(GLdouble *) ptr1
);
@@ -645,15 +491,8 @@
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__ (
+ disp__glDrawBuffer (
(GLenum) mode
);
@@ -670,15 +509,8 @@
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__ (
+ disp__glReadBuffer (
(GLenum) mode
);
@@ -695,15 +527,8 @@
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__ (
+ disp__glEnable (
(GLenum) cap
);
@@ -720,15 +545,8 @@
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__ (
+ disp__glDisable (
(GLenum) cap
);
@@ -745,17 +563,10 @@
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__ (
+ ret = (jboolean) disp__glIsEnabled (
(GLenum) cap
);
@@ -773,15 +584,8 @@
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__ (
+ disp__glEnableClientState (
(GLenum) cap
);
@@ -798,15 +602,8 @@
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__ (
+ disp__glDisableClientState (
(GLenum) cap
);
@@ -824,21 +621,14 @@
jint pname,
jbooleanArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean *))
- getGLProcAddressHelper("glGetBooleanv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetBooleanv (
(GLenum) pname,
(GLboolean *) ptr1
);
@@ -861,21 +651,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *))
- getGLProcAddressHelper("glGetDoublev", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetDoublev (
(GLenum) pname,
(GLdouble *) ptr1
);
@@ -898,21 +681,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *))
- getGLProcAddressHelper("glGetFloatv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetFloatv (
(GLenum) pname,
(GLfloat *) ptr1
);
@@ -935,21 +711,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLint *))
- getGLProcAddressHelper("glGetIntegerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetIntegerv (
(GLenum) pname,
(GLint *) ptr1
);
@@ -971,15 +740,8 @@
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__ (
+ disp__glPushAttrib (
(GLbitfield) mask
);
@@ -995,15 +757,8 @@
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__ (
+ disp__glPopAttrib (
);
}
@@ -1019,15 +774,8 @@
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__ (
+ disp__glPushClientAttrib (
(GLbitfield) mask
);
@@ -1043,15 +791,8 @@
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__ (
+ disp__glPopClientAttrib (
);
}
@@ -1067,17 +808,10 @@
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__ (
+ ret = (jint) disp__glRenderMode (
(GLenum) mode
);
@@ -1094,17 +828,10 @@
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__ (
+ ret = (jint) disp__glGetError (
);
return ret;
@@ -1120,15 +847,8 @@
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__ (
+ disp__glFinish (
);
}
@@ -1143,15 +863,8 @@
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__ (
+ disp__glFlush (
);
}
@@ -1168,15 +881,8 @@
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__ (
+ disp__glHint (
(GLenum) target,
(GLenum) mode
);
@@ -1194,15 +900,8 @@
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__ (
+ disp__glClearDepth (
(GLclampd) depth
);
@@ -1219,15 +918,8 @@
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__ (
+ disp__glDepthFunc (
(GLenum) func
);
@@ -1244,15 +936,8 @@
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__ (
+ disp__glDepthMask (
(GLboolean) flag
);
@@ -1270,15 +955,8 @@
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__ (
+ disp__glDepthRange (
(GLclampd) near_val,
(GLclampd) far_val
);
@@ -1299,15 +977,8 @@
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__ (
+ disp__glClearAccum (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue,
@@ -1328,15 +999,8 @@
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__ (
+ disp__glAccum (
(GLenum) op,
(GLfloat) value
);
@@ -1354,15 +1018,8 @@
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__ (
+ disp__glMatrixMode (
(GLenum) mode
);
@@ -1384,15 +1041,8 @@
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__ (
+ disp__glOrtho (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -1419,15 +1069,8 @@
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__ (
+ disp__glFrustum (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -1452,15 +1095,8 @@
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__ (
+ disp__glViewport (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -1479,15 +1115,8 @@
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__ (
+ disp__glPushMatrix (
);
}
@@ -1502,15 +1131,8 @@
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__ (
+ disp__glPopMatrix (
);
}
@@ -1525,15 +1147,8 @@
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__ (
+ disp__glLoadIdentity (
);
}
@@ -1549,20 +1164,13 @@
JNIEnv *env, jobject obj,
jdoubleArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glLoadMatrixd", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(m!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
}
- __func_ptr__ (
+ disp__glLoadMatrixd (
(const GLdouble *) ptr0
);
@@ -1583,20 +1191,13 @@
JNIEnv *env, jobject obj,
jfloatArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glLoadMatrixf", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(m!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
}
- __func_ptr__ (
+ disp__glLoadMatrixf (
(const GLfloat *) ptr0
);
@@ -1617,20 +1218,13 @@
JNIEnv *env, jobject obj,
jdoubleArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glMultMatrixd", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(m!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
}
- __func_ptr__ (
+ disp__glMultMatrixd (
(const GLdouble *) ptr0
);
@@ -1651,20 +1245,13 @@
JNIEnv *env, jobject obj,
jfloatArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glMultMatrixf", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(m!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
}
- __func_ptr__ (
+ disp__glMultMatrixf (
(const GLfloat *) ptr0
);
@@ -1688,15 +1275,8 @@
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__ (
+ disp__glRotated (
(GLdouble) angle,
(GLdouble) x,
(GLdouble) y,
@@ -1719,15 +1299,8 @@
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__ (
+ disp__glRotatef (
(GLfloat) angle,
(GLfloat) x,
(GLfloat) y,
@@ -1749,15 +1322,8 @@
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__ (
+ disp__glScaled (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -1778,15 +1344,8 @@
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__ (
+ disp__glScalef (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -1807,15 +1366,8 @@
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__ (
+ disp__glTranslated (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -1836,15 +1388,8 @@
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__ (
+ disp__glTranslatef (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -1863,17 +1408,10 @@
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__ (
+ ret = (jboolean) disp__glIsList (
(GLuint) list
);
@@ -1892,15 +1430,8 @@
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__ (
+ disp__glDeleteLists (
(GLuint) list,
(GLsizei) range
);
@@ -1918,17 +1449,10 @@
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__ (
+ ret = (jint) disp__glGenLists (
(GLsizei) range
);
@@ -1947,15 +1471,8 @@
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__ (
+ disp__glNewList (
(GLuint) list,
(GLenum) mode
);
@@ -1972,15 +1489,8 @@
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__ (
+ disp__glEndList (
);
}
@@ -1996,15 +1506,8 @@
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__ (
+ disp__glCallList (
(GLuint) list
);
@@ -2023,20 +1526,13 @@
jint type,
jbyteArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2054,20 +1550,13 @@
jint type,
jshortArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2085,20 +1574,13 @@
jint type,
jintArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2116,20 +1598,13 @@
jint type,
jfloatArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2147,20 +1622,13 @@
jint type,
jdoubleArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2178,20 +1646,13 @@
jint type,
jbooleanArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2209,20 +1670,13 @@
jint type,
jlongArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2245,15 +1699,8 @@
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__ (
+ disp__glListBase (
(GLuint) base
);
@@ -2270,15 +1717,8 @@
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__ (
+ disp__glBegin (
(GLenum) mode
);
@@ -2294,15 +1734,8 @@
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__ (
+ disp__glEnd (
);
}
@@ -2319,15 +1752,8 @@
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__ (
+ disp__glVertex2d (
(GLdouble) x,
(GLdouble) y
);
@@ -2346,15 +1772,8 @@
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__ (
+ disp__glVertex2f (
(GLfloat) x,
(GLfloat) y
);
@@ -2373,15 +1792,8 @@
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__ (
+ disp__glVertex2i (
(GLint) x,
(GLint) y
);
@@ -2400,15 +1812,8 @@
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__ (
+ disp__glVertex2s (
(GLshort) x,
(GLshort) y
);
@@ -2428,15 +1833,8 @@
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__ (
+ disp__glVertex3d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -2457,15 +1855,8 @@
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__ (
+ disp__glVertex3f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -2486,15 +1877,8 @@
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__ (
+ disp__glVertex3i (
(GLint) x,
(GLint) y,
(GLint) z
@@ -2515,15 +1899,8 @@
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__ (
+ disp__glVertex3s (
(GLshort) x,
(GLshort) y,
(GLshort) z
@@ -2545,15 +1922,8 @@
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__ (
+ disp__glVertex4d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z,
@@ -2576,15 +1946,8 @@
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__ (
+ disp__glVertex4f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z,
@@ -2607,15 +1970,8 @@
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__ (
+ disp__glVertex4i (
(GLint) x,
(GLint) y,
(GLint) z,
@@ -2638,15 +1994,8 @@
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__ (
+ disp__glVertex4s (
(GLshort) x,
(GLshort) y,
(GLshort) z,
@@ -2666,20 +2015,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glVertex2dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex2dv (
(const GLdouble *) ptr0
);
@@ -2700,20 +2042,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glVertex2fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex2fv (
(const GLfloat *) ptr0
);
@@ -2734,20 +2069,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glVertex2iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex2iv (
(const GLint *) ptr0
);
@@ -2768,20 +2096,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glVertex2sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex2sv (
(const GLshort *) ptr0
);
@@ -2802,20 +2123,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glVertex3dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex3dv (
(const GLdouble *) ptr0
);
@@ -2836,20 +2150,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glVertex3fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex3fv (
(const GLfloat *) ptr0
);
@@ -2870,20 +2177,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glVertex3iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex3iv (
(const GLint *) ptr0
);
@@ -2904,20 +2204,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glVertex3sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex3sv (
(const GLshort *) ptr0
);
@@ -2938,20 +2231,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glVertex4dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex4dv (
(const GLdouble *) ptr0
);
@@ -2972,20 +2258,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glVertex4fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex4fv (
(const GLfloat *) ptr0
);
@@ -3006,20 +2285,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glVertex4iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex4iv (
(const GLint *) ptr0
);
@@ -3040,20 +2312,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glVertex4sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glVertex4sv (
(const GLshort *) ptr0
);
@@ -3076,15 +2341,8 @@
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__ (
+ disp__glNormal3b (
(GLbyte) nx,
(GLbyte) ny,
(GLbyte) nz
@@ -3105,15 +2363,8 @@
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__ (
+ disp__glNormal3d (
(GLdouble) nx,
(GLdouble) ny,
(GLdouble) nz
@@ -3134,15 +2385,8 @@
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__ (
+ disp__glNormal3f (
(GLfloat) nx,
(GLfloat) ny,
(GLfloat) nz
@@ -3163,15 +2407,8 @@
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__ (
+ disp__glNormal3i (
(GLint) nx,
(GLint) ny,
(GLint) nz
@@ -3192,15 +2429,8 @@
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__ (
+ disp__glNormal3s (
(GLshort) nx,
(GLshort) ny,
(GLshort) nz
@@ -3219,20 +2449,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLbyte *))
- getGLProcAddressHelper("glNormal3bv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glNormal3bv (
(const GLbyte *) ptr0
);
@@ -3253,20 +2476,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glNormal3dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glNormal3dv (
(const GLdouble *) ptr0
);
@@ -3287,20 +2503,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glNormal3fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glNormal3fv (
(const GLfloat *) ptr0
);
@@ -3321,20 +2530,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glNormal3iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glNormal3iv (
(const GLint *) ptr0
);
@@ -3355,20 +2557,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glNormal3sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glNormal3sv (
(const GLshort *) ptr0
);
@@ -3389,15 +2584,8 @@
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__ (
+ disp__glIndexd (
(GLdouble) c
);
@@ -3414,15 +2602,8 @@
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__ (
+ disp__glIndexf (
(GLfloat) c
);
@@ -3439,15 +2620,8 @@
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__ (
+ disp__glIndexi (
(GLint) c
);
@@ -3464,15 +2638,8 @@
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__ (
+ disp__glIndexs (
(GLshort) c
);
@@ -3489,15 +2656,8 @@
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__ (
+ disp__glIndexub (
(GLubyte) c
);
@@ -3514,20 +2674,13 @@
JNIEnv *env, jobject obj,
jdoubleArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glIndexdv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(c!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
}
- __func_ptr__ (
+ disp__glIndexdv (
(const GLdouble *) ptr0
);
@@ -3548,20 +2701,13 @@
JNIEnv *env, jobject obj,
jfloatArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glIndexfv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(c!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
}
- __func_ptr__ (
+ disp__glIndexfv (
(const GLfloat *) ptr0
);
@@ -3582,20 +2728,13 @@
JNIEnv *env, jobject obj,
jintArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glIndexiv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(c!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
}
- __func_ptr__ (
+ disp__glIndexiv (
(const GLint *) ptr0
);
@@ -3616,20 +2755,13 @@
JNIEnv *env, jobject obj,
jshortArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glIndexsv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(c!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
}
- __func_ptr__ (
+ disp__glIndexsv (
(const GLshort *) ptr0
);
@@ -3650,20 +2782,13 @@
JNIEnv *env, jobject obj,
jbyteArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLubyte *))
- getGLProcAddressHelper("glIndexubv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(c!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
}
- __func_ptr__ (
+ disp__glIndexubv (
(const GLubyte *) ptr0
);
@@ -3686,15 +2811,8 @@
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__ (
+ disp__glColor3b (
(GLbyte) red,
(GLbyte) green,
(GLbyte) blue
@@ -3715,15 +2833,8 @@
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__ (
+ disp__glColor3d (
(GLdouble) red,
(GLdouble) green,
(GLdouble) blue
@@ -3744,15 +2855,8 @@
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__ (
+ disp__glColor3f (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue
@@ -3773,15 +2877,8 @@
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__ (
+ disp__glColor3i (
(GLint) red,
(GLint) green,
(GLint) blue
@@ -3802,15 +2899,8 @@
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__ (
+ disp__glColor3s (
(GLshort) red,
(GLshort) green,
(GLshort) blue
@@ -3831,15 +2921,8 @@
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__ (
+ disp__glColor3ub (
(GLubyte) red,
(GLubyte) green,
(GLubyte) blue
@@ -3860,15 +2943,8 @@
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__ (
+ disp__glColor3ui (
(GLuint) red,
(GLuint) green,
(GLuint) blue
@@ -3889,15 +2965,8 @@
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__ (
+ disp__glColor3us (
(GLushort) red,
(GLushort) green,
(GLushort) blue
@@ -3919,15 +2988,8 @@
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__ (
+ disp__glColor4b (
(GLbyte) red,
(GLbyte) green,
(GLbyte) blue,
@@ -3950,15 +3012,8 @@
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__ (
+ disp__glColor4d (
(GLdouble) red,
(GLdouble) green,
(GLdouble) blue,
@@ -3981,15 +3036,8 @@
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__ (
+ disp__glColor4f (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue,
@@ -4012,15 +3060,8 @@
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__ (
+ disp__glColor4i (
(GLint) red,
(GLint) green,
(GLint) blue,
@@ -4043,15 +3084,8 @@
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__ (
+ disp__glColor4s (
(GLshort) red,
(GLshort) green,
(GLshort) blue,
@@ -4074,15 +3108,8 @@
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__ (
+ disp__glColor4ub (
(GLubyte) red,
(GLubyte) green,
(GLubyte) blue,
@@ -4105,15 +3132,8 @@
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__ (
+ disp__glColor4ui (
(GLuint) red,
(GLuint) green,
(GLuint) blue,
@@ -4136,15 +3156,8 @@
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__ (
+ disp__glColor4us (
(GLushort) red,
(GLushort) green,
(GLushort) blue,
@@ -4164,20 +3177,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLbyte *))
- getGLProcAddressHelper("glColor3bv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3bv (
(const GLbyte *) ptr0
);
@@ -4198,20 +3204,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glColor3dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3dv (
(const GLdouble *) ptr0
);
@@ -4232,20 +3231,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glColor3fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3fv (
(const GLfloat *) ptr0
);
@@ -4266,20 +3258,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glColor3iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3iv (
(const GLint *) ptr0
);
@@ -4300,20 +3285,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glColor3sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3sv (
(const GLshort *) ptr0
);
@@ -4334,20 +3312,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLubyte *))
- getGLProcAddressHelper("glColor3ubv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3ubv (
(const GLubyte *) ptr0
);
@@ -4368,20 +3339,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLuint *))
- getGLProcAddressHelper("glColor3uiv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3uiv (
(const GLuint *) ptr0
);
@@ -4402,20 +3366,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLushort *))
- getGLProcAddressHelper("glColor3usv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor3usv (
(const GLushort *) ptr0
);
@@ -4436,20 +3393,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLbyte *))
- getGLProcAddressHelper("glColor4bv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4bv (
(const GLbyte *) ptr0
);
@@ -4470,20 +3420,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glColor4dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4dv (
(const GLdouble *) ptr0
);
@@ -4504,20 +3447,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glColor4fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4fv (
(const GLfloat *) ptr0
);
@@ -4538,20 +3474,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glColor4iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4iv (
(const GLint *) ptr0
);
@@ -4572,20 +3501,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glColor4sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4sv (
(const GLshort *) ptr0
);
@@ -4606,20 +3528,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLubyte *))
- getGLProcAddressHelper("glColor4ubv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4ubv (
(const GLubyte *) ptr0
);
@@ -4640,20 +3555,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLuint *))
- getGLProcAddressHelper("glColor4uiv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4uiv (
(const GLuint *) ptr0
);
@@ -4674,20 +3582,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLushort *))
- getGLProcAddressHelper("glColor4usv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glColor4usv (
(const GLushort *) ptr0
);
@@ -4708,15 +3609,8 @@
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__ (
+ disp__glTexCoord1d (
(GLdouble) s
);
@@ -4733,15 +3627,8 @@
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__ (
+ disp__glTexCoord1f (
(GLfloat) s
);
@@ -4758,15 +3645,8 @@
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__ (
+ disp__glTexCoord1i (
(GLint) s
);
@@ -4783,15 +3663,8 @@
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__ (
+ disp__glTexCoord1s (
(GLshort) s
);
@@ -4809,15 +3682,8 @@
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__ (
+ disp__glTexCoord2d (
(GLdouble) s,
(GLdouble) t
);
@@ -4836,15 +3702,8 @@
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__ (
+ disp__glTexCoord2f (
(GLfloat) s,
(GLfloat) t
);
@@ -4863,15 +3722,8 @@
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__ (
+ disp__glTexCoord2i (
(GLint) s,
(GLint) t
);
@@ -4890,15 +3742,8 @@
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__ (
+ disp__glTexCoord2s (
(GLshort) s,
(GLshort) t
);
@@ -4918,15 +3763,8 @@
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__ (
+ disp__glTexCoord3d (
(GLdouble) s,
(GLdouble) t,
(GLdouble) r
@@ -4947,15 +3785,8 @@
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__ (
+ disp__glTexCoord3f (
(GLfloat) s,
(GLfloat) t,
(GLfloat) r
@@ -4976,15 +3807,8 @@
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__ (
+ disp__glTexCoord3i (
(GLint) s,
(GLint) t,
(GLint) r
@@ -5005,15 +3829,8 @@
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__ (
+ disp__glTexCoord3s (
(GLshort) s,
(GLshort) t,
(GLshort) r
@@ -5035,15 +3852,8 @@
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__ (
+ disp__glTexCoord4d (
(GLdouble) s,
(GLdouble) t,
(GLdouble) r,
@@ -5066,15 +3876,8 @@
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__ (
+ disp__glTexCoord4f (
(GLfloat) s,
(GLfloat) t,
(GLfloat) r,
@@ -5097,15 +3900,8 @@
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__ (
+ disp__glTexCoord4i (
(GLint) s,
(GLint) t,
(GLint) r,
@@ -5128,15 +3924,8 @@
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__ (
+ disp__glTexCoord4s (
(GLshort) s,
(GLshort) t,
(GLshort) r,
@@ -5156,20 +3945,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glTexCoord1dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1dv (
(const GLdouble *) ptr0
);
@@ -5190,20 +3972,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glTexCoord1fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1fv (
(const GLfloat *) ptr0
);
@@ -5224,20 +3999,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glTexCoord1iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1iv (
(const GLint *) ptr0
);
@@ -5258,20 +4026,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glTexCoord1sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1sv (
(const GLshort *) ptr0
);
@@ -5292,20 +4053,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glTexCoord2dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2dv (
(const GLdouble *) ptr0
);
@@ -5326,20 +4080,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glTexCoord2fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2fv (
(const GLfloat *) ptr0
);
@@ -5360,20 +4107,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glTexCoord2iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2iv (
(const GLint *) ptr0
);
@@ -5394,20 +4134,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glTexCoord2sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2sv (
(const GLshort *) ptr0
);
@@ -5428,20 +4161,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glTexCoord3dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3dv (
(const GLdouble *) ptr0
);
@@ -5462,20 +4188,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glTexCoord3fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3fv (
(const GLfloat *) ptr0
);
@@ -5496,20 +4215,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glTexCoord3iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3iv (
(const GLint *) ptr0
);
@@ -5530,20 +4242,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glTexCoord3sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3sv (
(const GLshort *) ptr0
);
@@ -5564,20 +4269,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glTexCoord4dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4dv (
(const GLdouble *) ptr0
);
@@ -5598,20 +4296,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glTexCoord4fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4fv (
(const GLfloat *) ptr0
);
@@ -5632,20 +4323,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glTexCoord4iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4iv (
(const GLint *) ptr0
);
@@ -5666,20 +4350,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glTexCoord4sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4sv (
(const GLshort *) ptr0
);
@@ -5701,15 +4378,8 @@
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__ (
+ disp__glRasterPos2d (
(GLdouble) x,
(GLdouble) y
);
@@ -5728,15 +4398,8 @@
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__ (
+ disp__glRasterPos2f (
(GLfloat) x,
(GLfloat) y
);
@@ -5755,15 +4418,8 @@
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__ (
+ disp__glRasterPos2i (
(GLint) x,
(GLint) y
);
@@ -5782,15 +4438,8 @@
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__ (
+ disp__glRasterPos2s (
(GLshort) x,
(GLshort) y
);
@@ -5810,15 +4459,8 @@
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__ (
+ disp__glRasterPos3d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -5839,15 +4481,8 @@
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__ (
+ disp__glRasterPos3f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -5868,15 +4503,8 @@
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__ (
+ disp__glRasterPos3i (
(GLint) x,
(GLint) y,
(GLint) z
@@ -5897,15 +4525,8 @@
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__ (
+ disp__glRasterPos3s (
(GLshort) x,
(GLshort) y,
(GLshort) z
@@ -5927,15 +4548,8 @@
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__ (
+ disp__glRasterPos4d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z,
@@ -5958,15 +4572,8 @@
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__ (
+ disp__glRasterPos4f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z,
@@ -5989,15 +4596,8 @@
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__ (
+ disp__glRasterPos4i (
(GLint) x,
(GLint) y,
(GLint) z,
@@ -6020,15 +4620,8 @@
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__ (
+ disp__glRasterPos4s (
(GLshort) x,
(GLshort) y,
(GLshort) z,
@@ -6048,20 +4641,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glRasterPos2dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2dv (
(const GLdouble *) ptr0
);
@@ -6082,20 +4668,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glRasterPos2fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2fv (
(const GLfloat *) ptr0
);
@@ -6116,20 +4695,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glRasterPos2iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2iv (
(const GLint *) ptr0
);
@@ -6150,20 +4722,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glRasterPos2sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2sv (
(const GLshort *) ptr0
);
@@ -6184,20 +4749,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glRasterPos3dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3dv (
(const GLdouble *) ptr0
);
@@ -6218,20 +4776,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glRasterPos3fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3fv (
(const GLfloat *) ptr0
);
@@ -6252,20 +4803,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glRasterPos3iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3iv (
(const GLint *) ptr0
);
@@ -6286,20 +4830,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glRasterPos3sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3sv (
(const GLshort *) ptr0
);
@@ -6320,20 +4857,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glRasterPos4dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4dv (
(const GLdouble *) ptr0
);
@@ -6354,20 +4884,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glRasterPos4fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4fv (
(const GLfloat *) ptr0
);
@@ -6388,20 +4911,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLint *))
- getGLProcAddressHelper("glRasterPos4iv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4iv (
(const GLint *) ptr0
);
@@ -6422,20 +4938,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLshort *))
- getGLProcAddressHelper("glRasterPos4sv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4sv (
(const GLshort *) ptr0
);
@@ -6459,15 +4968,8 @@
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__ (
+ disp__glRectd (
(GLdouble) x1,
(GLdouble) y1,
(GLdouble) x2,
@@ -6490,15 +4992,8 @@
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__ (
+ disp__glRectf (
(GLfloat) x1,
(GLfloat) y1,
(GLfloat) x2,
@@ -6521,15 +5016,8 @@
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__ (
+ disp__glRecti (
(GLint) x1,
(GLint) y1,
(GLint) x2,
@@ -6552,15 +5040,8 @@
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__ (
+ disp__glRects (
(GLshort) x1,
(GLshort) y1,
(GLshort) x2,
@@ -6581,16 +5062,9 @@
jdoubleArray v1,
jdoubleArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *, const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
jdouble *ptr1 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -6599,7 +5073,7 @@
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectdv (
(const GLdouble *) ptr0,
(const GLdouble *) ptr1
);
@@ -6626,16 +5100,9 @@
jfloatArray v1,
jfloatArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *, const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -6644,7 +5111,7 @@
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectfv (
(const GLfloat *) ptr0,
(const GLfloat *) ptr1
);
@@ -6671,16 +5138,9 @@
jintArray v1,
jintArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLint *, const GLint *) = NULL;
jint *ptr0 = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -6689,7 +5149,7 @@
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectiv (
(const GLint *) ptr0,
(const GLint *) ptr1
);
@@ -6716,16 +5176,9 @@
jshortArray v1,
jshortArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *, const GLshort *) = NULL;
jshort *ptr0 = NULL;
jshort *ptr1 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -6734,7 +5187,7 @@
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectsv (
(const GLshort *) ptr0,
(const GLshort *) ptr1
);
@@ -6763,20 +5216,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6796,20 +5242,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6829,20 +5268,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6862,20 +5294,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6895,20 +5320,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6928,20 +5346,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6961,20 +5372,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7000,20 +5404,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7031,20 +5428,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7062,20 +5452,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7093,20 +5476,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7124,20 +5500,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7155,20 +5524,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7186,20 +5548,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7225,20 +5580,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7258,20 +5606,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7291,20 +5632,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7324,20 +5658,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7357,20 +5684,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7390,20 +5710,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7423,20 +5736,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7462,20 +5768,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7493,20 +5792,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7524,20 +5816,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7555,20 +5840,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7586,20 +5864,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7617,20 +5888,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7648,20 +5912,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7687,20 +5944,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7720,20 +5970,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7753,20 +5996,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7786,20 +6022,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7819,20 +6048,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7852,20 +6074,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7885,20 +6100,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7923,20 +6131,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jbyte *ptr1 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -7952,20 +6153,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jshort *ptr1 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -7981,20 +6175,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8010,20 +6197,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8039,20 +6219,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jdouble *ptr1 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8068,20 +6241,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jboolean *ptr1 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8097,20 +6263,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jlong *ptr1 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8133,21 +6292,14 @@
jint pname,
jbyteArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8163,21 +6315,14 @@
jint pname,
jshortArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8193,21 +6338,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8223,21 +6361,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8253,21 +6384,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8283,21 +6407,14 @@
jint pname,
jbooleanArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8313,21 +6430,14 @@
jint pname,
jlongArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointerv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8349,15 +6459,8 @@
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__ (
+ disp__glArrayElement (
(GLint) i
);
@@ -8376,15 +6479,8 @@
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__ (
+ disp__glDrawArrays (
(GLenum) mode,
(GLint) first,
(GLsizei) count
@@ -8406,20 +6502,13 @@
jint type,
jbyteArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8439,20 +6528,13 @@
jint type,
jshortArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8472,20 +6554,13 @@
jint type,
jintArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8505,20 +6580,13 @@
jint type,
jfloatArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8538,20 +6606,13 @@
jint type,
jdoubleArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8571,20 +6632,13 @@
jint type,
jbooleanArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8604,20 +6658,13 @@
jint type,
jlongArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8643,20 +6690,13 @@
jint stride,
jbyteArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8674,20 +6714,13 @@
jint stride,
jshortArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8705,20 +6738,13 @@
jint stride,
jintArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8736,20 +6762,13 @@
jint stride,
jfloatArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8767,20 +6786,13 @@
jint stride,
jdoubleArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8798,20 +6810,13 @@
jint stride,
jbooleanArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8829,20 +6834,13 @@
jint stride,
jlongArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8865,15 +6863,8 @@
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__ (
+ disp__glShadeModel (
(GLenum) mode
);
@@ -8892,15 +6883,8 @@
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__ (
+ disp__glLightf (
(GLenum) light,
(GLenum) pname,
(GLfloat) param
@@ -8921,15 +6905,8 @@
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__ (
+ disp__glLighti (
(GLenum) light,
(GLenum) pname,
(GLint) param
@@ -8950,20 +6927,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glLightfv (
(GLenum) light,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -8988,20 +6958,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glLightiv (
(GLenum) light,
(GLenum) pname,
(const GLint *) ptr2
@@ -9026,21 +6989,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetLightfv (
(GLenum) light,
(GLenum) pname,
(GLfloat *) ptr2
@@ -9065,21 +7021,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetLightiv (
(GLenum) light,
(GLenum) pname,
(GLint *) ptr2
@@ -9103,15 +7052,8 @@
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__ (
+ disp__glLightModelf (
(GLenum) pname,
(GLfloat) param
);
@@ -9130,15 +7072,8 @@
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__ (
+ disp__glLightModeli (
(GLenum) pname,
(GLint) param
);
@@ -9157,20 +7092,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glLightModelfv (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -9193,20 +7121,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glLightModeliv (
(GLenum) pname,
(const GLint *) ptr1
);
@@ -9230,15 +7151,8 @@
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__ (
+ disp__glMaterialf (
(GLenum) face,
(GLenum) pname,
(GLfloat) param
@@ -9259,15 +7173,8 @@
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__ (
+ disp__glMateriali (
(GLenum) face,
(GLenum) pname,
(GLint) param
@@ -9288,20 +7195,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glMaterialfv (
(GLenum) face,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -9326,20 +7226,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glMaterialiv (
(GLenum) face,
(GLenum) pname,
(const GLint *) ptr2
@@ -9364,21 +7257,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetMaterialfv (
(GLenum) face,
(GLenum) pname,
(GLfloat *) ptr2
@@ -9403,21 +7289,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetMaterialiv (
(GLenum) face,
(GLenum) pname,
(GLint *) ptr2
@@ -9441,15 +7320,8 @@
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__ (
+ disp__glColorMaterial (
(GLenum) face,
(GLenum) mode
);
@@ -9468,15 +7340,8 @@
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__ (
+ disp__glPixelZoom (
(GLfloat) xfactor,
(GLfloat) yfactor
);
@@ -9495,15 +7360,8 @@
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__ (
+ disp__glPixelStoref (
(GLenum) pname,
(GLfloat) param
);
@@ -9522,15 +7380,8 @@
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__ (
+ disp__glPixelStorei (
(GLenum) pname,
(GLint) param
);
@@ -9549,15 +7400,8 @@
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__ (
+ disp__glPixelTransferf (
(GLenum) pname,
(GLfloat) param
);
@@ -9576,15 +7420,8 @@
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__ (
+ disp__glPixelTransferi (
(GLenum) pname,
(GLint) param
);
@@ -9604,20 +7441,13 @@
jint mapsize,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
}
- __func_ptr__ (
+ disp__glPixelMapfv (
(GLenum) map,
(GLint) mapsize,
(const GLfloat *) ptr2
@@ -9642,20 +7472,13 @@
jint mapsize,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLuint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
}
- __func_ptr__ (
+ disp__glPixelMapuiv (
(GLenum) map,
(GLint) mapsize,
(const GLuint *) ptr2
@@ -9680,20 +7503,13 @@
jint mapsize,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLushort *) = NULL;
jshort *ptr2 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
}
- __func_ptr__ (
+ disp__glPixelMapusv (
(GLenum) map,
(GLint) mapsize,
(const GLushort *) ptr2
@@ -9717,21 +7533,14 @@
jint map,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *))
- getGLProcAddressHelper("glGetPixelMapfv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(values!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPixelMapfv (
(GLenum) map,
(GLfloat *) ptr1
);
@@ -9754,21 +7563,14 @@
jint map,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint *))
- getGLProcAddressHelper("glGetPixelMapuiv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(values!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPixelMapuiv (
(GLenum) map,
(GLuint *) ptr1
);
@@ -9791,21 +7593,14 @@
jint map,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLushort *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, GLushort *))
- getGLProcAddressHelper("glGetPixelMapusv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(values!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPixelMapusv (
(GLenum) map,
(GLushort *) ptr1
);
@@ -9833,20 +7628,13 @@
jfloat ymove,
jbyteArray bitmap)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL;
jbyte *ptr6 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, 0);
}
- __func_ptr__ (
+ disp__glBitmap (
(GLsizei) width,
(GLsizei) height,
(GLfloat) xorig,
@@ -9879,21 +7667,14 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jbyte *ptr6 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -9919,21 +7700,14 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jshort *ptr6 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -9959,21 +7733,14 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jint *ptr6 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -9999,21 +7766,14 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jfloat *ptr6 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10039,21 +7799,14 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jdouble *ptr6 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10079,21 +7832,14 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jboolean *ptr6 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10119,21 +7865,14 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jlong *ptr6 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10164,20 +7903,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10199,20 +7931,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10234,20 +7959,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10269,20 +7987,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10304,20 +8015,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10339,20 +8043,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10374,20 +8071,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10416,15 +8106,8 @@
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__ (
+ disp__glCopyPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10447,15 +8130,8 @@
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__ (
+ disp__glStencilFunc (
(GLenum) func,
(GLint) ref,
(GLuint) mask
@@ -10474,15 +8150,8 @@
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__ (
+ disp__glStencilMask (
(GLuint) mask
);
@@ -10501,15 +8170,8 @@
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__ (
+ disp__glStencilOp (
(GLenum) fail,
(GLenum) zfail,
(GLenum) zpass
@@ -10528,15 +8190,8 @@
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__ (
+ disp__glClearStencil (
(GLint) s
);
@@ -10555,15 +8210,8 @@
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__ (
+ disp__glTexGend (
(GLenum) coord,
(GLenum) pname,
(GLdouble) param
@@ -10584,15 +8232,8 @@
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__ (
+ disp__glTexGenf (
(GLenum) coord,
(GLenum) pname,
(GLfloat) param
@@ -10613,15 +8254,8 @@
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__ (
+ disp__glTexGeni (
(GLenum) coord,
(GLenum) pname,
(GLint) param
@@ -10642,20 +8276,13 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLdouble *) = NULL;
jdouble *ptr2 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glTexGendv (
(GLenum) coord,
(GLenum) pname,
(const GLdouble *) ptr2
@@ -10680,20 +8307,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glTexGenfv (
(GLenum) coord,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -10718,20 +8338,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glTexGeniv (
(GLenum) coord,
(GLenum) pname,
(const GLint *) ptr2
@@ -10756,21 +8369,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetTexGendv (
(GLenum) coord,
(GLenum) pname,
(GLdouble *) ptr2
@@ -10795,21 +8401,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetTexGenfv (
(GLenum) coord,
(GLenum) pname,
(GLfloat *) ptr2
@@ -10834,21 +8433,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetTexGeniv (
(GLenum) coord,
(GLenum) pname,
(GLint *) ptr2
@@ -10873,15 +8465,8 @@
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__ (
+ disp__glTexEnvf (
(GLenum) target,
(GLenum) pname,
(GLfloat) param
@@ -10902,15 +8487,8 @@
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__ (
+ disp__glTexEnvi (
(GLenum) target,
(GLenum) pname,
(GLint) param
@@ -10931,20 +8509,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glTexEnvfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -10969,20 +8540,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glTexEnviv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -11007,21 +8571,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetTexEnvfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -11046,21 +8603,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetTexEnviv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -11085,15 +8635,8 @@
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__ (
+ disp__glTexParameterf (
(GLenum) target,
(GLenum) pname,
(GLfloat) param
@@ -11114,15 +8657,8 @@
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__ (
+ disp__glTexParameteri (
(GLenum) target,
(GLenum) pname,
(GLint) param
@@ -11143,20 +8679,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glTexParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -11181,20 +8710,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glTexParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -11219,21 +8741,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetTexParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -11258,21 +8773,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetTexParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -11298,21 +8806,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetTexLevelParameterfv (
(GLenum) target,
(GLint) level,
(GLenum) pname,
@@ -11339,21 +8840,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetTexLevelParameteriv (
(GLenum) target,
(GLint) level,
(GLenum) pname,
@@ -11384,20 +8878,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr7 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11425,20 +8912,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr7 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11466,20 +8946,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr7 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11507,20 +8980,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr7 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11548,20 +9014,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr7 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11589,20 +9048,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr7 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11630,20 +9082,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr7 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11679,20 +9124,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr8 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11722,20 +9160,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr8 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11765,20 +9196,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr8 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11808,20 +9232,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr8 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11851,20 +9268,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr8 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11894,20 +9304,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr8 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11937,20 +9340,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr8 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11983,21 +9379,14 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12019,21 +9408,14 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12055,21 +9437,14 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12091,21 +9466,14 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12127,21 +9495,14 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12163,21 +9524,14 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12199,21 +9553,14 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12239,21 +9586,14 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *))
- getGLProcAddressHelper("glGenTextures", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGenTextures (
(GLsizei) n,
(GLuint *) ptr1
);
@@ -12276,20 +9616,13 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
}
- __func_ptr__ (
+ disp__glDeleteTextures (
(GLsizei) n,
(const GLuint *) ptr1
);
@@ -12312,15 +9645,8 @@
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__ (
+ disp__glBindTexture (
(GLenum) target,
(GLuint) texture
);
@@ -12340,16 +9666,9 @@
jintArray textures,
jfloatArray priorities)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL;
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -12358,7 +9677,7 @@
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0);
}
- __func_ptr__ (
+ disp__glPrioritizeTextures (
(GLsizei) n,
(const GLuint *) ptr1,
(const GLclampf *) ptr2
@@ -12387,19 +9706,12 @@
jintArray textures,
jbooleanArray residences)
{
- static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL;
jboolean ret;
jint *ptr1 = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -12408,7 +9720,7 @@
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2);
}
- ret = (jboolean) __func_ptr__ (
+ ret = (jboolean) disp__glAreTexturesResident (
(GLsizei) n,
(const GLuint *) ptr1,
(GLboolean *) ptr2
@@ -12436,17 +9748,10 @@
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__ (
+ ret = (jboolean) disp__glIsTexture (
(GLuint) texture
);
@@ -12470,20 +9775,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr6 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12509,20 +9807,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr6 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12548,20 +9839,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr6 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12587,20 +9871,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr6 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12626,20 +9903,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr6 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12665,20 +9935,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr6 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12704,20 +9967,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr6 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12752,20 +10008,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr8 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12795,20 +10044,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr8 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12838,20 +10080,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr8 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12881,20 +10116,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr8 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12924,20 +10152,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr8 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12967,20 +10188,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr8 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13010,20 +10224,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr8 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13058,15 +10265,8 @@
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__ (
+ disp__glCopyTexImage1D (
(GLenum) target,
(GLint) level,
(GLenum) internalformat,
@@ -13096,15 +10296,8 @@
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__ (
+ disp__glCopyTexImage2D (
(GLenum) target,
(GLint) level,
(GLenum) internalformat,
@@ -13133,15 +10326,8 @@
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__ (
+ disp__glCopyTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13170,15 +10356,8 @@
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__ (
+ disp__glCopyTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13207,20 +10386,13 @@
jint order,
jdoubleArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
}
- __func_ptr__ (
+ disp__glMap1d (
(GLenum) target,
(GLdouble) u1,
(GLdouble) u2,
@@ -13251,20 +10423,13 @@
jint order,
jfloatArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
}
- __func_ptr__ (
+ disp__glMap1f (
(GLenum) target,
(GLfloat) u1,
(GLfloat) u2,
@@ -13299,20 +10464,13 @@
jint vorder,
jdoubleArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL;
jdouble *ptr9 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
}
- __func_ptr__ (
+ disp__glMap2d (
(GLenum) target,
(GLdouble) u1,
(GLdouble) u2,
@@ -13351,20 +10509,13 @@
jint vorder,
jfloatArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL;
jfloat *ptr9 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
}
- __func_ptr__ (
+ disp__glMap2f (
(GLenum) target,
(GLfloat) u1,
(GLfloat) u2,
@@ -13396,21 +10547,14 @@
jint query,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetMapdv (
(GLenum) target,
(GLenum) query,
(GLdouble *) ptr2
@@ -13435,21 +10579,14 @@
jint query,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetMapfv (
(GLenum) target,
(GLenum) query,
(GLfloat *) ptr2
@@ -13474,21 +10611,14 @@
jint query,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetMapiv (
(GLenum) target,
(GLenum) query,
(GLint *) ptr2
@@ -13511,15 +10641,8 @@
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__ (
+ disp__glEvalCoord1d (
(GLdouble) u
);
@@ -13536,15 +10659,8 @@
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__ (
+ disp__glEvalCoord1f (
(GLfloat) u
);
@@ -13561,20 +10677,13 @@
JNIEnv *env, jobject obj,
jdoubleArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glEvalCoord1dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(u!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord1dv (
(const GLdouble *) ptr0
);
@@ -13595,20 +10704,13 @@
JNIEnv *env, jobject obj,
jfloatArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glEvalCoord1fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(u!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord1fv (
(const GLfloat *) ptr0
);
@@ -13630,15 +10732,8 @@
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__ (
+ disp__glEvalCoord2d (
(GLdouble) u,
(GLdouble) v
);
@@ -13657,15 +10752,8 @@
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__ (
+ disp__glEvalCoord2f (
(GLfloat) u,
(GLfloat) v
);
@@ -13683,20 +10771,13 @@
JNIEnv *env, jobject obj,
jdoubleArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLdouble *))
- getGLProcAddressHelper("glEvalCoord2dv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(u!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord2dv (
(const GLdouble *) ptr0
);
@@ -13717,20 +10798,13 @@
JNIEnv *env, jobject obj,
jfloatArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(const GLfloat *))
- getGLProcAddressHelper("glEvalCoord2fv", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(u!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord2fv (
(const GLfloat *) ptr0
);
@@ -13753,15 +10827,8 @@
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__ (
+ disp__glMapGrid1d (
(GLint) un,
(GLdouble) u1,
(GLdouble) u2
@@ -13782,15 +10849,8 @@
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__ (
+ disp__glMapGrid1f (
(GLint) un,
(GLfloat) u1,
(GLfloat) u2
@@ -13814,15 +10874,8 @@
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__ (
+ disp__glMapGrid2d (
(GLint) un,
(GLdouble) u1,
(GLdouble) u2,
@@ -13849,15 +10902,8 @@
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__ (
+ disp__glMapGrid2f (
(GLint) un,
(GLfloat) u1,
(GLfloat) u2,
@@ -13879,15 +10925,8 @@
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__ (
+ disp__glEvalPoint1 (
(GLint) i
);
@@ -13905,15 +10944,8 @@
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__ (
+ disp__glEvalPoint2 (
(GLint) i,
(GLint) j
);
@@ -13933,15 +10965,8 @@
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__ (
+ disp__glEvalMesh1 (
(GLenum) mode,
(GLint) i1,
(GLint) i2
@@ -13964,15 +10989,8 @@
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__ (
+ disp__glEvalMesh2 (
(GLenum) mode,
(GLint) i1,
(GLint) i2,
@@ -13994,15 +11012,8 @@
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__ (
+ disp__glFogf (
(GLenum) pname,
(GLfloat) param
);
@@ -14021,15 +11032,8 @@
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__ (
+ disp__glFogi (
(GLenum) pname,
(GLint) param
);
@@ -14048,20 +11052,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glFogfv (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -14084,20 +11081,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glFogiv (
(GLenum) pname,
(const GLint *) ptr1
);
@@ -14121,21 +11111,14 @@
jint type,
jfloatArray buffer)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glFeedbackBuffer (
(GLsizei) size,
(GLenum) type,
(GLfloat *) ptr2
@@ -14158,15 +11141,8 @@
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__ (
+ disp__glPassThrough (
(GLfloat) token
);
@@ -14184,21 +11160,14 @@
jint size,
jintArray buffer)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *))
- getGLProcAddressHelper("glSelectBuffer", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(buffer!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glSelectBuffer (
(GLsizei) size,
(GLuint *) ptr1
);
@@ -14219,15 +11188,8 @@
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__ (
+ disp__glInitNames (
);
}
@@ -14243,15 +11205,8 @@
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__ (
+ disp__glLoadName (
(GLuint) name
);
@@ -14268,15 +11223,8 @@
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__ (
+ disp__glPushName (
(GLuint) name
);
@@ -14292,15 +11240,8 @@
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__ (
+ disp__glPopName (
);
}
@@ -14321,20 +11262,13 @@
jint type,
jbyteArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14358,20 +11292,13 @@
jint type,
jshortArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14395,20 +11322,13 @@
jint type,
jintArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14432,20 +11352,13 @@
jint type,
jfloatArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14469,20 +11382,13 @@
jint type,
jdoubleArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14506,20 +11412,13 @@
jint type,
jbooleanArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14543,20 +11442,13 @@
jint type,
jlongArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14591,20 +11483,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr9 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14636,20 +11521,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr9 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14681,20 +11559,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr9 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14726,20 +11597,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr9 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14771,20 +11635,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr9 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14816,20 +11673,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr9 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14861,20 +11711,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr9 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14914,20 +11757,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr10 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14961,20 +11797,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr10 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15008,20 +11837,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr10 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15055,20 +11877,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr10 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15102,20 +11917,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr10 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15149,20 +11957,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr10 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15196,20 +11997,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr10 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15248,15 +12042,8 @@
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__ (
+ disp__glCopyTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15286,20 +12073,13 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15323,20 +12103,13 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15360,20 +12133,13 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15397,20 +12163,13 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15434,20 +12193,13 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15471,20 +12223,13 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15508,20 +12253,13 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15552,20 +12290,13 @@
jint type,
jbyteArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15589,20 +12320,13 @@
jint type,
jshortArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15626,20 +12350,13 @@
jint type,
jintArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15663,20 +12380,13 @@
jint type,
jfloatArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15700,20 +12410,13 @@
jint type,
jdoubleArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15737,20 +12440,13 @@
jint type,
jbooleanArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15774,20 +12470,13 @@
jint type,
jlongArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15815,20 +12504,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glColorTableParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -15853,20 +12535,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glColorTableParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -15893,15 +12568,8 @@
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__ (
+ disp__glCopyColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLint) x,
@@ -15926,15 +12594,8 @@
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__ (
+ disp__glCopyColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -15958,21 +12619,14 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -15992,21 +12646,14 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16026,21 +12673,14 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16060,21 +12700,14 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16094,21 +12727,14 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16128,21 +12754,14 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16162,21 +12781,14 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16202,21 +12814,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetColorTableParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -16241,21 +12846,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetColorTableParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -16278,15 +12876,8 @@
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__ (
+ disp__glBlendEquation (
(GLenum) mode
);
@@ -16306,15 +12897,8 @@
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__ (
+ disp__glBlendColor (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -16337,15 +12921,8 @@
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__ (
+ disp__glHistogram (
(GLenum) target,
(GLsizei) width,
(GLenum) internalformat,
@@ -16365,15 +12942,8 @@
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__ (
+ disp__glResetHistogram (
(GLenum) target
);
@@ -16394,21 +12964,14 @@
jint type,
jbyteArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16430,21 +12993,14 @@
jint type,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16466,21 +13022,14 @@
jint type,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16502,21 +13051,14 @@
jint type,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16538,21 +13080,14 @@
jint type,
jdoubleArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16574,21 +13109,14 @@
jint type,
jbooleanArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16610,21 +13138,14 @@
jint type,
jlongArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16651,21 +13172,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetHistogramParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -16690,21 +13204,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetHistogramParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -16729,15 +13236,8 @@
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__ (
+ disp__glMinmax (
(GLenum) target,
(GLenum) internalformat,
(GLboolean) sink
@@ -16756,15 +13256,8 @@
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__ (
+ disp__glResetMinmax (
(GLenum) target
);
@@ -16785,21 +13278,14 @@
jint types,
jbyteArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16821,21 +13307,14 @@
jint types,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16857,21 +13336,14 @@
jint types,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16893,21 +13365,14 @@
jint types,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16929,21 +13394,14 @@
jint types,
jdoubleArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16965,21 +13423,14 @@
jint types,
jbooleanArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -17001,21 +13452,14 @@
jint types,
jlongArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -17042,21 +13486,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetMinmaxParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -17081,21 +13518,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetMinmaxParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -17123,20 +13553,13 @@
jint type,
jbyteArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17160,20 +13583,13 @@
jint type,
jshortArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17197,20 +13613,13 @@
jint type,
jintArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17234,20 +13643,13 @@
jint type,
jfloatArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17271,20 +13673,13 @@
jint type,
jdoubleArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17308,20 +13703,13 @@
jint type,
jbooleanArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17345,20 +13733,13 @@
jint type,
jlongArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17390,20 +13771,13 @@
jint type,
jbyteArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr6 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17429,20 +13803,13 @@
jint type,
jshortArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr6 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17468,20 +13835,13 @@
jint type,
jintArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr6 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17507,20 +13867,13 @@
jint type,
jfloatArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr6 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17546,20 +13899,13 @@
jint type,
jdoubleArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr6 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17585,20 +13931,13 @@
jint type,
jbooleanArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr6 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17624,20 +13963,13 @@
jint type,
jlongArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr6 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17666,15 +13998,8 @@
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__ (
+ disp__glConvolutionParameterf (
(GLenum) target,
(GLenum) pname,
(GLfloat) params
@@ -17695,20 +14020,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glConvolutionParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -17733,15 +14051,8 @@
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__ (
+ disp__glConvolutionParameteri (
(GLenum) target,
(GLenum) pname,
(GLint) params
@@ -17762,20 +14073,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glConvolutionParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -17802,15 +14106,8 @@
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__ (
+ disp__glCopyConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -17836,15 +14133,8 @@
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__ (
+ disp__glCopyConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -17869,21 +14159,14 @@
jint type,
jbyteArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17903,21 +14186,14 @@
jint type,
jshortArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17937,21 +14213,14 @@
jint type,
jintArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17971,21 +14240,14 @@
jint type,
jfloatArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18005,21 +14267,14 @@
jint type,
jdoubleArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18039,21 +14294,14 @@
jint type,
jbooleanArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18073,21 +14321,14 @@
jint type,
jlongArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18113,21 +14354,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetConvolutionParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -18152,21 +14386,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetConvolutionParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -18196,16 +14423,9 @@
jbyteArray row,
jbyteArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jbyte *ptr6 = NULL;
jbyte *ptr7 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -18214,7 +14434,7 @@
{
ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18246,16 +14466,9 @@
jshortArray row,
jshortArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jshort *ptr6 = NULL;
jshort *ptr7 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -18264,7 +14477,7 @@
{
ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18296,16 +14509,9 @@
jintArray row,
jintArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jint *ptr6 = NULL;
jint *ptr7 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -18314,7 +14520,7 @@
{
ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18346,16 +14552,9 @@
jfloatArray row,
jfloatArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jfloat *ptr6 = NULL;
jfloat *ptr7 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -18364,7 +14563,7 @@
{
ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18396,16 +14595,9 @@
jdoubleArray row,
jdoubleArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jdouble *ptr6 = NULL;
jdouble *ptr7 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -18414,7 +14606,7 @@
{
ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18446,16 +14638,9 @@
jbooleanArray row,
jbooleanArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jboolean *ptr6 = NULL;
jboolean *ptr7 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -18464,7 +14649,7 @@
{
ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18496,16 +14681,9 @@
jlongArray row,
jlongArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jlong *ptr6 = NULL;
jlong *ptr7 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -18514,7 +14692,7 @@
{
ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18551,7 +14729,6 @@
jbyteArray column,
jbyteArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18559,12 +14736,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jbyte *ptr5 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -18577,7 +14748,7 @@
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18609,7 +14780,6 @@
jshortArray column,
jshortArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18617,12 +14787,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jshort *ptr5 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -18635,7 +14799,7 @@
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18667,7 +14831,6 @@
jintArray column,
jintArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18675,12 +14838,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jint *ptr5 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -18693,7 +14850,7 @@
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18725,7 +14882,6 @@
jfloatArray column,
jfloatArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18733,12 +14889,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -18751,7 +14901,7 @@
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18783,7 +14933,6 @@
jdoubleArray column,
jdoubleArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18791,12 +14940,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -18809,7 +14952,7 @@
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18841,7 +14984,6 @@
jbooleanArray column,
jbooleanArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18849,12 +14991,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jboolean *ptr5 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -18867,7 +15003,7 @@
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18899,7 +15035,6 @@
jlongArray column,
jlongArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18907,12 +15042,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jlong *ptr5 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -18925,7 +15054,7 @@
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18962,15 +15091,8 @@
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__ (
+ disp__glBlendColorEXT (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -18991,15 +15113,8 @@
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__ (
+ disp__glPolygonOffsetEXT (
(GLfloat) factor,
(GLfloat) bias
);
@@ -19026,20 +15141,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr9 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19071,20 +15179,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr9 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19116,20 +15217,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr9 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19161,20 +15255,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr9 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19206,20 +15293,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr9 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19251,20 +15331,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr9 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19296,20 +15369,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr9 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19349,20 +15415,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr10 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19396,20 +15455,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr10 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19443,20 +15495,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr10 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19490,20 +15535,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr10 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19537,20 +15575,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr10 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19584,20 +15615,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr10 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19631,20 +15655,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr10 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19683,15 +15700,8 @@
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__ (
+ disp__glCopyTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19717,21 +15727,14 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *))
- getGLProcAddressHelper("glGenTexturesEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGenTexturesEXT (
(GLsizei) n,
(GLuint *) ptr1
);
@@ -19754,20 +15757,13 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
}
- __func_ptr__ (
+ disp__glDeleteTexturesEXT (
(GLsizei) n,
(const GLuint *) ptr1
);
@@ -19790,15 +15786,8 @@
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__ (
+ disp__glBindTextureEXT (
(GLenum) target,
(GLuint) texture
);
@@ -19818,16 +15807,9 @@
jintArray textures,
jfloatArray priorities)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL;
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -19836,7 +15818,7 @@
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0);
}
- __func_ptr__ (
+ disp__glPrioritizeTexturesEXT (
(GLsizei) n,
(const GLuint *) ptr1,
(const GLclampf *) ptr2
@@ -19865,19 +15847,12 @@
jintArray textures,
jbooleanArray residences)
{
- static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL;
jboolean ret;
jint *ptr1 = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -19886,7 +15861,7 @@
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2);
}
- ret = (jboolean) __func_ptr__ (
+ ret = (jboolean) disp__glAreTexturesResidentEXT (
(GLsizei) n,
(const GLuint *) ptr1,
(GLboolean *) ptr2
@@ -19914,17 +15889,10 @@
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__ (
+ ret = (jboolean) disp__glIsTextureEXT (
(GLuint) texture
);
@@ -19946,20 +15914,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -19981,20 +15942,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20016,20 +15970,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20051,20 +15998,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20086,20 +16026,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20121,20 +16054,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20156,20 +16082,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20197,20 +16116,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20230,20 +16142,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20263,20 +16168,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20296,20 +16194,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20329,20 +16220,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20362,20 +16246,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20395,20 +16272,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20436,20 +16306,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20471,20 +16334,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20506,20 +16362,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20541,20 +16390,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20576,20 +16418,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20611,20 +16446,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20646,20 +16474,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20687,20 +16508,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20720,20 +16534,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20753,20 +16560,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20786,20 +16586,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20819,20 +16612,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20852,20 +16638,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20885,20 +16664,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20926,20 +16698,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20961,20 +16726,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20996,20 +16754,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21031,20 +16782,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21066,20 +16810,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21101,20 +16838,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21136,20 +16866,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21176,20 +16899,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, const GLboolean *) = NULL;
jboolean *ptr2 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointerEXT (
(GLsizei) stride,
(GLsizei) count,
(const GLboolean *) ptr2
@@ -21213,21 +16929,14 @@
jint pname,
jbyteArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21243,21 +16952,14 @@
jint pname,
jshortArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21273,21 +16975,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21303,21 +16998,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21333,21 +17021,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21363,21 +17044,14 @@
jint pname,
jbooleanArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21393,21 +17067,14 @@
jint pname,
jlongArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
- if(__func_ptr__==NULL) {
- __func_ptr__ = (void (CALLBACK *)(GLenum, void **))
- getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0);
- if(__func_ptr__==NULL)
- return;
- }
if(params!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21429,15 +17096,8 @@
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__ (
+ disp__glArrayElementEXT (
(GLint) i
);
@@ -21456,15 +17116,8 @@
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__ (
+ disp__glDrawArraysEXT (
(GLenum) mode,
(GLint) first,
(GLsizei) count
@@ -21483,15 +17136,8 @@
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__ (
+ disp__glBlendEquationEXT (
(GLenum) mode
);
@@ -21509,15 +17155,8 @@
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__ (
+ disp__glPointParameterfEXT (
(GLenum) pname,
(GLfloat) param
);
@@ -21536,20 +17175,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
}
- __func_ptr__ (
+ disp__glPointParameterfvEXT (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -21576,20 +17208,13 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21613,20 +17238,13 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21650,20 +17268,13 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21687,20 +17298,13 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21724,20 +17328,13 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21761,20 +17358,13 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21798,20 +17388,13 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21842,20 +17425,13 @@
jint type,
jbyteArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21879,20 +17455,13 @@
jint type,
jshortArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21916,20 +17485,13 @@
jint type,
jintArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21953,20 +17515,13 @@
jint type,
jfloatArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21990,20 +17545,13 @@
jint type,
jdoubleArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -22027,20 +17575,13 @@
jint type,
jbooleanArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -22064,20 +17605,13 @@
jint type,
jlongArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -22106,21 +17640,14 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
- 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22140,21 +17667,14 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22174,21 +17694,14 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22208,21 +17721,14 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22242,21 +17748,14 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22276,21 +17775,14 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
- 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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22310,21 +17802,14 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
- 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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22350,21 +17835,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetColorTableParameterfvEXT (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -22389,21 +17867,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
}
- __func_ptr__ (
+ disp__glGetColorTableParameterivEXT (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -22427,15 +17898,8 @@
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__ (
+ disp__glLockArraysEXT (
(GLint) first,
(GLsizei) count
);
@@ -22452,15 +17916,8 @@
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__ (
+ disp__glUnlockArraysEXT (
);
}
@@ -22476,15 +17933,8 @@
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__ (
+ disp__glActiveTextureARB (
(GLenum) texture
);
@@ -22501,15 +17951,8 @@
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__ (
+ disp__glClientActiveTextureARB (
(GLenum) texture
);
@@ -22527,15 +17970,8 @@
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__ (
+ disp__glMultiTexCoord1dARB (
(GLenum) target,
(GLdouble) s
);
@@ -22554,20 +17990,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -22590,15 +18019,8 @@
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__ (
+ disp__glMultiTexCoord1fARB (
(GLenum) target,
(GLfloat) s
);
@@ -22617,20 +18039,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -22653,15 +18068,8 @@
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__ (
+ disp__glMultiTexCoord1iARB (
(GLenum) target,
(GLint) s
);
@@ -22680,20 +18088,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -22716,15 +18117,8 @@
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__ (
+ disp__glMultiTexCoord1sARB (
(GLenum) target,
(GLshort) s
);
@@ -22743,20 +18137,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -22780,15 +18167,8 @@
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__ (
+ disp__glMultiTexCoord2dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t
@@ -22808,20 +18188,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -22845,15 +18218,8 @@
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__ (
+ disp__glMultiTexCoord2fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t
@@ -22873,20 +18239,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -22910,15 +18269,8 @@
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__ (
+ disp__glMultiTexCoord2iARB (
(GLenum) target,
(GLint) s,
(GLint) t
@@ -22938,20 +18290,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -22975,15 +18320,8 @@
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__ (
+ disp__glMultiTexCoord2sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t
@@ -23003,20 +18341,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -23041,15 +18372,8 @@
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__ (
+ disp__glMultiTexCoord3dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t,
@@ -23070,20 +18394,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -23108,15 +18425,8 @@
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__ (
+ disp__glMultiTexCoord3fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t,
@@ -23137,20 +18447,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -23175,15 +18478,8 @@
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__ (
+ disp__glMultiTexCoord3iARB (
(GLenum) target,
(GLint) s,
(GLint) t,
@@ -23204,20 +18500,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -23242,15 +18531,8 @@
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__ (
+ disp__glMultiTexCoord3sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t,
@@ -23271,20 +18553,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -23310,15 +18585,8 @@
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__ (
+ disp__glMultiTexCoord4dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t,
@@ -23340,20 +18608,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -23379,15 +18640,8 @@
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__ (
+ disp__glMultiTexCoord4fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t,
@@ -23409,20 +18663,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -23448,15 +18695,8 @@
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__ (
+ disp__glMultiTexCoord4iARB (
(GLenum) target,
(GLint) s,
(GLint) t,
@@ -23478,20 +18718,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -23517,15 +18750,8 @@
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__ (
+ disp__glMultiTexCoord4sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t,
@@ -23547,20 +18773,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -23571,4 +18790,4 @@
}
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/gl-proto-dynauto-tst-jni12.c b/C2J/gl-proto-dynauto-tst-jni12.c
index 7c8cde8..4860a9d 100644
--- a/C2J/gl-proto-dynauto-tst-jni12.c
+++ b/C2J/gl-proto-dynauto-tst-jni12.c
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -16,15 +16,8 @@
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__ (
+ disp__glClearIndex (
(GLfloat) c
);
@@ -44,15 +37,8 @@
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__ (
+ disp__glClearColor (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -72,15 +58,8 @@
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__ (
+ disp__glClear (
(GLbitfield) mask
);
@@ -97,15 +76,8 @@
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__ (
+ disp__glIndexMask (
(GLuint) mask
);
@@ -125,15 +97,8 @@
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__ (
+ disp__glColorMask (
(GLboolean) red,
(GLboolean) green,
(GLboolean) blue,
@@ -154,15 +119,8 @@
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__ (
+ disp__glAlphaFunc (
(GLenum) func,
(GLclampf) ref
);
@@ -181,15 +139,8 @@
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__ (
+ disp__glBlendFunc (
(GLenum) sfactor,
(GLenum) dfactor
);
@@ -207,15 +158,8 @@
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__ (
+ disp__glLogicOp (
(GLenum) opcode
);
@@ -232,15 +176,8 @@
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__ (
+ disp__glCullFace (
(GLenum) mode
);
@@ -257,15 +194,8 @@
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__ (
+ disp__glFrontFace (
(GLenum) mode
);
@@ -282,15 +212,8 @@
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__ (
+ disp__glPointSize (
(GLfloat) size
);
@@ -307,15 +230,8 @@
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__ (
+ disp__glLineWidth (
(GLfloat) width
);
@@ -333,15 +249,8 @@
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__ (
+ disp__glLineStipple (
(GLint) factor,
(GLushort) pattern
);
@@ -360,15 +269,8 @@
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__ (
+ disp__glPolygonMode (
(GLenum) face,
(GLenum) mode
);
@@ -387,15 +289,8 @@
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__ (
+ disp__glPolygonOffset (
(GLfloat) factor,
(GLfloat) units
);
@@ -413,17 +308,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0);
@@ -432,7 +320,7 @@
printf("COPY by glPolygonStipple arg: mask");
}
}
- __func_ptr__ (
+ disp__glPolygonStipple (
(const GLubyte *) ptr0
);
@@ -453,17 +341,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0);
@@ -472,7 +353,7 @@
printf("COPY by glGetPolygonStipple arg: mask");
}
}
- __func_ptr__ (
+ disp__glGetPolygonStipple (
(GLubyte *) ptr0
);
@@ -493,15 +374,8 @@
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__ (
+ disp__glEdgeFlag (
(GLboolean) flag
);
@@ -518,17 +392,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, &isCopiedArray0);
@@ -537,7 +404,7 @@
printf("COPY by glEdgeFlagv arg: flag");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagv (
(const GLboolean *) ptr0
);
@@ -561,15 +428,8 @@
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__ (
+ disp__glScissor (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -590,17 +450,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1);
@@ -609,7 +462,7 @@
printf("COPY by glClipPlane arg: equation");
}
}
- __func_ptr__ (
+ disp__glClipPlane (
(GLenum) plane,
(const GLdouble *) ptr1
);
@@ -632,17 +485,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1);
@@ -651,7 +497,7 @@
printf("COPY by glGetClipPlane arg: equation");
}
}
- __func_ptr__ (
+ disp__glGetClipPlane (
(GLenum) plane,
(GLdouble *) ptr1
);
@@ -673,15 +519,8 @@
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__ (
+ disp__glDrawBuffer (
(GLenum) mode
);
@@ -698,15 +537,8 @@
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__ (
+ disp__glReadBuffer (
(GLenum) mode
);
@@ -723,15 +555,8 @@
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__ (
+ disp__glEnable (
(GLenum) cap
);
@@ -748,15 +573,8 @@
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__ (
+ disp__glDisable (
(GLenum) cap
);
@@ -773,17 +591,10 @@
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__ (
+ ret = (jboolean) disp__glIsEnabled (
(GLenum) cap
);
@@ -801,15 +612,8 @@
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__ (
+ disp__glEnableClientState (
(GLenum) cap
);
@@ -826,15 +630,8 @@
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__ (
+ disp__glDisableClientState (
(GLenum) cap
);
@@ -852,17 +649,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -871,7 +661,7 @@
printf("COPY by glGetBooleanv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetBooleanv (
(GLenum) pname,
(GLboolean *) ptr1
);
@@ -894,17 +684,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -913,7 +696,7 @@
printf("COPY by glGetDoublev arg: params");
}
}
- __func_ptr__ (
+ disp__glGetDoublev (
(GLenum) pname,
(GLdouble *) ptr1
);
@@ -936,17 +719,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -955,7 +731,7 @@
printf("COPY by glGetFloatv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetFloatv (
(GLenum) pname,
(GLfloat *) ptr1
);
@@ -978,17 +754,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -997,7 +766,7 @@
printf("COPY by glGetIntegerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetIntegerv (
(GLenum) pname,
(GLint *) ptr1
);
@@ -1019,15 +788,8 @@
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__ (
+ disp__glPushAttrib (
(GLbitfield) mask
);
@@ -1043,15 +805,8 @@
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__ (
+ disp__glPopAttrib (
);
}
@@ -1067,15 +822,8 @@
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__ (
+ disp__glPushClientAttrib (
(GLbitfield) mask
);
@@ -1091,15 +839,8 @@
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__ (
+ disp__glPopClientAttrib (
);
}
@@ -1115,17 +856,10 @@
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__ (
+ ret = (jint) disp__glRenderMode (
(GLenum) mode
);
@@ -1142,17 +876,10 @@
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__ (
+ ret = (jint) disp__glGetError (
);
return ret;
@@ -1168,15 +895,8 @@
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__ (
+ disp__glFinish (
);
}
@@ -1191,15 +911,8 @@
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__ (
+ disp__glFlush (
);
}
@@ -1216,15 +929,8 @@
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__ (
+ disp__glHint (
(GLenum) target,
(GLenum) mode
);
@@ -1242,15 +948,8 @@
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__ (
+ disp__glClearDepth (
(GLclampd) depth
);
@@ -1267,15 +966,8 @@
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__ (
+ disp__glDepthFunc (
(GLenum) func
);
@@ -1292,15 +984,8 @@
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__ (
+ disp__glDepthMask (
(GLboolean) flag
);
@@ -1318,15 +1003,8 @@
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__ (
+ disp__glDepthRange (
(GLclampd) near_val,
(GLclampd) far_val
);
@@ -1347,15 +1025,8 @@
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__ (
+ disp__glClearAccum (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue,
@@ -1376,15 +1047,8 @@
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__ (
+ disp__glAccum (
(GLenum) op,
(GLfloat) value
);
@@ -1402,15 +1066,8 @@
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__ (
+ disp__glMatrixMode (
(GLenum) mode
);
@@ -1432,15 +1089,8 @@
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__ (
+ disp__glOrtho (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -1467,15 +1117,8 @@
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__ (
+ disp__glFrustum (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -1500,15 +1143,8 @@
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__ (
+ disp__glViewport (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -1527,15 +1163,8 @@
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__ (
+ disp__glPushMatrix (
);
}
@@ -1550,15 +1179,8 @@
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__ (
+ disp__glPopMatrix (
);
}
@@ -1573,15 +1195,8 @@
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__ (
+ disp__glLoadIdentity (
);
}
@@ -1597,17 +1212,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1616,7 +1224,7 @@
printf("COPY by glLoadMatrixd arg: m");
}
}
- __func_ptr__ (
+ disp__glLoadMatrixd (
(const GLdouble *) ptr0
);
@@ -1637,17 +1245,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1656,7 +1257,7 @@
printf("COPY by glLoadMatrixf arg: m");
}
}
- __func_ptr__ (
+ disp__glLoadMatrixf (
(const GLfloat *) ptr0
);
@@ -1677,17 +1278,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1696,7 +1290,7 @@
printf("COPY by glMultMatrixd arg: m");
}
}
- __func_ptr__ (
+ disp__glMultMatrixd (
(const GLdouble *) ptr0
);
@@ -1717,17 +1311,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1736,7 +1323,7 @@
printf("COPY by glMultMatrixf arg: m");
}
}
- __func_ptr__ (
+ disp__glMultMatrixf (
(const GLfloat *) ptr0
);
@@ -1760,15 +1347,8 @@
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__ (
+ disp__glRotated (
(GLdouble) angle,
(GLdouble) x,
(GLdouble) y,
@@ -1791,15 +1371,8 @@
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__ (
+ disp__glRotatef (
(GLfloat) angle,
(GLfloat) x,
(GLfloat) y,
@@ -1821,15 +1394,8 @@
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__ (
+ disp__glScaled (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -1850,15 +1416,8 @@
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__ (
+ disp__glScalef (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -1879,15 +1438,8 @@
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__ (
+ disp__glTranslated (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -1908,15 +1460,8 @@
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__ (
+ disp__glTranslatef (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -1935,17 +1480,10 @@
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__ (
+ ret = (jboolean) disp__glIsList (
(GLuint) list
);
@@ -1964,15 +1502,8 @@
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__ (
+ disp__glDeleteLists (
(GLuint) list,
(GLsizei) range
);
@@ -1990,17 +1521,10 @@
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__ (
+ ret = (jint) disp__glGenLists (
(GLsizei) range
);
@@ -2019,15 +1543,8 @@
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__ (
+ disp__glNewList (
(GLuint) list,
(GLenum) mode
);
@@ -2044,15 +1561,8 @@
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__ (
+ disp__glEndList (
);
}
@@ -2068,15 +1578,8 @@
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__ (
+ disp__glCallList (
(GLuint) list
);
@@ -2095,17 +1598,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -2114,7 +1610,7 @@
printf("COPY by glCallLists arg: lists");
}
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2132,17 +1628,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -2151,7 +1640,7 @@
printf("COPY by glCallLists arg: lists");
}
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2169,17 +1658,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -2188,7 +1670,7 @@
printf("COPY by glCallLists arg: lists");
}
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2206,17 +1688,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -2225,7 +1700,7 @@
printf("COPY by glCallLists arg: lists");
}
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2243,17 +1718,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -2262,7 +1730,7 @@
printf("COPY by glCallLists arg: lists");
}
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2280,17 +1748,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -2299,7 +1760,7 @@
printf("COPY by glCallLists arg: lists");
}
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2317,17 +1778,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -2336,7 +1790,7 @@
printf("COPY by glCallLists arg: lists");
}
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2359,15 +1813,8 @@
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__ (
+ disp__glListBase (
(GLuint) base
);
@@ -2384,15 +1831,8 @@
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__ (
+ disp__glBegin (
(GLenum) mode
);
@@ -2408,15 +1848,8 @@
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__ (
+ disp__glEnd (
);
}
@@ -2433,15 +1866,8 @@
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__ (
+ disp__glVertex2d (
(GLdouble) x,
(GLdouble) y
);
@@ -2460,15 +1886,8 @@
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__ (
+ disp__glVertex2f (
(GLfloat) x,
(GLfloat) y
);
@@ -2487,15 +1906,8 @@
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__ (
+ disp__glVertex2i (
(GLint) x,
(GLint) y
);
@@ -2514,15 +1926,8 @@
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__ (
+ disp__glVertex2s (
(GLshort) x,
(GLshort) y
);
@@ -2542,15 +1947,8 @@
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__ (
+ disp__glVertex3d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -2571,15 +1969,8 @@
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__ (
+ disp__glVertex3f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -2600,15 +1991,8 @@
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__ (
+ disp__glVertex3i (
(GLint) x,
(GLint) y,
(GLint) z
@@ -2629,15 +2013,8 @@
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__ (
+ disp__glVertex3s (
(GLshort) x,
(GLshort) y,
(GLshort) z
@@ -2659,15 +2036,8 @@
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__ (
+ disp__glVertex4d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z,
@@ -2690,15 +2060,8 @@
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__ (
+ disp__glVertex4f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z,
@@ -2721,15 +2084,8 @@
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__ (
+ disp__glVertex4i (
(GLint) x,
(GLint) y,
(GLint) z,
@@ -2752,15 +2108,8 @@
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__ (
+ disp__glVertex4s (
(GLshort) x,
(GLshort) y,
(GLshort) z,
@@ -2780,17 +2129,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2799,7 +2141,7 @@
printf("COPY by glVertex2dv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex2dv (
(const GLdouble *) ptr0
);
@@ -2820,17 +2162,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2839,7 +2174,7 @@
printf("COPY by glVertex2fv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex2fv (
(const GLfloat *) ptr0
);
@@ -2860,17 +2195,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2879,7 +2207,7 @@
printf("COPY by glVertex2iv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex2iv (
(const GLint *) ptr0
);
@@ -2900,17 +2228,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2919,7 +2240,7 @@
printf("COPY by glVertex2sv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex2sv (
(const GLshort *) ptr0
);
@@ -2940,17 +2261,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2959,7 +2273,7 @@
printf("COPY by glVertex3dv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex3dv (
(const GLdouble *) ptr0
);
@@ -2980,17 +2294,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2999,7 +2306,7 @@
printf("COPY by glVertex3fv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex3fv (
(const GLfloat *) ptr0
);
@@ -3020,17 +2327,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3039,7 +2339,7 @@
printf("COPY by glVertex3iv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex3iv (
(const GLint *) ptr0
);
@@ -3060,17 +2360,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3079,7 +2372,7 @@
printf("COPY by glVertex3sv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex3sv (
(const GLshort *) ptr0
);
@@ -3100,17 +2393,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3119,7 +2405,7 @@
printf("COPY by glVertex4dv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex4dv (
(const GLdouble *) ptr0
);
@@ -3140,17 +2426,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3159,7 +2438,7 @@
printf("COPY by glVertex4fv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex4fv (
(const GLfloat *) ptr0
);
@@ -3180,17 +2459,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3199,7 +2471,7 @@
printf("COPY by glVertex4iv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex4iv (
(const GLint *) ptr0
);
@@ -3220,17 +2492,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3239,7 +2504,7 @@
printf("COPY by glVertex4sv arg: v");
}
}
- __func_ptr__ (
+ disp__glVertex4sv (
(const GLshort *) ptr0
);
@@ -3262,15 +2527,8 @@
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__ (
+ disp__glNormal3b (
(GLbyte) nx,
(GLbyte) ny,
(GLbyte) nz
@@ -3291,15 +2549,8 @@
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__ (
+ disp__glNormal3d (
(GLdouble) nx,
(GLdouble) ny,
(GLdouble) nz
@@ -3320,15 +2571,8 @@
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__ (
+ disp__glNormal3f (
(GLfloat) nx,
(GLfloat) ny,
(GLfloat) nz
@@ -3349,15 +2593,8 @@
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__ (
+ disp__glNormal3i (
(GLint) nx,
(GLint) ny,
(GLint) nz
@@ -3378,15 +2615,8 @@
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__ (
+ disp__glNormal3s (
(GLshort) nx,
(GLshort) ny,
(GLshort) nz
@@ -3405,17 +2635,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3424,7 +2647,7 @@
printf("COPY by glNormal3bv arg: v");
}
}
- __func_ptr__ (
+ disp__glNormal3bv (
(const GLbyte *) ptr0
);
@@ -3445,17 +2668,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3464,7 +2680,7 @@
printf("COPY by glNormal3dv arg: v");
}
}
- __func_ptr__ (
+ disp__glNormal3dv (
(const GLdouble *) ptr0
);
@@ -3485,17 +2701,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3504,7 +2713,7 @@
printf("COPY by glNormal3fv arg: v");
}
}
- __func_ptr__ (
+ disp__glNormal3fv (
(const GLfloat *) ptr0
);
@@ -3525,17 +2734,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3544,7 +2746,7 @@
printf("COPY by glNormal3iv arg: v");
}
}
- __func_ptr__ (
+ disp__glNormal3iv (
(const GLint *) ptr0
);
@@ -3565,17 +2767,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3584,7 +2779,7 @@
printf("COPY by glNormal3sv arg: v");
}
}
- __func_ptr__ (
+ disp__glNormal3sv (
(const GLshort *) ptr0
);
@@ -3605,15 +2800,8 @@
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__ (
+ disp__glIndexd (
(GLdouble) c
);
@@ -3630,15 +2818,8 @@
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__ (
+ disp__glIndexf (
(GLfloat) c
);
@@ -3655,15 +2836,8 @@
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__ (
+ disp__glIndexi (
(GLint) c
);
@@ -3680,15 +2854,8 @@
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__ (
+ disp__glIndexs (
(GLshort) c
);
@@ -3705,15 +2872,8 @@
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__ (
+ disp__glIndexub (
(GLubyte) c
);
@@ -3730,17 +2890,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3749,7 +2902,7 @@
printf("COPY by glIndexdv arg: c");
}
}
- __func_ptr__ (
+ disp__glIndexdv (
(const GLdouble *) ptr0
);
@@ -3770,17 +2923,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3789,7 +2935,7 @@
printf("COPY by glIndexfv arg: c");
}
}
- __func_ptr__ (
+ disp__glIndexfv (
(const GLfloat *) ptr0
);
@@ -3810,17 +2956,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3829,7 +2968,7 @@
printf("COPY by glIndexiv arg: c");
}
}
- __func_ptr__ (
+ disp__glIndexiv (
(const GLint *) ptr0
);
@@ -3850,17 +2989,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3869,7 +3001,7 @@
printf("COPY by glIndexsv arg: c");
}
}
- __func_ptr__ (
+ disp__glIndexsv (
(const GLshort *) ptr0
);
@@ -3890,17 +3022,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3909,7 +3034,7 @@
printf("COPY by glIndexubv arg: c");
}
}
- __func_ptr__ (
+ disp__glIndexubv (
(const GLubyte *) ptr0
);
@@ -3932,15 +3057,8 @@
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__ (
+ disp__glColor3b (
(GLbyte) red,
(GLbyte) green,
(GLbyte) blue
@@ -3961,15 +3079,8 @@
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__ (
+ disp__glColor3d (
(GLdouble) red,
(GLdouble) green,
(GLdouble) blue
@@ -3990,15 +3101,8 @@
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__ (
+ disp__glColor3f (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue
@@ -4019,15 +3123,8 @@
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__ (
+ disp__glColor3i (
(GLint) red,
(GLint) green,
(GLint) blue
@@ -4048,15 +3145,8 @@
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__ (
+ disp__glColor3s (
(GLshort) red,
(GLshort) green,
(GLshort) blue
@@ -4077,15 +3167,8 @@
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__ (
+ disp__glColor3ub (
(GLubyte) red,
(GLubyte) green,
(GLubyte) blue
@@ -4106,15 +3189,8 @@
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__ (
+ disp__glColor3ui (
(GLuint) red,
(GLuint) green,
(GLuint) blue
@@ -4135,15 +3211,8 @@
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__ (
+ disp__glColor3us (
(GLushort) red,
(GLushort) green,
(GLushort) blue
@@ -4165,15 +3234,8 @@
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__ (
+ disp__glColor4b (
(GLbyte) red,
(GLbyte) green,
(GLbyte) blue,
@@ -4196,15 +3258,8 @@
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__ (
+ disp__glColor4d (
(GLdouble) red,
(GLdouble) green,
(GLdouble) blue,
@@ -4227,15 +3282,8 @@
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__ (
+ disp__glColor4f (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue,
@@ -4258,15 +3306,8 @@
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__ (
+ disp__glColor4i (
(GLint) red,
(GLint) green,
(GLint) blue,
@@ -4289,15 +3330,8 @@
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__ (
+ disp__glColor4s (
(GLshort) red,
(GLshort) green,
(GLshort) blue,
@@ -4320,15 +3354,8 @@
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__ (
+ disp__glColor4ub (
(GLubyte) red,
(GLubyte) green,
(GLubyte) blue,
@@ -4351,15 +3378,8 @@
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__ (
+ disp__glColor4ui (
(GLuint) red,
(GLuint) green,
(GLuint) blue,
@@ -4382,15 +3402,8 @@
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__ (
+ disp__glColor4us (
(GLushort) red,
(GLushort) green,
(GLushort) blue,
@@ -4410,17 +3423,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4429,7 +3435,7 @@
printf("COPY by glColor3bv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3bv (
(const GLbyte *) ptr0
);
@@ -4450,17 +3456,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4469,7 +3468,7 @@
printf("COPY by glColor3dv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3dv (
(const GLdouble *) ptr0
);
@@ -4490,17 +3489,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4509,7 +3501,7 @@
printf("COPY by glColor3fv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3fv (
(const GLfloat *) ptr0
);
@@ -4530,17 +3522,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4549,7 +3534,7 @@
printf("COPY by glColor3iv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3iv (
(const GLint *) ptr0
);
@@ -4570,17 +3555,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4589,7 +3567,7 @@
printf("COPY by glColor3sv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3sv (
(const GLshort *) ptr0
);
@@ -4610,17 +3588,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4629,7 +3600,7 @@
printf("COPY by glColor3ubv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3ubv (
(const GLubyte *) ptr0
);
@@ -4650,17 +3621,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4669,7 +3633,7 @@
printf("COPY by glColor3uiv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3uiv (
(const GLuint *) ptr0
);
@@ -4690,17 +3654,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4709,7 +3666,7 @@
printf("COPY by glColor3usv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor3usv (
(const GLushort *) ptr0
);
@@ -4730,17 +3687,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4749,7 +3699,7 @@
printf("COPY by glColor4bv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4bv (
(const GLbyte *) ptr0
);
@@ -4770,17 +3720,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4789,7 +3732,7 @@
printf("COPY by glColor4dv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4dv (
(const GLdouble *) ptr0
);
@@ -4810,17 +3753,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4829,7 +3765,7 @@
printf("COPY by glColor4fv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4fv (
(const GLfloat *) ptr0
);
@@ -4850,17 +3786,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4869,7 +3798,7 @@
printf("COPY by glColor4iv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4iv (
(const GLint *) ptr0
);
@@ -4890,17 +3819,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4909,7 +3831,7 @@
printf("COPY by glColor4sv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4sv (
(const GLshort *) ptr0
);
@@ -4930,17 +3852,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4949,7 +3864,7 @@
printf("COPY by glColor4ubv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4ubv (
(const GLubyte *) ptr0
);
@@ -4970,17 +3885,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4989,7 +3897,7 @@
printf("COPY by glColor4uiv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4uiv (
(const GLuint *) ptr0
);
@@ -5010,17 +3918,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5029,7 +3930,7 @@
printf("COPY by glColor4usv arg: v");
}
}
- __func_ptr__ (
+ disp__glColor4usv (
(const GLushort *) ptr0
);
@@ -5050,15 +3951,8 @@
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__ (
+ disp__glTexCoord1d (
(GLdouble) s
);
@@ -5075,15 +3969,8 @@
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__ (
+ disp__glTexCoord1f (
(GLfloat) s
);
@@ -5100,15 +3987,8 @@
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__ (
+ disp__glTexCoord1i (
(GLint) s
);
@@ -5125,15 +4005,8 @@
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__ (
+ disp__glTexCoord1s (
(GLshort) s
);
@@ -5151,15 +4024,8 @@
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__ (
+ disp__glTexCoord2d (
(GLdouble) s,
(GLdouble) t
);
@@ -5178,15 +4044,8 @@
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__ (
+ disp__glTexCoord2f (
(GLfloat) s,
(GLfloat) t
);
@@ -5205,15 +4064,8 @@
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__ (
+ disp__glTexCoord2i (
(GLint) s,
(GLint) t
);
@@ -5232,15 +4084,8 @@
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__ (
+ disp__glTexCoord2s (
(GLshort) s,
(GLshort) t
);
@@ -5260,15 +4105,8 @@
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__ (
+ disp__glTexCoord3d (
(GLdouble) s,
(GLdouble) t,
(GLdouble) r
@@ -5289,15 +4127,8 @@
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__ (
+ disp__glTexCoord3f (
(GLfloat) s,
(GLfloat) t,
(GLfloat) r
@@ -5318,15 +4149,8 @@
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__ (
+ disp__glTexCoord3i (
(GLint) s,
(GLint) t,
(GLint) r
@@ -5347,15 +4171,8 @@
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__ (
+ disp__glTexCoord3s (
(GLshort) s,
(GLshort) t,
(GLshort) r
@@ -5377,15 +4194,8 @@
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__ (
+ disp__glTexCoord4d (
(GLdouble) s,
(GLdouble) t,
(GLdouble) r,
@@ -5408,15 +4218,8 @@
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__ (
+ disp__glTexCoord4f (
(GLfloat) s,
(GLfloat) t,
(GLfloat) r,
@@ -5439,15 +4242,8 @@
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__ (
+ disp__glTexCoord4i (
(GLint) s,
(GLint) t,
(GLint) r,
@@ -5470,15 +4266,8 @@
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__ (
+ disp__glTexCoord4s (
(GLshort) s,
(GLshort) t,
(GLshort) r,
@@ -5498,17 +4287,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5517,7 +4299,7 @@
printf("COPY by glTexCoord1dv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord1dv (
(const GLdouble *) ptr0
);
@@ -5538,17 +4320,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5557,7 +4332,7 @@
printf("COPY by glTexCoord1fv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord1fv (
(const GLfloat *) ptr0
);
@@ -5578,17 +4353,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5597,7 +4365,7 @@
printf("COPY by glTexCoord1iv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord1iv (
(const GLint *) ptr0
);
@@ -5618,17 +4386,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5637,7 +4398,7 @@
printf("COPY by glTexCoord1sv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord1sv (
(const GLshort *) ptr0
);
@@ -5658,17 +4419,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5677,7 +4431,7 @@
printf("COPY by glTexCoord2dv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord2dv (
(const GLdouble *) ptr0
);
@@ -5698,17 +4452,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5717,7 +4464,7 @@
printf("COPY by glTexCoord2fv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord2fv (
(const GLfloat *) ptr0
);
@@ -5738,17 +4485,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5757,7 +4497,7 @@
printf("COPY by glTexCoord2iv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord2iv (
(const GLint *) ptr0
);
@@ -5778,17 +4518,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5797,7 +4530,7 @@
printf("COPY by glTexCoord2sv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord2sv (
(const GLshort *) ptr0
);
@@ -5818,17 +4551,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5837,7 +4563,7 @@
printf("COPY by glTexCoord3dv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord3dv (
(const GLdouble *) ptr0
);
@@ -5858,17 +4584,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5877,7 +4596,7 @@
printf("COPY by glTexCoord3fv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord3fv (
(const GLfloat *) ptr0
);
@@ -5898,17 +4617,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5917,7 +4629,7 @@
printf("COPY by glTexCoord3iv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord3iv (
(const GLint *) ptr0
);
@@ -5938,17 +4650,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5957,7 +4662,7 @@
printf("COPY by glTexCoord3sv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord3sv (
(const GLshort *) ptr0
);
@@ -5978,17 +4683,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5997,7 +4695,7 @@
printf("COPY by glTexCoord4dv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord4dv (
(const GLdouble *) ptr0
);
@@ -6018,17 +4716,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6037,7 +4728,7 @@
printf("COPY by glTexCoord4fv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord4fv (
(const GLfloat *) ptr0
);
@@ -6058,17 +4749,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6077,7 +4761,7 @@
printf("COPY by glTexCoord4iv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord4iv (
(const GLint *) ptr0
);
@@ -6098,17 +4782,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6117,7 +4794,7 @@
printf("COPY by glTexCoord4sv arg: v");
}
}
- __func_ptr__ (
+ disp__glTexCoord4sv (
(const GLshort *) ptr0
);
@@ -6139,15 +4816,8 @@
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__ (
+ disp__glRasterPos2d (
(GLdouble) x,
(GLdouble) y
);
@@ -6166,15 +4836,8 @@
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__ (
+ disp__glRasterPos2f (
(GLfloat) x,
(GLfloat) y
);
@@ -6193,15 +4856,8 @@
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__ (
+ disp__glRasterPos2i (
(GLint) x,
(GLint) y
);
@@ -6220,15 +4876,8 @@
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__ (
+ disp__glRasterPos2s (
(GLshort) x,
(GLshort) y
);
@@ -6248,15 +4897,8 @@
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__ (
+ disp__glRasterPos3d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -6277,15 +4919,8 @@
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__ (
+ disp__glRasterPos3f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -6306,15 +4941,8 @@
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__ (
+ disp__glRasterPos3i (
(GLint) x,
(GLint) y,
(GLint) z
@@ -6335,15 +4963,8 @@
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__ (
+ disp__glRasterPos3s (
(GLshort) x,
(GLshort) y,
(GLshort) z
@@ -6365,15 +4986,8 @@
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__ (
+ disp__glRasterPos4d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z,
@@ -6396,15 +5010,8 @@
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__ (
+ disp__glRasterPos4f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z,
@@ -6427,15 +5034,8 @@
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__ (
+ disp__glRasterPos4i (
(GLint) x,
(GLint) y,
(GLint) z,
@@ -6458,15 +5058,8 @@
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__ (
+ disp__glRasterPos4s (
(GLshort) x,
(GLshort) y,
(GLshort) z,
@@ -6486,17 +5079,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6505,7 +5091,7 @@
printf("COPY by glRasterPos2dv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos2dv (
(const GLdouble *) ptr0
);
@@ -6526,17 +5112,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6545,7 +5124,7 @@
printf("COPY by glRasterPos2fv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos2fv (
(const GLfloat *) ptr0
);
@@ -6566,17 +5145,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6585,7 +5157,7 @@
printf("COPY by glRasterPos2iv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos2iv (
(const GLint *) ptr0
);
@@ -6606,17 +5178,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6625,7 +5190,7 @@
printf("COPY by glRasterPos2sv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos2sv (
(const GLshort *) ptr0
);
@@ -6646,17 +5211,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6665,7 +5223,7 @@
printf("COPY by glRasterPos3dv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos3dv (
(const GLdouble *) ptr0
);
@@ -6686,17 +5244,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6705,7 +5256,7 @@
printf("COPY by glRasterPos3fv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos3fv (
(const GLfloat *) ptr0
);
@@ -6726,17 +5277,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6745,7 +5289,7 @@
printf("COPY by glRasterPos3iv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos3iv (
(const GLint *) ptr0
);
@@ -6766,17 +5310,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6785,7 +5322,7 @@
printf("COPY by glRasterPos3sv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos3sv (
(const GLshort *) ptr0
);
@@ -6806,17 +5343,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6825,7 +5355,7 @@
printf("COPY by glRasterPos4dv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos4dv (
(const GLdouble *) ptr0
);
@@ -6846,17 +5376,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6865,7 +5388,7 @@
printf("COPY by glRasterPos4fv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos4fv (
(const GLfloat *) ptr0
);
@@ -6886,17 +5409,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6905,7 +5421,7 @@
printf("COPY by glRasterPos4iv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos4iv (
(const GLint *) ptr0
);
@@ -6926,17 +5442,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -6945,7 +5454,7 @@
printf("COPY by glRasterPos4sv arg: v");
}
}
- __func_ptr__ (
+ disp__glRasterPos4sv (
(const GLshort *) ptr0
);
@@ -6969,15 +5478,8 @@
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__ (
+ disp__glRectd (
(GLdouble) x1,
(GLdouble) y1,
(GLdouble) x2,
@@ -7000,15 +5502,8 @@
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__ (
+ disp__glRectf (
(GLfloat) x1,
(GLfloat) y1,
(GLfloat) x2,
@@ -7031,15 +5526,8 @@
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__ (
+ disp__glRecti (
(GLint) x1,
(GLint) y1,
(GLint) x2,
@@ -7062,15 +5550,8 @@
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__ (
+ disp__glRects (
(GLshort) x1,
(GLshort) y1,
(GLshort) x2,
@@ -7091,7 +5572,6 @@
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;
@@ -7099,12 +5579,6 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -7121,7 +5595,7 @@
printf("COPY by glRectdv arg: v2");
}
}
- __func_ptr__ (
+ disp__glRectdv (
(const GLdouble *) ptr0,
(const GLdouble *) ptr1
);
@@ -7148,7 +5622,6 @@
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;
@@ -7156,12 +5629,6 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -7178,7 +5645,7 @@
printf("COPY by glRectfv arg: v2");
}
}
- __func_ptr__ (
+ disp__glRectfv (
(const GLfloat *) ptr0,
(const GLfloat *) ptr1
);
@@ -7205,7 +5672,6 @@
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;
@@ -7213,12 +5679,6 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -7235,7 +5695,7 @@
printf("COPY by glRectiv arg: v2");
}
}
- __func_ptr__ (
+ disp__glRectiv (
(const GLint *) ptr0,
(const GLint *) ptr1
);
@@ -7262,7 +5722,6 @@
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;
@@ -7270,12 +5729,6 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -7292,7 +5745,7 @@
printf("COPY by glRectsv arg: v2");
}
}
- __func_ptr__ (
+ disp__glRectsv (
(const GLshort *) ptr0,
(const GLshort *) ptr1
);
@@ -7321,17 +5774,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7340,7 +5786,7 @@
printf("COPY by glVertexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7360,17 +5806,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7379,7 +5818,7 @@
printf("COPY by glVertexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7399,17 +5838,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7418,7 +5850,7 @@
printf("COPY by glVertexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7438,17 +5870,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7457,7 +5882,7 @@
printf("COPY by glVertexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7477,17 +5902,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7496,7 +5914,7 @@
printf("COPY by glVertexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7516,17 +5934,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7535,7 +5946,7 @@
printf("COPY by glVertexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7555,17 +5966,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7574,7 +5978,7 @@
printf("COPY by glVertexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7600,17 +6004,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -7619,7 +6016,7 @@
printf("COPY by glNormalPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7637,17 +6034,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -7656,7 +6046,7 @@
printf("COPY by glNormalPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7674,17 +6064,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -7693,7 +6076,7 @@
printf("COPY by glNormalPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7711,17 +6094,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -7730,7 +6106,7 @@
printf("COPY by glNormalPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7748,17 +6124,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -7767,7 +6136,7 @@
printf("COPY by glNormalPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7785,17 +6154,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -7804,7 +6166,7 @@
printf("COPY by glNormalPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7822,17 +6184,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -7841,7 +6196,7 @@
printf("COPY by glNormalPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7867,17 +6222,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7886,7 +6234,7 @@
printf("COPY by glColorPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7906,17 +6254,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7925,7 +6266,7 @@
printf("COPY by glColorPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7945,17 +6286,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -7964,7 +6298,7 @@
printf("COPY by glColorPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7984,17 +6318,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8003,7 +6330,7 @@
printf("COPY by glColorPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8023,17 +6350,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8042,7 +6362,7 @@
printf("COPY by glColorPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8062,17 +6382,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8081,7 +6394,7 @@
printf("COPY by glColorPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8101,17 +6414,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8120,7 +6426,7 @@
printf("COPY by glColorPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8146,17 +6452,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -8165,7 +6464,7 @@
printf("COPY by glIndexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8183,17 +6482,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -8202,7 +6494,7 @@
printf("COPY by glIndexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8220,17 +6512,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -8239,7 +6524,7 @@
printf("COPY by glIndexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8257,17 +6542,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -8276,7 +6554,7 @@
printf("COPY by glIndexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8294,17 +6572,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -8313,7 +6584,7 @@
printf("COPY by glIndexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8331,17 +6602,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -8350,7 +6614,7 @@
printf("COPY by glIndexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8368,17 +6632,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -8387,7 +6644,7 @@
printf("COPY by glIndexPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8413,17 +6670,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8432,7 +6682,7 @@
printf("COPY by glTexCoordPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8452,17 +6702,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8471,7 +6714,7 @@
printf("COPY by glTexCoordPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8491,17 +6734,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8510,7 +6746,7 @@
printf("COPY by glTexCoordPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8530,17 +6766,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8549,7 +6778,7 @@
printf("COPY by glTexCoordPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8569,17 +6798,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8588,7 +6810,7 @@
printf("COPY by glTexCoordPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8608,17 +6830,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8627,7 +6842,7 @@
printf("COPY by glTexCoordPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8647,17 +6862,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -8666,7 +6874,7 @@
printf("COPY by glTexCoordPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -8691,17 +6899,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -8710,7 +6911,7 @@
printf("COPY by glEdgeFlagPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8726,17 +6927,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -8745,7 +6939,7 @@
printf("COPY by glEdgeFlagPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8761,17 +6955,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -8780,7 +6967,7 @@
printf("COPY by glEdgeFlagPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8796,17 +6983,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -8815,7 +6995,7 @@
printf("COPY by glEdgeFlagPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8831,17 +7011,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -8850,7 +7023,7 @@
printf("COPY by glEdgeFlagPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8866,17 +7039,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -8885,7 +7051,7 @@
printf("COPY by glEdgeFlagPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8901,17 +7067,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -8920,7 +7079,7 @@
printf("COPY by glEdgeFlagPointer arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8943,17 +7102,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -8962,7 +7114,7 @@
printf("COPY by glGetPointerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8978,17 +7130,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -8997,7 +7142,7 @@
printf("COPY by glGetPointerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -9013,17 +7158,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -9032,7 +7170,7 @@
printf("COPY by glGetPointerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -9048,17 +7186,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -9067,7 +7198,7 @@
printf("COPY by glGetPointerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -9083,17 +7214,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -9102,7 +7226,7 @@
printf("COPY by glGetPointerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -9118,17 +7242,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -9137,7 +7254,7 @@
printf("COPY by glGetPointerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -9153,17 +7270,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -9172,7 +7282,7 @@
printf("COPY by glGetPointerv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -9194,15 +7304,8 @@
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__ (
+ disp__glArrayElement (
(GLint) i
);
@@ -9221,15 +7324,8 @@
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__ (
+ disp__glDrawArrays (
(GLenum) mode,
(GLint) first,
(GLsizei) count
@@ -9251,17 +7347,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -9270,7 +7359,7 @@
printf("COPY by glDrawElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -9290,17 +7379,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -9309,7 +7391,7 @@
printf("COPY by glDrawElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -9329,17 +7411,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -9348,7 +7423,7 @@
printf("COPY by glDrawElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -9368,17 +7443,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -9387,7 +7455,7 @@
printf("COPY by glDrawElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -9407,17 +7475,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -9426,7 +7487,7 @@
printf("COPY by glDrawElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -9446,17 +7507,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -9465,7 +7519,7 @@
printf("COPY by glDrawElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -9485,17 +7539,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -9504,7 +7551,7 @@
printf("COPY by glDrawElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -9530,17 +7577,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -9549,7 +7589,7 @@
printf("COPY by glInterleavedArrays arg: pointer");
}
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -9567,17 +7607,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -9586,7 +7619,7 @@
printf("COPY by glInterleavedArrays arg: pointer");
}
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -9604,17 +7637,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -9623,7 +7649,7 @@
printf("COPY by glInterleavedArrays arg: pointer");
}
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -9641,17 +7667,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -9660,7 +7679,7 @@
printf("COPY by glInterleavedArrays arg: pointer");
}
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -9678,17 +7697,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -9697,7 +7709,7 @@
printf("COPY by glInterleavedArrays arg: pointer");
}
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -9715,17 +7727,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -9734,7 +7739,7 @@
printf("COPY by glInterleavedArrays arg: pointer");
}
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -9752,17 +7757,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -9771,7 +7769,7 @@
printf("COPY by glInterleavedArrays arg: pointer");
}
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -9794,15 +7792,8 @@
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__ (
+ disp__glShadeModel (
(GLenum) mode
);
@@ -9821,15 +7812,8 @@
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__ (
+ disp__glLightf (
(GLenum) light,
(GLenum) pname,
(GLfloat) param
@@ -9850,15 +7834,8 @@
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__ (
+ disp__glLighti (
(GLenum) light,
(GLenum) pname,
(GLint) param
@@ -9879,17 +7856,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9898,7 +7868,7 @@
printf("COPY by glLightfv arg: params");
}
}
- __func_ptr__ (
+ disp__glLightfv (
(GLenum) light,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -9923,17 +7893,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9942,7 +7905,7 @@
printf("COPY by glLightiv arg: params");
}
}
- __func_ptr__ (
+ disp__glLightiv (
(GLenum) light,
(GLenum) pname,
(const GLint *) ptr2
@@ -9967,17 +7930,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9986,7 +7942,7 @@
printf("COPY by glGetLightfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetLightfv (
(GLenum) light,
(GLenum) pname,
(GLfloat *) ptr2
@@ -10011,17 +7967,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -10030,7 +7979,7 @@
printf("COPY by glGetLightiv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetLightiv (
(GLenum) light,
(GLenum) pname,
(GLint *) ptr2
@@ -10054,15 +8003,8 @@
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__ (
+ disp__glLightModelf (
(GLenum) pname,
(GLfloat) param
);
@@ -10081,15 +8023,8 @@
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__ (
+ disp__glLightModeli (
(GLenum) pname,
(GLint) param
);
@@ -10108,17 +8043,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -10127,7 +8055,7 @@
printf("COPY by glLightModelfv arg: params");
}
}
- __func_ptr__ (
+ disp__glLightModelfv (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -10150,17 +8078,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -10169,7 +8090,7 @@
printf("COPY by glLightModeliv arg: params");
}
}
- __func_ptr__ (
+ disp__glLightModeliv (
(GLenum) pname,
(const GLint *) ptr1
);
@@ -10193,15 +8114,8 @@
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__ (
+ disp__glMaterialf (
(GLenum) face,
(GLenum) pname,
(GLfloat) param
@@ -10222,15 +8136,8 @@
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__ (
+ disp__glMateriali (
(GLenum) face,
(GLenum) pname,
(GLint) param
@@ -10251,17 +8158,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -10270,7 +8170,7 @@
printf("COPY by glMaterialfv arg: params");
}
}
- __func_ptr__ (
+ disp__glMaterialfv (
(GLenum) face,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -10295,17 +8195,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -10314,7 +8207,7 @@
printf("COPY by glMaterialiv arg: params");
}
}
- __func_ptr__ (
+ disp__glMaterialiv (
(GLenum) face,
(GLenum) pname,
(const GLint *) ptr2
@@ -10339,17 +8232,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -10358,7 +8244,7 @@
printf("COPY by glGetMaterialfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetMaterialfv (
(GLenum) face,
(GLenum) pname,
(GLfloat *) ptr2
@@ -10383,17 +8269,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -10402,7 +8281,7 @@
printf("COPY by glGetMaterialiv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetMaterialiv (
(GLenum) face,
(GLenum) pname,
(GLint *) ptr2
@@ -10426,15 +8305,8 @@
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__ (
+ disp__glColorMaterial (
(GLenum) face,
(GLenum) mode
);
@@ -10453,15 +8325,8 @@
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__ (
+ disp__glPixelZoom (
(GLfloat) xfactor,
(GLfloat) yfactor
);
@@ -10480,15 +8345,8 @@
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__ (
+ disp__glPixelStoref (
(GLenum) pname,
(GLfloat) param
);
@@ -10507,15 +8365,8 @@
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__ (
+ disp__glPixelStorei (
(GLenum) pname,
(GLint) param
);
@@ -10534,15 +8385,8 @@
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__ (
+ disp__glPixelTransferf (
(GLenum) pname,
(GLfloat) param
);
@@ -10561,15 +8405,8 @@
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__ (
+ disp__glPixelTransferi (
(GLenum) pname,
(GLint) param
);
@@ -10589,17 +8426,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2);
@@ -10608,7 +8438,7 @@
printf("COPY by glPixelMapfv arg: values");
}
}
- __func_ptr__ (
+ disp__glPixelMapfv (
(GLenum) map,
(GLint) mapsize,
(const GLfloat *) ptr2
@@ -10633,17 +8463,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2);
@@ -10652,7 +8475,7 @@
printf("COPY by glPixelMapuiv arg: values");
}
}
- __func_ptr__ (
+ disp__glPixelMapuiv (
(GLenum) map,
(GLint) mapsize,
(const GLuint *) ptr2
@@ -10677,17 +8500,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2);
@@ -10696,7 +8512,7 @@
printf("COPY by glPixelMapusv arg: values");
}
}
- __func_ptr__ (
+ disp__glPixelMapusv (
(GLenum) map,
(GLint) mapsize,
(const GLushort *) ptr2
@@ -10720,17 +8536,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -10739,7 +8548,7 @@
printf("COPY by glGetPixelMapfv arg: values");
}
}
- __func_ptr__ (
+ disp__glGetPixelMapfv (
(GLenum) map,
(GLfloat *) ptr1
);
@@ -10762,17 +8571,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -10781,7 +8583,7 @@
printf("COPY by glGetPixelMapuiv arg: values");
}
}
- __func_ptr__ (
+ disp__glGetPixelMapuiv (
(GLenum) map,
(GLuint *) ptr1
);
@@ -10804,17 +8606,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -10823,7 +8618,7 @@
printf("COPY by glGetPixelMapusv arg: values");
}
}
- __func_ptr__ (
+ disp__glGetPixelMapusv (
(GLenum) map,
(GLushort *) ptr1
);
@@ -10851,17 +8646,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, &isCopiedArray6);
@@ -10870,7 +8658,7 @@
printf("COPY by glBitmap arg: bitmap");
}
}
- __func_ptr__ (
+ disp__glBitmap (
(GLsizei) width,
(GLsizei) height,
(GLfloat) xorig,
@@ -10903,17 +8691,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -10922,7 +8703,7 @@
printf("COPY by glReadPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10948,17 +8729,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -10967,7 +8741,7 @@
printf("COPY by glReadPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10993,17 +8767,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11012,7 +8779,7 @@
printf("COPY by glReadPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -11038,17 +8805,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11057,7 +8817,7 @@
printf("COPY by glReadPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -11083,17 +8843,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11102,7 +8855,7 @@
printf("COPY by glReadPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -11128,17 +8881,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11147,7 +8893,7 @@
printf("COPY by glReadPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -11173,17 +8919,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11192,7 +8931,7 @@
printf("COPY by glReadPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -11223,17 +8962,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -11242,7 +8974,7 @@
printf("COPY by glDrawPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -11264,17 +8996,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -11283,7 +9008,7 @@
printf("COPY by glDrawPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -11305,17 +9030,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -11324,7 +9042,7 @@
printf("COPY by glDrawPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -11346,17 +9064,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -11365,7 +9076,7 @@
printf("COPY by glDrawPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -11387,17 +9098,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -11406,7 +9110,7 @@
printf("COPY by glDrawPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -11428,17 +9132,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -11447,7 +9144,7 @@
printf("COPY by glDrawPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -11469,17 +9166,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -11488,7 +9178,7 @@
printf("COPY by glDrawPixels arg: pixels");
}
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -11517,15 +9207,8 @@
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__ (
+ disp__glCopyPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -11548,15 +9231,8 @@
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__ (
+ disp__glStencilFunc (
(GLenum) func,
(GLint) ref,
(GLuint) mask
@@ -11575,15 +9251,8 @@
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__ (
+ disp__glStencilMask (
(GLuint) mask
);
@@ -11602,15 +9271,8 @@
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__ (
+ disp__glStencilOp (
(GLenum) fail,
(GLenum) zfail,
(GLenum) zpass
@@ -11629,15 +9291,8 @@
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__ (
+ disp__glClearStencil (
(GLint) s
);
@@ -11656,15 +9311,8 @@
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__ (
+ disp__glTexGend (
(GLenum) coord,
(GLenum) pname,
(GLdouble) param
@@ -11685,15 +9333,8 @@
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__ (
+ disp__glTexGenf (
(GLenum) coord,
(GLenum) pname,
(GLfloat) param
@@ -11714,15 +9355,8 @@
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__ (
+ disp__glTexGeni (
(GLenum) coord,
(GLenum) pname,
(GLint) param
@@ -11743,17 +9377,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -11762,7 +9389,7 @@
printf("COPY by glTexGendv arg: params");
}
}
- __func_ptr__ (
+ disp__glTexGendv (
(GLenum) coord,
(GLenum) pname,
(const GLdouble *) ptr2
@@ -11787,17 +9414,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -11806,7 +9426,7 @@
printf("COPY by glTexGenfv arg: params");
}
}
- __func_ptr__ (
+ disp__glTexGenfv (
(GLenum) coord,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -11831,17 +9451,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -11850,7 +9463,7 @@
printf("COPY by glTexGeniv arg: params");
}
}
- __func_ptr__ (
+ disp__glTexGeniv (
(GLenum) coord,
(GLenum) pname,
(const GLint *) ptr2
@@ -11875,17 +9488,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -11894,7 +9500,7 @@
printf("COPY by glGetTexGendv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexGendv (
(GLenum) coord,
(GLenum) pname,
(GLdouble *) ptr2
@@ -11919,17 +9525,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -11938,7 +9537,7 @@
printf("COPY by glGetTexGenfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexGenfv (
(GLenum) coord,
(GLenum) pname,
(GLfloat *) ptr2
@@ -11963,17 +9562,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -11982,7 +9574,7 @@
printf("COPY by glGetTexGeniv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexGeniv (
(GLenum) coord,
(GLenum) pname,
(GLint *) ptr2
@@ -12007,15 +9599,8 @@
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__ (
+ disp__glTexEnvf (
(GLenum) target,
(GLenum) pname,
(GLfloat) param
@@ -12036,15 +9621,8 @@
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__ (
+ disp__glTexEnvi (
(GLenum) target,
(GLenum) pname,
(GLint) param
@@ -12065,17 +9643,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12084,7 +9655,7 @@
printf("COPY by glTexEnvfv arg: params");
}
}
- __func_ptr__ (
+ disp__glTexEnvfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -12109,17 +9680,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12128,7 +9692,7 @@
printf("COPY by glTexEnviv arg: params");
}
}
- __func_ptr__ (
+ disp__glTexEnviv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -12153,17 +9717,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12172,7 +9729,7 @@
printf("COPY by glGetTexEnvfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexEnvfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -12197,17 +9754,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12216,7 +9766,7 @@
printf("COPY by glGetTexEnviv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexEnviv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -12241,15 +9791,8 @@
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__ (
+ disp__glTexParameterf (
(GLenum) target,
(GLenum) pname,
(GLfloat) param
@@ -12270,15 +9813,8 @@
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__ (
+ disp__glTexParameteri (
(GLenum) target,
(GLenum) pname,
(GLint) param
@@ -12299,17 +9835,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12318,7 +9847,7 @@
printf("COPY by glTexParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glTexParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -12343,17 +9872,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12362,7 +9884,7 @@
printf("COPY by glTexParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glTexParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -12387,17 +9909,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12406,7 +9921,7 @@
printf("COPY by glGetTexParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -12431,17 +9946,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12450,7 +9958,7 @@
printf("COPY by glGetTexParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -12476,17 +9984,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
@@ -12495,7 +9996,7 @@
printf("COPY by glGetTexLevelParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexLevelParameterfv (
(GLenum) target,
(GLint) level,
(GLenum) pname,
@@ -12522,17 +10023,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
@@ -12541,7 +10035,7 @@
printf("COPY by glGetTexLevelParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetTexLevelParameteriv (
(GLenum) target,
(GLint) level,
(GLenum) pname,
@@ -12572,17 +10066,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -12591,7 +10078,7 @@
printf("COPY by glTexImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12619,17 +10106,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -12638,7 +10118,7 @@
printf("COPY by glTexImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12666,17 +10146,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -12685,7 +10158,7 @@
printf("COPY by glTexImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12713,17 +10186,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -12732,7 +10198,7 @@
printf("COPY by glTexImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12760,17 +10226,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -12779,7 +10238,7 @@
printf("COPY by glTexImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12807,17 +10266,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -12826,7 +10278,7 @@
printf("COPY by glTexImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12854,17 +10306,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -12873,7 +10318,7 @@
printf("COPY by glTexImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12909,17 +10354,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -12928,7 +10366,7 @@
printf("COPY by glTexImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -12958,17 +10396,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -12977,7 +10408,7 @@
printf("COPY by glTexImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -13007,17 +10438,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -13026,7 +10450,7 @@
printf("COPY by glTexImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -13056,17 +10480,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -13075,7 +10492,7 @@
printf("COPY by glTexImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -13105,17 +10522,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -13124,7 +10534,7 @@
printf("COPY by glTexImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -13154,17 +10564,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -13173,7 +10576,7 @@
printf("COPY by glTexImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -13203,17 +10606,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -13222,7 +10618,7 @@
printf("COPY by glTexImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -13255,17 +10651,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -13274,7 +10663,7 @@
printf("COPY by glGetTexImage arg: pixels");
}
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -13296,17 +10685,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -13315,7 +10697,7 @@
printf("COPY by glGetTexImage arg: pixels");
}
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -13337,17 +10719,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -13356,7 +10731,7 @@
printf("COPY by glGetTexImage arg: pixels");
}
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -13378,17 +10753,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -13397,7 +10765,7 @@
printf("COPY by glGetTexImage arg: pixels");
}
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -13419,17 +10787,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -13438,7 +10799,7 @@
printf("COPY by glGetTexImage arg: pixels");
}
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -13460,17 +10821,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -13479,7 +10833,7 @@
printf("COPY by glGetTexImage arg: pixels");
}
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -13501,17 +10855,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -13520,7 +10867,7 @@
printf("COPY by glGetTexImage arg: pixels");
}
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -13546,17 +10893,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -13565,7 +10905,7 @@
printf("COPY by glGenTextures arg: textures");
}
}
- __func_ptr__ (
+ disp__glGenTextures (
(GLsizei) n,
(GLuint *) ptr1
);
@@ -13588,17 +10928,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -13607,7 +10940,7 @@
printf("COPY by glDeleteTextures arg: textures");
}
}
- __func_ptr__ (
+ disp__glDeleteTextures (
(GLsizei) n,
(const GLuint *) ptr1
);
@@ -13630,15 +10963,8 @@
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__ (
+ disp__glBindTexture (
(GLenum) target,
(GLuint) texture
);
@@ -13658,7 +10984,6 @@
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;
@@ -13666,12 +10991,6 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -13688,7 +11007,7 @@
printf("COPY by glPrioritizeTextures arg: priorities");
}
}
- __func_ptr__ (
+ disp__glPrioritizeTextures (
(GLsizei) n,
(const GLuint *) ptr1,
(const GLclampf *) ptr2
@@ -13717,7 +11036,6 @@
jintArray textures,
jbooleanArray residences)
{
- static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL;
jboolean ret;
jboolean isCopiedArray1 = JNI_FALSE;
@@ -13727,12 +11045,6 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -13749,7 +11061,7 @@
printf("COPY by glAreTexturesResident arg: residences");
}
}
- ret = (jboolean) __func_ptr__ (
+ ret = (jboolean) disp__glAreTexturesResident (
(GLsizei) n,
(const GLuint *) ptr1,
(GLboolean *) ptr2
@@ -13777,17 +11089,10 @@
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__ (
+ ret = (jboolean) disp__glIsTexture (
(GLuint) texture
);
@@ -13811,17 +11116,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -13830,7 +11128,7 @@
printf("COPY by glTexSubImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13856,17 +11154,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -13875,7 +11166,7 @@
printf("COPY by glTexSubImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13901,17 +11192,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -13920,7 +11204,7 @@
printf("COPY by glTexSubImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13946,17 +11230,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -13965,7 +11242,7 @@
printf("COPY by glTexSubImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13991,17 +11268,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -14010,7 +11280,7 @@
printf("COPY by glTexSubImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14036,17 +11306,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -14055,7 +11318,7 @@
printf("COPY by glTexSubImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14081,17 +11344,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -14100,7 +11356,7 @@
printf("COPY by glTexSubImage1D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14135,17 +11391,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -14154,7 +11403,7 @@
printf("COPY by glTexSubImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14184,17 +11433,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -14203,7 +11445,7 @@
printf("COPY by glTexSubImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14233,17 +11475,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -14252,7 +11487,7 @@
printf("COPY by glTexSubImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14282,17 +11517,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -14301,7 +11529,7 @@
printf("COPY by glTexSubImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14331,17 +11559,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -14350,7 +11571,7 @@
printf("COPY by glTexSubImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14380,17 +11601,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -14399,7 +11613,7 @@
printf("COPY by glTexSubImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14429,17 +11643,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -14448,7 +11655,7 @@
printf("COPY by glTexSubImage2D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14483,15 +11690,8 @@
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__ (
+ disp__glCopyTexImage1D (
(GLenum) target,
(GLint) level,
(GLenum) internalformat,
@@ -14521,15 +11721,8 @@
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__ (
+ disp__glCopyTexImage2D (
(GLenum) target,
(GLint) level,
(GLenum) internalformat,
@@ -14558,15 +11751,8 @@
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__ (
+ disp__glCopyTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14595,15 +11781,8 @@
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__ (
+ disp__glCopyTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14632,17 +11811,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5);
@@ -14651,7 +11823,7 @@
printf("COPY by glMap1d arg: points");
}
}
- __func_ptr__ (
+ disp__glMap1d (
(GLenum) target,
(GLdouble) u1,
(GLdouble) u2,
@@ -14682,17 +11854,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5);
@@ -14701,7 +11866,7 @@
printf("COPY by glMap1f arg: points");
}
}
- __func_ptr__ (
+ disp__glMap1f (
(GLenum) target,
(GLfloat) u1,
(GLfloat) u2,
@@ -14736,17 +11901,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9);
@@ -14755,7 +11913,7 @@
printf("COPY by glMap2d arg: points");
}
}
- __func_ptr__ (
+ disp__glMap2d (
(GLenum) target,
(GLdouble) u1,
(GLdouble) u2,
@@ -14794,17 +11952,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9);
@@ -14813,7 +11964,7 @@
printf("COPY by glMap2f arg: points");
}
}
- __func_ptr__ (
+ disp__glMap2f (
(GLenum) target,
(GLfloat) u1,
(GLfloat) u2,
@@ -14845,17 +11996,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -14864,7 +12008,7 @@
printf("COPY by glGetMapdv arg: v");
}
}
- __func_ptr__ (
+ disp__glGetMapdv (
(GLenum) target,
(GLenum) query,
(GLdouble *) ptr2
@@ -14889,17 +12033,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -14908,7 +12045,7 @@
printf("COPY by glGetMapfv arg: v");
}
}
- __func_ptr__ (
+ disp__glGetMapfv (
(GLenum) target,
(GLenum) query,
(GLfloat *) ptr2
@@ -14933,17 +12070,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -14952,7 +12082,7 @@
printf("COPY by glGetMapiv arg: v");
}
}
- __func_ptr__ (
+ disp__glGetMapiv (
(GLenum) target,
(GLenum) query,
(GLint *) ptr2
@@ -14975,15 +12105,8 @@
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__ (
+ disp__glEvalCoord1d (
(GLdouble) u
);
@@ -15000,15 +12123,8 @@
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__ (
+ disp__glEvalCoord1f (
(GLfloat) u
);
@@ -15025,17 +12141,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -15044,7 +12153,7 @@
printf("COPY by glEvalCoord1dv arg: u");
}
}
- __func_ptr__ (
+ disp__glEvalCoord1dv (
(const GLdouble *) ptr0
);
@@ -15065,17 +12174,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -15084,7 +12186,7 @@
printf("COPY by glEvalCoord1fv arg: u");
}
}
- __func_ptr__ (
+ disp__glEvalCoord1fv (
(const GLfloat *) ptr0
);
@@ -15106,15 +12208,8 @@
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__ (
+ disp__glEvalCoord2d (
(GLdouble) u,
(GLdouble) v
);
@@ -15133,15 +12228,8 @@
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__ (
+ disp__glEvalCoord2f (
(GLfloat) u,
(GLfloat) v
);
@@ -15159,17 +12247,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -15178,7 +12259,7 @@
printf("COPY by glEvalCoord2dv arg: u");
}
}
- __func_ptr__ (
+ disp__glEvalCoord2dv (
(const GLdouble *) ptr0
);
@@ -15199,17 +12280,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -15218,7 +12292,7 @@
printf("COPY by glEvalCoord2fv arg: u");
}
}
- __func_ptr__ (
+ disp__glEvalCoord2fv (
(const GLfloat *) ptr0
);
@@ -15241,15 +12315,8 @@
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__ (
+ disp__glMapGrid1d (
(GLint) un,
(GLdouble) u1,
(GLdouble) u2
@@ -15270,15 +12337,8 @@
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__ (
+ disp__glMapGrid1f (
(GLint) un,
(GLfloat) u1,
(GLfloat) u2
@@ -15302,15 +12362,8 @@
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__ (
+ disp__glMapGrid2d (
(GLint) un,
(GLdouble) u1,
(GLdouble) u2,
@@ -15337,15 +12390,8 @@
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__ (
+ disp__glMapGrid2f (
(GLint) un,
(GLfloat) u1,
(GLfloat) u2,
@@ -15367,15 +12413,8 @@
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__ (
+ disp__glEvalPoint1 (
(GLint) i
);
@@ -15393,15 +12432,8 @@
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__ (
+ disp__glEvalPoint2 (
(GLint) i,
(GLint) j
);
@@ -15421,15 +12453,8 @@
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__ (
+ disp__glEvalMesh1 (
(GLenum) mode,
(GLint) i1,
(GLint) i2
@@ -15452,15 +12477,8 @@
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__ (
+ disp__glEvalMesh2 (
(GLenum) mode,
(GLint) i1,
(GLint) i2,
@@ -15482,15 +12500,8 @@
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__ (
+ disp__glFogf (
(GLenum) pname,
(GLfloat) param
);
@@ -15509,15 +12520,8 @@
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__ (
+ disp__glFogi (
(GLenum) pname,
(GLint) param
);
@@ -15536,17 +12540,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -15555,7 +12552,7 @@
printf("COPY by glFogfv arg: params");
}
}
- __func_ptr__ (
+ disp__glFogfv (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -15578,17 +12575,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -15597,7 +12587,7 @@
printf("COPY by glFogiv arg: params");
}
}
- __func_ptr__ (
+ disp__glFogiv (
(GLenum) pname,
(const GLint *) ptr1
);
@@ -15621,17 +12611,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2);
@@ -15640,7 +12623,7 @@
printf("COPY by glFeedbackBuffer arg: buffer");
}
}
- __func_ptr__ (
+ disp__glFeedbackBuffer (
(GLsizei) size,
(GLenum) type,
(GLfloat *) ptr2
@@ -15663,15 +12646,8 @@
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__ (
+ disp__glPassThrough (
(GLfloat) token
);
@@ -15689,17 +12665,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1);
@@ -15708,7 +12677,7 @@
printf("COPY by glSelectBuffer arg: buffer");
}
}
- __func_ptr__ (
+ disp__glSelectBuffer (
(GLsizei) size,
(GLuint *) ptr1
);
@@ -15729,15 +12698,8 @@
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__ (
+ disp__glInitNames (
);
}
@@ -15753,15 +12715,8 @@
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__ (
+ disp__glLoadName (
(GLuint) name
);
@@ -15778,15 +12733,8 @@
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__ (
+ disp__glPushName (
(GLuint) name
);
@@ -15802,15 +12750,8 @@
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__ (
+ disp__glPopName (
);
}
@@ -15831,17 +12772,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -15850,7 +12784,7 @@
printf("COPY by glDrawRangeElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -15874,17 +12808,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -15893,7 +12820,7 @@
printf("COPY by glDrawRangeElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -15917,17 +12844,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -15936,7 +12856,7 @@
printf("COPY by glDrawRangeElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -15960,17 +12880,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -15979,7 +12892,7 @@
printf("COPY by glDrawRangeElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -16003,17 +12916,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -16022,7 +12928,7 @@
printf("COPY by glDrawRangeElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -16046,17 +12952,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -16065,7 +12964,7 @@
printf("COPY by glDrawRangeElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -16089,17 +12988,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -16108,7 +13000,7 @@
printf("COPY by glDrawRangeElements arg: indices");
}
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -16143,17 +13035,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -16162,7 +13047,7 @@
printf("COPY by glTexImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -16194,17 +13079,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -16213,7 +13091,7 @@
printf("COPY by glTexImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -16245,17 +13123,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -16264,7 +13135,7 @@
printf("COPY by glTexImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -16296,17 +13167,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -16315,7 +13179,7 @@
printf("COPY by glTexImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -16347,17 +13211,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -16366,7 +13223,7 @@
printf("COPY by glTexImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -16398,17 +13255,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -16417,7 +13267,7 @@
printf("COPY by glTexImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -16449,17 +13299,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -16468,7 +13311,7 @@
printf("COPY by glTexImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -16508,17 +13351,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -16527,7 +13363,7 @@
printf("COPY by glTexSubImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16561,17 +13397,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -16580,7 +13409,7 @@
printf("COPY by glTexSubImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16614,17 +13443,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -16633,7 +13455,7 @@
printf("COPY by glTexSubImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16667,17 +13489,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -16686,7 +13501,7 @@
printf("COPY by glTexSubImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16720,17 +13535,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -16739,7 +13547,7 @@
printf("COPY by glTexSubImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16773,17 +13581,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -16792,7 +13593,7 @@
printf("COPY by glTexSubImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16826,17 +13627,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -16845,7 +13639,7 @@
printf("COPY by glTexSubImage3D arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16884,15 +13678,8 @@
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__ (
+ disp__glCopyTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -16922,17 +13709,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -16941,7 +13721,7 @@
printf("COPY by glColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -16965,17 +13745,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -16984,7 +13757,7 @@
printf("COPY by glColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17008,17 +13781,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -17027,7 +13793,7 @@
printf("COPY by glColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17051,17 +13817,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -17070,7 +13829,7 @@
printf("COPY by glColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17094,17 +13853,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -17113,7 +13865,7 @@
printf("COPY by glColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17137,17 +13889,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -17156,7 +13901,7 @@
printf("COPY by glColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17180,17 +13925,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -17199,7 +13937,7 @@
printf("COPY by glColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17230,17 +13968,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -17249,7 +13980,7 @@
printf("COPY by glColorSubTable arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -17273,17 +14004,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -17292,7 +14016,7 @@
printf("COPY by glColorSubTable arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -17316,17 +14040,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -17335,7 +14052,7 @@
printf("COPY by glColorSubTable arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -17359,17 +14076,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -17378,7 +14088,7 @@
printf("COPY by glColorSubTable arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -17402,17 +14112,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -17421,7 +14124,7 @@
printf("COPY by glColorSubTable arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -17445,17 +14148,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -17464,7 +14160,7 @@
printf("COPY by glColorSubTable arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -17488,17 +14184,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -17507,7 +14196,7 @@
printf("COPY by glColorSubTable arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -17535,17 +14224,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -17554,7 +14236,7 @@
printf("COPY by glColorTableParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glColorTableParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -17579,17 +14261,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -17598,7 +14273,7 @@
printf("COPY by glColorTableParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glColorTableParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -17625,15 +14300,8 @@
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__ (
+ disp__glCopyColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLint) x,
@@ -17658,15 +14326,8 @@
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__ (
+ disp__glCopyColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -17690,17 +14351,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17709,7 +14363,7 @@
printf("COPY by glGetColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17729,17 +14383,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17748,7 +14395,7 @@
printf("COPY by glGetColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17768,17 +14415,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17787,7 +14427,7 @@
printf("COPY by glGetColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17807,17 +14447,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17826,7 +14459,7 @@
printf("COPY by glGetColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17846,17 +14479,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17865,7 +14491,7 @@
printf("COPY by glGetColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17885,17 +14511,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17904,7 +14523,7 @@
printf("COPY by glGetColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17924,17 +14543,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17943,7 +14555,7 @@
printf("COPY by glGetColorTable arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17969,17 +14581,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -17988,7 +14593,7 @@
printf("COPY by glGetColorTableParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetColorTableParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -18013,17 +14618,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -18032,7 +14630,7 @@
printf("COPY by glGetColorTableParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetColorTableParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -18055,15 +14653,8 @@
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__ (
+ disp__glBlendEquation (
(GLenum) mode
);
@@ -18083,15 +14674,8 @@
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__ (
+ disp__glBlendColor (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -18114,15 +14698,8 @@
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__ (
+ disp__glHistogram (
(GLenum) target,
(GLsizei) width,
(GLenum) internalformat,
@@ -18142,15 +14719,8 @@
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__ (
+ disp__glResetHistogram (
(GLenum) target
);
@@ -18171,17 +14741,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18190,7 +14753,7 @@
printf("COPY by glGetHistogram arg: values");
}
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18212,17 +14775,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18231,7 +14787,7 @@
printf("COPY by glGetHistogram arg: values");
}
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18253,17 +14809,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18272,7 +14821,7 @@
printf("COPY by glGetHistogram arg: values");
}
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18294,17 +14843,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18313,7 +14855,7 @@
printf("COPY by glGetHistogram arg: values");
}
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18335,17 +14877,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18354,7 +14889,7 @@
printf("COPY by glGetHistogram arg: values");
}
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18376,17 +14911,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18395,7 +14923,7 @@
printf("COPY by glGetHistogram arg: values");
}
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18417,17 +14945,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18436,7 +14957,7 @@
printf("COPY by glGetHistogram arg: values");
}
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18463,17 +14984,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -18482,7 +14996,7 @@
printf("COPY by glGetHistogramParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetHistogramParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -18507,17 +15021,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -18526,7 +15033,7 @@
printf("COPY by glGetHistogramParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetHistogramParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -18551,15 +15058,8 @@
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__ (
+ disp__glMinmax (
(GLenum) target,
(GLenum) internalformat,
(GLboolean) sink
@@ -18578,15 +15078,8 @@
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__ (
+ disp__glResetMinmax (
(GLenum) target
);
@@ -18607,17 +15100,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18626,7 +15112,7 @@
printf("COPY by glGetMinmax arg: values");
}
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18648,17 +15134,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18667,7 +15146,7 @@
printf("COPY by glGetMinmax arg: values");
}
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18689,17 +15168,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18708,7 +15180,7 @@
printf("COPY by glGetMinmax arg: values");
}
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18730,17 +15202,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18749,7 +15214,7 @@
printf("COPY by glGetMinmax arg: values");
}
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18771,17 +15236,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18790,7 +15248,7 @@
printf("COPY by glGetMinmax arg: values");
}
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18812,17 +15270,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18831,7 +15282,7 @@
printf("COPY by glGetMinmax arg: values");
}
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18853,17 +15304,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -18872,7 +15316,7 @@
printf("COPY by glGetMinmax arg: values");
}
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -18899,17 +15343,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -18918,7 +15355,7 @@
printf("COPY by glGetMinmaxParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetMinmaxParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -18943,17 +15380,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -18962,7 +15392,7 @@
printf("COPY by glGetMinmaxParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetMinmaxParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -18990,17 +15420,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -19009,7 +15432,7 @@
printf("COPY by glConvolutionFilter1D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19033,17 +15456,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -19052,7 +15468,7 @@
printf("COPY by glConvolutionFilter1D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19076,17 +15492,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -19095,7 +15504,7 @@
printf("COPY by glConvolutionFilter1D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19119,17 +15528,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -19138,7 +15540,7 @@
printf("COPY by glConvolutionFilter1D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19162,17 +15564,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -19181,7 +15576,7 @@
printf("COPY by glConvolutionFilter1D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19205,17 +15600,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -19224,7 +15612,7 @@
printf("COPY by glConvolutionFilter1D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19248,17 +15636,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -19267,7 +15648,7 @@
printf("COPY by glConvolutionFilter1D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19299,17 +15680,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -19318,7 +15692,7 @@
printf("COPY by glConvolutionFilter2D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19344,17 +15718,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -19363,7 +15730,7 @@
printf("COPY by glConvolutionFilter2D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19389,17 +15756,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -19408,7 +15768,7 @@
printf("COPY by glConvolutionFilter2D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19434,17 +15794,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -19453,7 +15806,7 @@
printf("COPY by glConvolutionFilter2D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19479,17 +15832,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -19498,7 +15844,7 @@
printf("COPY by glConvolutionFilter2D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19524,17 +15870,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -19543,7 +15882,7 @@
printf("COPY by glConvolutionFilter2D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19569,17 +15908,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -19588,7 +15920,7 @@
printf("COPY by glConvolutionFilter2D arg: image");
}
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -19617,15 +15949,8 @@
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__ (
+ disp__glConvolutionParameterf (
(GLenum) target,
(GLenum) pname,
(GLfloat) params
@@ -19646,17 +15971,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -19665,7 +15983,7 @@
printf("COPY by glConvolutionParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glConvolutionParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -19690,15 +16008,8 @@
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__ (
+ disp__glConvolutionParameteri (
(GLenum) target,
(GLenum) pname,
(GLint) params
@@ -19719,17 +16030,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -19738,7 +16042,7 @@
printf("COPY by glConvolutionParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glConvolutionParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -19765,15 +16069,8 @@
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__ (
+ disp__glCopyConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -19799,15 +16096,8 @@
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__ (
+ disp__glCopyConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -19832,17 +16122,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -19851,7 +16134,7 @@
printf("COPY by glGetConvolutionFilter arg: image");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -19871,17 +16154,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -19890,7 +16166,7 @@
printf("COPY by glGetConvolutionFilter arg: image");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -19910,17 +16186,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -19929,7 +16198,7 @@
printf("COPY by glGetConvolutionFilter arg: image");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -19949,17 +16218,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -19968,7 +16230,7 @@
printf("COPY by glGetConvolutionFilter arg: image");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -19988,17 +16250,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -20007,7 +16262,7 @@
printf("COPY by glGetConvolutionFilter arg: image");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -20027,17 +16282,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -20046,7 +16294,7 @@
printf("COPY by glGetConvolutionFilter arg: image");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -20066,17 +16314,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -20085,7 +16326,7 @@
printf("COPY by glGetConvolutionFilter arg: image");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -20111,17 +16352,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -20130,7 +16364,7 @@
printf("COPY by glGetConvolutionParameterfv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -20155,17 +16389,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -20174,7 +16401,7 @@
printf("COPY by glGetConvolutionParameteriv arg: params");
}
}
- __func_ptr__ (
+ disp__glGetConvolutionParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -20204,7 +16431,6 @@
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;
@@ -20212,12 +16438,6 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -20234,7 +16454,7 @@
printf("COPY by glSeparableFilter2D arg: column");
}
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -20266,7 +16486,6 @@
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;
@@ -20274,12 +16493,6 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -20296,7 +16509,7 @@
printf("COPY by glSeparableFilter2D arg: column");
}
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -20328,7 +16541,6 @@
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;
@@ -20336,12 +16548,6 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -20358,7 +16564,7 @@
printf("COPY by glSeparableFilter2D arg: column");
}
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -20390,7 +16596,6 @@
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;
@@ -20398,12 +16603,6 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -20420,7 +16619,7 @@
printf("COPY by glSeparableFilter2D arg: column");
}
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -20452,7 +16651,6 @@
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;
@@ -20460,12 +16658,6 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -20482,7 +16674,7 @@
printf("COPY by glSeparableFilter2D arg: column");
}
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -20514,7 +16706,6 @@
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;
@@ -20522,12 +16713,6 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -20544,7 +16729,7 @@
printf("COPY by glSeparableFilter2D arg: column");
}
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -20576,7 +16761,6 @@
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;
@@ -20584,12 +16768,6 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -20606,7 +16784,7 @@
printf("COPY by glSeparableFilter2D arg: column");
}
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -20643,7 +16821,6 @@
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;
@@ -20654,12 +16831,6 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -20684,7 +16855,7 @@
printf("COPY by glGetSeparableFilter arg: span");
}
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -20716,7 +16887,6 @@
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;
@@ -20727,12 +16897,6 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -20757,7 +16921,7 @@
printf("COPY by glGetSeparableFilter arg: span");
}
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -20789,7 +16953,6 @@
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;
@@ -20800,12 +16963,6 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -20830,7 +16987,7 @@
printf("COPY by glGetSeparableFilter arg: span");
}
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -20862,7 +17019,6 @@
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;
@@ -20873,12 +17029,6 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -20903,7 +17053,7 @@
printf("COPY by glGetSeparableFilter arg: span");
}
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -20935,7 +17085,6 @@
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;
@@ -20946,12 +17095,6 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -20976,7 +17119,7 @@
printf("COPY by glGetSeparableFilter arg: span");
}
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -21008,7 +17151,6 @@
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;
@@ -21019,12 +17161,6 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -21049,7 +17185,7 @@
printf("COPY by glGetSeparableFilter arg: span");
}
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -21081,7 +17217,6 @@
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;
@@ -21092,12 +17227,6 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -21122,7 +17251,7 @@
printf("COPY by glGetSeparableFilter arg: span");
}
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -21159,15 +17288,8 @@
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__ (
+ disp__glBlendColorEXT (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -21188,15 +17310,8 @@
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__ (
+ disp__glPolygonOffsetEXT (
(GLfloat) factor,
(GLfloat) bias
);
@@ -21223,17 +17338,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -21242,7 +17350,7 @@
printf("COPY by glTexImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -21274,17 +17382,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -21293,7 +17394,7 @@
printf("COPY by glTexImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -21325,17 +17426,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -21344,7 +17438,7 @@
printf("COPY by glTexImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -21376,17 +17470,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -21395,7 +17482,7 @@
printf("COPY by glTexImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -21427,17 +17514,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -21446,7 +17526,7 @@
printf("COPY by glTexImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -21478,17 +17558,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -21497,7 +17570,7 @@
printf("COPY by glTexImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -21529,17 +17602,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -21548,7 +17614,7 @@
printf("COPY by glTexImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -21588,17 +17654,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -21607,7 +17666,7 @@
printf("COPY by glTexSubImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21641,17 +17700,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -21660,7 +17712,7 @@
printf("COPY by glTexSubImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21694,17 +17746,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -21713,7 +17758,7 @@
printf("COPY by glTexSubImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21747,17 +17792,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -21766,7 +17804,7 @@
printf("COPY by glTexSubImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21800,17 +17838,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -21819,7 +17850,7 @@
printf("COPY by glTexSubImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21853,17 +17884,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -21872,7 +17896,7 @@
printf("COPY by glTexSubImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21906,17 +17930,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -21925,7 +17942,7 @@
printf("COPY by glTexSubImage3DEXT arg: pixels");
}
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21964,15 +17981,8 @@
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__ (
+ disp__glCopyTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -21998,17 +18008,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -22017,7 +18020,7 @@
printf("COPY by glGenTexturesEXT arg: textures");
}
}
- __func_ptr__ (
+ disp__glGenTexturesEXT (
(GLsizei) n,
(GLuint *) ptr1
);
@@ -22040,17 +18043,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -22059,7 +18055,7 @@
printf("COPY by glDeleteTexturesEXT arg: textures");
}
}
- __func_ptr__ (
+ disp__glDeleteTexturesEXT (
(GLsizei) n,
(const GLuint *) ptr1
);
@@ -22082,15 +18078,8 @@
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__ (
+ disp__glBindTextureEXT (
(GLenum) target,
(GLuint) texture
);
@@ -22110,7 +18099,6 @@
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;
@@ -22118,12 +18106,6 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -22140,7 +18122,7 @@
printf("COPY by glPrioritizeTexturesEXT arg: priorities");
}
}
- __func_ptr__ (
+ disp__glPrioritizeTexturesEXT (
(GLsizei) n,
(const GLuint *) ptr1,
(const GLclampf *) ptr2
@@ -22169,7 +18151,6 @@
jintArray textures,
jbooleanArray residences)
{
- static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL;
jboolean ret;
jboolean isCopiedArray1 = JNI_FALSE;
@@ -22179,12 +18160,6 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -22201,7 +18176,7 @@
printf("COPY by glAreTexturesResidentEXT arg: residences");
}
}
- ret = (jboolean) __func_ptr__ (
+ ret = (jboolean) disp__glAreTexturesResidentEXT (
(GLsizei) n,
(const GLuint *) ptr1,
(GLboolean *) ptr2
@@ -22229,17 +18204,10 @@
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__ (
+ ret = (jboolean) disp__glIsTextureEXT (
(GLuint) texture
);
@@ -22261,17 +18229,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22280,7 +18241,7 @@
printf("COPY by glVertexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22302,17 +18263,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22321,7 +18275,7 @@
printf("COPY by glVertexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22343,17 +18297,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22362,7 +18309,7 @@
printf("COPY by glVertexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22384,17 +18331,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22403,7 +18343,7 @@
printf("COPY by glVertexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22425,17 +18365,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22444,7 +18377,7 @@
printf("COPY by glVertexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22466,17 +18399,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22485,7 +18411,7 @@
printf("COPY by glVertexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22507,17 +18433,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22526,7 +18445,7 @@
printf("COPY by glVertexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22554,17 +18473,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -22573,7 +18485,7 @@
printf("COPY by glNormalPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -22593,17 +18505,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -22612,7 +18517,7 @@
printf("COPY by glNormalPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -22632,17 +18537,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -22651,7 +18549,7 @@
printf("COPY by glNormalPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -22671,17 +18569,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -22690,7 +18581,7 @@
printf("COPY by glNormalPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -22710,17 +18601,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -22729,7 +18613,7 @@
printf("COPY by glNormalPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -22749,17 +18633,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -22768,7 +18645,7 @@
printf("COPY by glNormalPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -22788,17 +18665,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -22807,7 +18677,7 @@
printf("COPY by glNormalPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -22835,17 +18705,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22854,7 +18717,7 @@
printf("COPY by glColorPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22876,17 +18739,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22895,7 +18751,7 @@
printf("COPY by glColorPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22917,17 +18773,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22936,7 +18785,7 @@
printf("COPY by glColorPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22958,17 +18807,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -22977,7 +18819,7 @@
printf("COPY by glColorPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -22999,17 +18841,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23018,7 +18853,7 @@
printf("COPY by glColorPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23040,17 +18875,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23059,7 +18887,7 @@
printf("COPY by glColorPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23081,17 +18909,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23100,7 +18921,7 @@
printf("COPY by glColorPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23128,17 +18949,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -23147,7 +18961,7 @@
printf("COPY by glIndexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -23167,17 +18981,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -23186,7 +18993,7 @@
printf("COPY by glIndexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -23206,17 +19013,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -23225,7 +19025,7 @@
printf("COPY by glIndexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -23245,17 +19045,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -23264,7 +19057,7 @@
printf("COPY by glIndexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -23284,17 +19077,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -23303,7 +19089,7 @@
printf("COPY by glIndexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -23323,17 +19109,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -23342,7 +19121,7 @@
printf("COPY by glIndexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -23362,17 +19141,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -23381,7 +19153,7 @@
printf("COPY by glIndexPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -23409,17 +19181,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23428,7 +19193,7 @@
printf("COPY by glTexCoordPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23450,17 +19215,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23469,7 +19227,7 @@
printf("COPY by glTexCoordPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23491,17 +19249,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23510,7 +19261,7 @@
printf("COPY by glTexCoordPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23532,17 +19283,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23551,7 +19295,7 @@
printf("COPY by glTexCoordPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23573,17 +19317,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23592,7 +19329,7 @@
printf("COPY by glTexCoordPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23614,17 +19351,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23633,7 +19363,7 @@
printf("COPY by glTexCoordPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23655,17 +19385,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -23674,7 +19397,7 @@
printf("COPY by glTexCoordPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -23701,17 +19424,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -23720,7 +19436,7 @@
printf("COPY by glEdgeFlagPointerEXT arg: ptr");
}
}
- __func_ptr__ (
+ disp__glEdgeFlagPointerEXT (
(GLsizei) stride,
(GLsizei) count,
(const GLboolean *) ptr2
@@ -23744,17 +19460,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -23763,7 +19472,7 @@
printf("COPY by glGetPointervEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -23779,17 +19488,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -23798,7 +19500,7 @@
printf("COPY by glGetPointervEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -23814,17 +19516,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -23833,7 +19528,7 @@
printf("COPY by glGetPointervEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -23849,17 +19544,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -23868,7 +19556,7 @@
printf("COPY by glGetPointervEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -23884,17 +19572,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -23903,7 +19584,7 @@
printf("COPY by glGetPointervEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -23919,17 +19600,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -23938,7 +19612,7 @@
printf("COPY by glGetPointervEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -23954,17 +19628,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -23973,7 +19640,7 @@
printf("COPY by glGetPointervEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -23995,15 +19662,8 @@
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__ (
+ disp__glArrayElementEXT (
(GLint) i
);
@@ -24022,15 +19682,8 @@
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__ (
+ disp__glDrawArraysEXT (
(GLenum) mode,
(GLint) first,
(GLsizei) count
@@ -24049,15 +19702,8 @@
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__ (
+ disp__glBlendEquationEXT (
(GLenum) mode
);
@@ -24075,15 +19721,8 @@
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__ (
+ disp__glPointParameterfEXT (
(GLenum) pname,
(GLfloat) param
);
@@ -24102,17 +19741,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -24121,7 +19753,7 @@
printf("COPY by glPointParameterfvEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glPointParameterfvEXT (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -24148,17 +19780,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -24167,7 +19792,7 @@
printf("COPY by glColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -24191,17 +19816,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -24210,7 +19828,7 @@
printf("COPY by glColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -24234,17 +19852,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -24253,7 +19864,7 @@
printf("COPY by glColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -24277,17 +19888,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -24296,7 +19900,7 @@
printf("COPY by glColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -24320,17 +19924,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -24339,7 +19936,7 @@
printf("COPY by glColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -24363,17 +19960,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -24382,7 +19972,7 @@
printf("COPY by glColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -24406,17 +19996,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -24425,7 +20008,7 @@
printf("COPY by glColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -24456,17 +20039,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -24475,7 +20051,7 @@
printf("COPY by glColorSubTableEXT arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -24499,17 +20075,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -24518,7 +20087,7 @@
printf("COPY by glColorSubTableEXT arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -24542,17 +20111,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -24561,7 +20123,7 @@
printf("COPY by glColorSubTableEXT arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -24585,17 +20147,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -24604,7 +20159,7 @@
printf("COPY by glColorSubTableEXT arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -24628,17 +20183,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -24647,7 +20195,7 @@
printf("COPY by glColorSubTableEXT arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -24671,17 +20219,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -24690,7 +20231,7 @@
printf("COPY by glColorSubTableEXT arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -24714,17 +20255,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -24733,7 +20267,7 @@
printf("COPY by glColorSubTableEXT arg: data");
}
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -24762,17 +20296,10 @@
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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -24781,7 +20308,7 @@
printf("COPY by glGetColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -24801,17 +20328,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -24820,7 +20340,7 @@
printf("COPY by glGetColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -24840,17 +20360,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -24859,7 +20372,7 @@
printf("COPY by glGetColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -24879,17 +20392,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -24898,7 +20404,7 @@
printf("COPY by glGetColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -24918,17 +20424,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -24937,7 +20436,7 @@
printf("COPY by glGetColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -24957,17 +20456,10 @@
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 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -24976,7 +20468,7 @@
printf("COPY by glGetColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -24996,17 +20488,10 @@
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 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -25015,7 +20500,7 @@
printf("COPY by glGetColorTableEXT arg: table");
}
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -25041,17 +20526,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -25060,7 +20538,7 @@
printf("COPY by glGetColorTableParameterfvEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetColorTableParameterfvEXT (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -25085,17 +20563,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -25104,7 +20575,7 @@
printf("COPY by glGetColorTableParameterivEXT arg: params");
}
}
- __func_ptr__ (
+ disp__glGetColorTableParameterivEXT (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -25128,15 +20599,8 @@
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__ (
+ disp__glLockArraysEXT (
(GLint) first,
(GLsizei) count
);
@@ -25153,15 +20617,8 @@
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__ (
+ disp__glUnlockArraysEXT (
);
}
@@ -25177,15 +20634,8 @@
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__ (
+ disp__glActiveTextureARB (
(GLenum) texture
);
@@ -25202,15 +20652,8 @@
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__ (
+ disp__glClientActiveTextureARB (
(GLenum) texture
);
@@ -25228,15 +20671,8 @@
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__ (
+ disp__glMultiTexCoord1dARB (
(GLenum) target,
(GLdouble) s
);
@@ -25255,17 +20691,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25274,7 +20703,7 @@
printf("COPY by glMultiTexCoord1dvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord1dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -25297,15 +20726,8 @@
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__ (
+ disp__glMultiTexCoord1fARB (
(GLenum) target,
(GLfloat) s
);
@@ -25324,17 +20746,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25343,7 +20758,7 @@
printf("COPY by glMultiTexCoord1fvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord1fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -25366,15 +20781,8 @@
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__ (
+ disp__glMultiTexCoord1iARB (
(GLenum) target,
(GLint) s
);
@@ -25393,17 +20801,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25412,7 +20813,7 @@
printf("COPY by glMultiTexCoord1ivARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord1ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -25435,15 +20836,8 @@
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__ (
+ disp__glMultiTexCoord1sARB (
(GLenum) target,
(GLshort) s
);
@@ -25462,17 +20856,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25481,7 +20868,7 @@
printf("COPY by glMultiTexCoord1svARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord1svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -25505,15 +20892,8 @@
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__ (
+ disp__glMultiTexCoord2dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t
@@ -25533,17 +20913,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25552,7 +20925,7 @@
printf("COPY by glMultiTexCoord2dvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord2dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -25576,15 +20949,8 @@
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__ (
+ disp__glMultiTexCoord2fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t
@@ -25604,17 +20970,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25623,7 +20982,7 @@
printf("COPY by glMultiTexCoord2fvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord2fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -25647,15 +21006,8 @@
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__ (
+ disp__glMultiTexCoord2iARB (
(GLenum) target,
(GLint) s,
(GLint) t
@@ -25675,17 +21027,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25694,7 +21039,7 @@
printf("COPY by glMultiTexCoord2ivARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord2ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -25718,15 +21063,8 @@
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__ (
+ disp__glMultiTexCoord2sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t
@@ -25746,17 +21084,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25765,7 +21096,7 @@
printf("COPY by glMultiTexCoord2svARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord2svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -25790,15 +21121,8 @@
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__ (
+ disp__glMultiTexCoord3dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t,
@@ -25819,17 +21143,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25838,7 +21155,7 @@
printf("COPY by glMultiTexCoord3dvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord3dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -25863,15 +21180,8 @@
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__ (
+ disp__glMultiTexCoord3fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t,
@@ -25892,17 +21202,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25911,7 +21214,7 @@
printf("COPY by glMultiTexCoord3fvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord3fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -25936,15 +21239,8 @@
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__ (
+ disp__glMultiTexCoord3iARB (
(GLenum) target,
(GLint) s,
(GLint) t,
@@ -25965,17 +21261,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -25984,7 +21273,7 @@
printf("COPY by glMultiTexCoord3ivARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord3ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -26009,15 +21298,8 @@
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__ (
+ disp__glMultiTexCoord3sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t,
@@ -26038,17 +21320,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -26057,7 +21332,7 @@
printf("COPY by glMultiTexCoord3svARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord3svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -26083,15 +21358,8 @@
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__ (
+ disp__glMultiTexCoord4dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t,
@@ -26113,17 +21381,10 @@
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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -26132,7 +21393,7 @@
printf("COPY by glMultiTexCoord4dvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord4dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -26158,15 +21419,8 @@
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__ (
+ disp__glMultiTexCoord4fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t,
@@ -26188,17 +21442,10 @@
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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -26207,7 +21454,7 @@
printf("COPY by glMultiTexCoord4fvARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord4fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -26233,15 +21480,8 @@
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__ (
+ disp__glMultiTexCoord4iARB (
(GLenum) target,
(GLint) s,
(GLint) t,
@@ -26263,17 +21503,10 @@
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 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -26282,7 +21515,7 @@
printf("COPY by glMultiTexCoord4ivARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord4ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -26308,15 +21541,8 @@
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__ (
+ disp__glMultiTexCoord4sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t,
@@ -26338,17 +21564,10 @@
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 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -26357,7 +21576,7 @@
printf("COPY by glMultiTexCoord4svARB arg: v");
}
}
- __func_ptr__ (
+ disp__glMultiTexCoord4svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -26368,4 +21587,4 @@
}
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/gl-proto-dynauto.c b/C2J/gl-proto-dynauto.c
index 48a517f..97e8aaf 100644
--- a/C2J/gl-proto-dynauto.c
+++ b/C2J/gl-proto-dynauto.c
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -16,15 +16,8 @@
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__ (
+ disp__glClearIndex (
(GLfloat) c
);
@@ -44,15 +37,8 @@
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__ (
+ disp__glClearColor (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -72,15 +58,8 @@
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__ (
+ disp__glClear (
(GLbitfield) mask
);
@@ -97,15 +76,8 @@
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__ (
+ disp__glIndexMask (
(GLuint) mask
);
@@ -125,15 +97,8 @@
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__ (
+ disp__glColorMask (
(GLboolean) red,
(GLboolean) green,
(GLboolean) blue,
@@ -154,15 +119,8 @@
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__ (
+ disp__glAlphaFunc (
(GLenum) func,
(GLclampf) ref
);
@@ -181,15 +139,8 @@
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__ (
+ disp__glBlendFunc (
(GLenum) sfactor,
(GLenum) dfactor
);
@@ -207,15 +158,8 @@
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__ (
+ disp__glLogicOp (
(GLenum) opcode
);
@@ -232,15 +176,8 @@
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__ (
+ disp__glCullFace (
(GLenum) mode
);
@@ -257,15 +194,8 @@
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__ (
+ disp__glFrontFace (
(GLenum) mode
);
@@ -282,15 +212,8 @@
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__ (
+ disp__glPointSize (
(GLfloat) size
);
@@ -307,15 +230,8 @@
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__ (
+ disp__glLineWidth (
(GLfloat) width
);
@@ -333,15 +249,8 @@
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__ (
+ disp__glLineStipple (
(GLint) factor,
(GLushort) pattern
);
@@ -360,15 +269,8 @@
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__ (
+ disp__glPolygonMode (
(GLenum) face,
(GLenum) mode
);
@@ -387,15 +289,8 @@
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__ (
+ disp__glPolygonOffset (
(GLfloat) factor,
(GLfloat) units
);
@@ -413,20 +308,13 @@
JNIEnv *env, jobject obj,
jbyteArray mask)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glPolygonStipple (
(const GLubyte *) ptr0
);
@@ -447,21 +335,14 @@
JNIEnv *env, jobject obj,
jbyteArray mask)
{
- static void (CALLBACK *__func_ptr__)(GLubyte *) = NULL;
jboolean isCopiedArray0 = JNI_FALSE;
jbyte *ptr0 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPolygonStipple (
(GLubyte *) ptr0
);
@@ -482,15 +363,8 @@
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__ (
+ disp__glEdgeFlag (
(GLboolean) flag
);
@@ -507,20 +381,13 @@
JNIEnv *env, jobject obj,
jbooleanArray flag)
{
- static void (CALLBACK *__func_ptr__)(const GLboolean *) = NULL;
jboolean *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagv (
(const GLboolean *) ptr0
);
@@ -544,15 +411,8 @@
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__ (
+ disp__glScissor (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -573,20 +433,13 @@
jint plane,
jdoubleArray equation)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glClipPlane (
(GLenum) plane,
(const GLdouble *) ptr1
);
@@ -609,21 +462,14 @@
jint plane,
jdoubleArray equation)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetClipPlane (
(GLenum) plane,
(GLdouble *) ptr1
);
@@ -645,15 +491,8 @@
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__ (
+ disp__glDrawBuffer (
(GLenum) mode
);
@@ -670,15 +509,8 @@
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__ (
+ disp__glReadBuffer (
(GLenum) mode
);
@@ -695,15 +527,8 @@
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__ (
+ disp__glEnable (
(GLenum) cap
);
@@ -720,15 +545,8 @@
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__ (
+ disp__glDisable (
(GLenum) cap
);
@@ -745,17 +563,10 @@
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__ (
+ ret = (jboolean) disp__glIsEnabled (
(GLenum) cap
);
@@ -773,15 +584,8 @@
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__ (
+ disp__glEnableClientState (
(GLenum) cap
);
@@ -798,15 +602,8 @@
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__ (
+ disp__glDisableClientState (
(GLenum) cap
);
@@ -824,21 +621,14 @@
jint pname,
jbooleanArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetBooleanv (
(GLenum) pname,
(GLboolean *) ptr1
);
@@ -861,21 +651,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetDoublev (
(GLenum) pname,
(GLdouble *) ptr1
);
@@ -898,21 +681,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetFloatv (
(GLenum) pname,
(GLfloat *) ptr1
);
@@ -935,21 +711,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetIntegerv (
(GLenum) pname,
(GLint *) ptr1
);
@@ -971,15 +740,8 @@
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__ (
+ disp__glPushAttrib (
(GLbitfield) mask
);
@@ -995,15 +757,8 @@
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__ (
+ disp__glPopAttrib (
);
}
@@ -1019,15 +774,8 @@
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__ (
+ disp__glPushClientAttrib (
(GLbitfield) mask
);
@@ -1043,15 +791,8 @@
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__ (
+ disp__glPopClientAttrib (
);
}
@@ -1067,17 +808,10 @@
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__ (
+ ret = (jint) disp__glRenderMode (
(GLenum) mode
);
@@ -1094,17 +828,10 @@
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__ (
+ ret = (jint) disp__glGetError (
);
return ret;
@@ -1120,15 +847,8 @@
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__ (
+ disp__glFinish (
);
}
@@ -1143,15 +863,8 @@
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__ (
+ disp__glFlush (
);
}
@@ -1168,15 +881,8 @@
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__ (
+ disp__glHint (
(GLenum) target,
(GLenum) mode
);
@@ -1194,15 +900,8 @@
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__ (
+ disp__glClearDepth (
(GLclampd) depth
);
@@ -1219,15 +918,8 @@
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__ (
+ disp__glDepthFunc (
(GLenum) func
);
@@ -1244,15 +936,8 @@
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__ (
+ disp__glDepthMask (
(GLboolean) flag
);
@@ -1270,15 +955,8 @@
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__ (
+ disp__glDepthRange (
(GLclampd) near_val,
(GLclampd) far_val
);
@@ -1299,15 +977,8 @@
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__ (
+ disp__glClearAccum (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue,
@@ -1328,15 +999,8 @@
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__ (
+ disp__glAccum (
(GLenum) op,
(GLfloat) value
);
@@ -1354,15 +1018,8 @@
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__ (
+ disp__glMatrixMode (
(GLenum) mode
);
@@ -1384,15 +1041,8 @@
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__ (
+ disp__glOrtho (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -1419,15 +1069,8 @@
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__ (
+ disp__glFrustum (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -1452,15 +1095,8 @@
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__ (
+ disp__glViewport (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -1479,15 +1115,8 @@
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__ (
+ disp__glPushMatrix (
);
}
@@ -1502,15 +1131,8 @@
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__ (
+ disp__glPopMatrix (
);
}
@@ -1525,15 +1147,8 @@
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__ (
+ disp__glLoadIdentity (
);
}
@@ -1549,20 +1164,13 @@
JNIEnv *env, jobject obj,
jdoubleArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glLoadMatrixd (
(const GLdouble *) ptr0
);
@@ -1583,20 +1191,13 @@
JNIEnv *env, jobject obj,
jfloatArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glLoadMatrixf (
(const GLfloat *) ptr0
);
@@ -1617,20 +1218,13 @@
JNIEnv *env, jobject obj,
jdoubleArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultMatrixd (
(const GLdouble *) ptr0
);
@@ -1651,20 +1245,13 @@
JNIEnv *env, jobject obj,
jfloatArray m)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultMatrixf (
(const GLfloat *) ptr0
);
@@ -1688,15 +1275,8 @@
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__ (
+ disp__glRotated (
(GLdouble) angle,
(GLdouble) x,
(GLdouble) y,
@@ -1719,15 +1299,8 @@
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__ (
+ disp__glRotatef (
(GLfloat) angle,
(GLfloat) x,
(GLfloat) y,
@@ -1749,15 +1322,8 @@
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__ (
+ disp__glScaled (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -1778,15 +1344,8 @@
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__ (
+ disp__glScalef (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -1807,15 +1366,8 @@
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__ (
+ disp__glTranslated (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -1836,15 +1388,8 @@
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__ (
+ disp__glTranslatef (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -1863,17 +1408,10 @@
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__ (
+ ret = (jboolean) disp__glIsList (
(GLuint) list
);
@@ -1892,15 +1430,8 @@
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__ (
+ disp__glDeleteLists (
(GLuint) list,
(GLsizei) range
);
@@ -1918,17 +1449,10 @@
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__ (
+ ret = (jint) disp__glGenLists (
(GLsizei) range
);
@@ -1947,15 +1471,8 @@
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__ (
+ disp__glNewList (
(GLuint) list,
(GLenum) mode
);
@@ -1972,15 +1489,8 @@
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__ (
+ disp__glEndList (
);
}
@@ -1996,15 +1506,8 @@
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__ (
+ disp__glCallList (
(GLuint) list
);
@@ -2023,20 +1526,13 @@
jint type,
jbyteArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2054,20 +1550,13 @@
jint type,
jshortArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2085,20 +1574,13 @@
jint type,
jintArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2116,20 +1598,13 @@
jint type,
jfloatArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2147,20 +1622,13 @@
jint type,
jdoubleArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2178,20 +1646,13 @@
jint type,
jbooleanArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2209,20 +1670,13 @@
jint type,
jlongArray lists)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glCallLists (
(GLsizei) n,
(GLenum) type,
(const GLvoid *) ptr2
@@ -2245,15 +1699,8 @@
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__ (
+ disp__glListBase (
(GLuint) base
);
@@ -2270,15 +1717,8 @@
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__ (
+ disp__glBegin (
(GLenum) mode
);
@@ -2294,15 +1734,8 @@
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__ (
+ disp__glEnd (
);
}
@@ -2319,15 +1752,8 @@
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__ (
+ disp__glVertex2d (
(GLdouble) x,
(GLdouble) y
);
@@ -2346,15 +1772,8 @@
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__ (
+ disp__glVertex2f (
(GLfloat) x,
(GLfloat) y
);
@@ -2373,15 +1792,8 @@
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__ (
+ disp__glVertex2i (
(GLint) x,
(GLint) y
);
@@ -2400,15 +1812,8 @@
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__ (
+ disp__glVertex2s (
(GLshort) x,
(GLshort) y
);
@@ -2428,15 +1833,8 @@
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__ (
+ disp__glVertex3d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -2457,15 +1855,8 @@
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__ (
+ disp__glVertex3f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -2486,15 +1877,8 @@
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__ (
+ disp__glVertex3i (
(GLint) x,
(GLint) y,
(GLint) z
@@ -2515,15 +1899,8 @@
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__ (
+ disp__glVertex3s (
(GLshort) x,
(GLshort) y,
(GLshort) z
@@ -2545,15 +1922,8 @@
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__ (
+ disp__glVertex4d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z,
@@ -2576,15 +1946,8 @@
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__ (
+ disp__glVertex4f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z,
@@ -2607,15 +1970,8 @@
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__ (
+ disp__glVertex4i (
(GLint) x,
(GLint) y,
(GLint) z,
@@ -2638,15 +1994,8 @@
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__ (
+ disp__glVertex4s (
(GLshort) x,
(GLshort) y,
(GLshort) z,
@@ -2666,20 +2015,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex2dv (
(const GLdouble *) ptr0
);
@@ -2700,20 +2042,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex2fv (
(const GLfloat *) ptr0
);
@@ -2734,20 +2069,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex2iv (
(const GLint *) ptr0
);
@@ -2768,20 +2096,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex2sv (
(const GLshort *) ptr0
);
@@ -2802,20 +2123,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex3dv (
(const GLdouble *) ptr0
);
@@ -2836,20 +2150,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex3fv (
(const GLfloat *) ptr0
);
@@ -2870,20 +2177,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex3iv (
(const GLint *) ptr0
);
@@ -2904,20 +2204,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex3sv (
(const GLshort *) ptr0
);
@@ -2938,20 +2231,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex4dv (
(const GLdouble *) ptr0
);
@@ -2972,20 +2258,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex4fv (
(const GLfloat *) ptr0
);
@@ -3006,20 +2285,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex4iv (
(const GLint *) ptr0
);
@@ -3040,20 +2312,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertex4sv (
(const GLshort *) ptr0
);
@@ -3076,15 +2341,8 @@
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__ (
+ disp__glNormal3b (
(GLbyte) nx,
(GLbyte) ny,
(GLbyte) nz
@@ -3105,15 +2363,8 @@
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__ (
+ disp__glNormal3d (
(GLdouble) nx,
(GLdouble) ny,
(GLdouble) nz
@@ -3134,15 +2385,8 @@
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__ (
+ disp__glNormal3f (
(GLfloat) nx,
(GLfloat) ny,
(GLfloat) nz
@@ -3163,15 +2407,8 @@
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__ (
+ disp__glNormal3i (
(GLint) nx,
(GLint) ny,
(GLint) nz
@@ -3192,15 +2429,8 @@
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__ (
+ disp__glNormal3s (
(GLshort) nx,
(GLshort) ny,
(GLshort) nz
@@ -3219,20 +2449,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL;
jbyte *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormal3bv (
(const GLbyte *) ptr0
);
@@ -3253,20 +2476,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormal3dv (
(const GLdouble *) ptr0
);
@@ -3287,20 +2503,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormal3fv (
(const GLfloat *) ptr0
);
@@ -3321,20 +2530,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormal3iv (
(const GLint *) ptr0
);
@@ -3355,20 +2557,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormal3sv (
(const GLshort *) ptr0
);
@@ -3389,15 +2584,8 @@
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__ (
+ disp__glIndexd (
(GLdouble) c
);
@@ -3414,15 +2602,8 @@
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__ (
+ disp__glIndexf (
(GLfloat) c
);
@@ -3439,15 +2620,8 @@
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__ (
+ disp__glIndexi (
(GLint) c
);
@@ -3464,15 +2638,8 @@
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__ (
+ disp__glIndexs (
(GLshort) c
);
@@ -3489,15 +2656,8 @@
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__ (
+ disp__glIndexub (
(GLubyte) c
);
@@ -3514,20 +2674,13 @@
JNIEnv *env, jobject obj,
jdoubleArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexdv (
(const GLdouble *) ptr0
);
@@ -3548,20 +2701,13 @@
JNIEnv *env, jobject obj,
jfloatArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexfv (
(const GLfloat *) ptr0
);
@@ -3582,20 +2728,13 @@
JNIEnv *env, jobject obj,
jintArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexiv (
(const GLint *) ptr0
);
@@ -3616,20 +2755,13 @@
JNIEnv *env, jobject obj,
jshortArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexsv (
(const GLshort *) ptr0
);
@@ -3650,20 +2782,13 @@
JNIEnv *env, jobject obj,
jbyteArray c)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexubv (
(const GLubyte *) ptr0
);
@@ -3686,15 +2811,8 @@
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__ (
+ disp__glColor3b (
(GLbyte) red,
(GLbyte) green,
(GLbyte) blue
@@ -3715,15 +2833,8 @@
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__ (
+ disp__glColor3d (
(GLdouble) red,
(GLdouble) green,
(GLdouble) blue
@@ -3744,15 +2855,8 @@
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__ (
+ disp__glColor3f (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue
@@ -3773,15 +2877,8 @@
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__ (
+ disp__glColor3i (
(GLint) red,
(GLint) green,
(GLint) blue
@@ -3802,15 +2899,8 @@
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__ (
+ disp__glColor3s (
(GLshort) red,
(GLshort) green,
(GLshort) blue
@@ -3831,15 +2921,8 @@
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__ (
+ disp__glColor3ub (
(GLubyte) red,
(GLubyte) green,
(GLubyte) blue
@@ -3860,15 +2943,8 @@
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__ (
+ disp__glColor3ui (
(GLuint) red,
(GLuint) green,
(GLuint) blue
@@ -3889,15 +2965,8 @@
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__ (
+ disp__glColor3us (
(GLushort) red,
(GLushort) green,
(GLushort) blue
@@ -3919,15 +2988,8 @@
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__ (
+ disp__glColor4b (
(GLbyte) red,
(GLbyte) green,
(GLbyte) blue,
@@ -3950,15 +3012,8 @@
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__ (
+ disp__glColor4d (
(GLdouble) red,
(GLdouble) green,
(GLdouble) blue,
@@ -3981,15 +3036,8 @@
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__ (
+ disp__glColor4f (
(GLfloat) red,
(GLfloat) green,
(GLfloat) blue,
@@ -4012,15 +3060,8 @@
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__ (
+ disp__glColor4i (
(GLint) red,
(GLint) green,
(GLint) blue,
@@ -4043,15 +3084,8 @@
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__ (
+ disp__glColor4s (
(GLshort) red,
(GLshort) green,
(GLshort) blue,
@@ -4074,15 +3108,8 @@
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__ (
+ disp__glColor4ub (
(GLubyte) red,
(GLubyte) green,
(GLubyte) blue,
@@ -4105,15 +3132,8 @@
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__ (
+ disp__glColor4ui (
(GLuint) red,
(GLuint) green,
(GLuint) blue,
@@ -4136,15 +3156,8 @@
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__ (
+ disp__glColor4us (
(GLushort) red,
(GLushort) green,
(GLushort) blue,
@@ -4164,20 +3177,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL;
jbyte *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3bv (
(const GLbyte *) ptr0
);
@@ -4198,20 +3204,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3dv (
(const GLdouble *) ptr0
);
@@ -4232,20 +3231,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3fv (
(const GLfloat *) ptr0
);
@@ -4266,20 +3258,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3iv (
(const GLint *) ptr0
);
@@ -4300,20 +3285,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3sv (
(const GLshort *) ptr0
);
@@ -4334,20 +3312,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3ubv (
(const GLubyte *) ptr0
);
@@ -4368,20 +3339,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3uiv (
(const GLuint *) ptr0
);
@@ -4402,20 +3366,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor3usv (
(const GLushort *) ptr0
);
@@ -4436,20 +3393,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL;
jbyte *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4bv (
(const GLbyte *) ptr0
);
@@ -4470,20 +3420,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4dv (
(const GLdouble *) ptr0
);
@@ -4504,20 +3447,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4fv (
(const GLfloat *) ptr0
);
@@ -4538,20 +3474,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4iv (
(const GLint *) ptr0
);
@@ -4572,20 +3501,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4sv (
(const GLshort *) ptr0
);
@@ -4606,20 +3528,13 @@
JNIEnv *env, jobject obj,
jbyteArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL;
jbyte *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4ubv (
(const GLubyte *) ptr0
);
@@ -4640,20 +3555,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4uiv (
(const GLuint *) ptr0
);
@@ -4674,20 +3582,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColor4usv (
(const GLushort *) ptr0
);
@@ -4708,15 +3609,8 @@
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__ (
+ disp__glTexCoord1d (
(GLdouble) s
);
@@ -4733,15 +3627,8 @@
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__ (
+ disp__glTexCoord1f (
(GLfloat) s
);
@@ -4758,15 +3645,8 @@
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__ (
+ disp__glTexCoord1i (
(GLint) s
);
@@ -4783,15 +3663,8 @@
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__ (
+ disp__glTexCoord1s (
(GLshort) s
);
@@ -4809,15 +3682,8 @@
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__ (
+ disp__glTexCoord2d (
(GLdouble) s,
(GLdouble) t
);
@@ -4836,15 +3702,8 @@
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__ (
+ disp__glTexCoord2f (
(GLfloat) s,
(GLfloat) t
);
@@ -4863,15 +3722,8 @@
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__ (
+ disp__glTexCoord2i (
(GLint) s,
(GLint) t
);
@@ -4890,15 +3742,8 @@
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__ (
+ disp__glTexCoord2s (
(GLshort) s,
(GLshort) t
);
@@ -4918,15 +3763,8 @@
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__ (
+ disp__glTexCoord3d (
(GLdouble) s,
(GLdouble) t,
(GLdouble) r
@@ -4947,15 +3785,8 @@
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__ (
+ disp__glTexCoord3f (
(GLfloat) s,
(GLfloat) t,
(GLfloat) r
@@ -4976,15 +3807,8 @@
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__ (
+ disp__glTexCoord3i (
(GLint) s,
(GLint) t,
(GLint) r
@@ -5005,15 +3829,8 @@
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__ (
+ disp__glTexCoord3s (
(GLshort) s,
(GLshort) t,
(GLshort) r
@@ -5035,15 +3852,8 @@
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__ (
+ disp__glTexCoord4d (
(GLdouble) s,
(GLdouble) t,
(GLdouble) r,
@@ -5066,15 +3876,8 @@
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__ (
+ disp__glTexCoord4f (
(GLfloat) s,
(GLfloat) t,
(GLfloat) r,
@@ -5097,15 +3900,8 @@
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__ (
+ disp__glTexCoord4i (
(GLint) s,
(GLint) t,
(GLint) r,
@@ -5128,15 +3924,8 @@
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__ (
+ disp__glTexCoord4s (
(GLshort) s,
(GLshort) t,
(GLshort) r,
@@ -5156,20 +3945,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1dv (
(const GLdouble *) ptr0
);
@@ -5190,20 +3972,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1fv (
(const GLfloat *) ptr0
);
@@ -5224,20 +3999,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1iv (
(const GLint *) ptr0
);
@@ -5258,20 +4026,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord1sv (
(const GLshort *) ptr0
);
@@ -5292,20 +4053,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2dv (
(const GLdouble *) ptr0
);
@@ -5326,20 +4080,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2fv (
(const GLfloat *) ptr0
);
@@ -5360,20 +4107,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2iv (
(const GLint *) ptr0
);
@@ -5394,20 +4134,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord2sv (
(const GLshort *) ptr0
);
@@ -5428,20 +4161,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3dv (
(const GLdouble *) ptr0
);
@@ -5462,20 +4188,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3fv (
(const GLfloat *) ptr0
);
@@ -5496,20 +4215,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3iv (
(const GLint *) ptr0
);
@@ -5530,20 +4242,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord3sv (
(const GLshort *) ptr0
);
@@ -5564,20 +4269,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4dv (
(const GLdouble *) ptr0
);
@@ -5598,20 +4296,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4fv (
(const GLfloat *) ptr0
);
@@ -5632,20 +4323,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4iv (
(const GLint *) ptr0
);
@@ -5666,20 +4350,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoord4sv (
(const GLshort *) ptr0
);
@@ -5701,15 +4378,8 @@
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__ (
+ disp__glRasterPos2d (
(GLdouble) x,
(GLdouble) y
);
@@ -5728,15 +4398,8 @@
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__ (
+ disp__glRasterPos2f (
(GLfloat) x,
(GLfloat) y
);
@@ -5755,15 +4418,8 @@
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__ (
+ disp__glRasterPos2i (
(GLint) x,
(GLint) y
);
@@ -5782,15 +4438,8 @@
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__ (
+ disp__glRasterPos2s (
(GLshort) x,
(GLshort) y
);
@@ -5810,15 +4459,8 @@
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__ (
+ disp__glRasterPos3d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z
@@ -5839,15 +4481,8 @@
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__ (
+ disp__glRasterPos3f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z
@@ -5868,15 +4503,8 @@
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__ (
+ disp__glRasterPos3i (
(GLint) x,
(GLint) y,
(GLint) z
@@ -5897,15 +4525,8 @@
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__ (
+ disp__glRasterPos3s (
(GLshort) x,
(GLshort) y,
(GLshort) z
@@ -5927,15 +4548,8 @@
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__ (
+ disp__glRasterPos4d (
(GLdouble) x,
(GLdouble) y,
(GLdouble) z,
@@ -5958,15 +4572,8 @@
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__ (
+ disp__glRasterPos4f (
(GLfloat) x,
(GLfloat) y,
(GLfloat) z,
@@ -5989,15 +4596,8 @@
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__ (
+ disp__glRasterPos4i (
(GLint) x,
(GLint) y,
(GLint) z,
@@ -6020,15 +4620,8 @@
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__ (
+ disp__glRasterPos4s (
(GLshort) x,
(GLshort) y,
(GLshort) z,
@@ -6048,20 +4641,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2dv (
(const GLdouble *) ptr0
);
@@ -6082,20 +4668,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2fv (
(const GLfloat *) ptr0
);
@@ -6116,20 +4695,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2iv (
(const GLint *) ptr0
);
@@ -6150,20 +4722,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos2sv (
(const GLshort *) ptr0
);
@@ -6184,20 +4749,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3dv (
(const GLdouble *) ptr0
);
@@ -6218,20 +4776,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3fv (
(const GLfloat *) ptr0
);
@@ -6252,20 +4803,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3iv (
(const GLint *) ptr0
);
@@ -6286,20 +4830,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos3sv (
(const GLshort *) ptr0
);
@@ -6320,20 +4857,13 @@
JNIEnv *env, jobject obj,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4dv (
(const GLdouble *) ptr0
);
@@ -6354,20 +4884,13 @@
JNIEnv *env, jobject obj,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4fv (
(const GLfloat *) ptr0
);
@@ -6388,20 +4911,13 @@
JNIEnv *env, jobject obj,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLint *) = NULL;
jint *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4iv (
(const GLint *) ptr0
);
@@ -6422,20 +4938,13 @@
JNIEnv *env, jobject obj,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL;
jshort *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glRasterPos4sv (
(const GLshort *) ptr0
);
@@ -6459,15 +4968,8 @@
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__ (
+ disp__glRectd (
(GLdouble) x1,
(GLdouble) y1,
(GLdouble) x2,
@@ -6490,15 +4992,8 @@
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__ (
+ disp__glRectf (
(GLfloat) x1,
(GLfloat) y1,
(GLfloat) x2,
@@ -6521,15 +5016,8 @@
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__ (
+ disp__glRecti (
(GLint) x1,
(GLint) y1,
(GLint) x2,
@@ -6552,15 +5040,8 @@
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__ (
+ disp__glRects (
(GLshort) x1,
(GLshort) y1,
(GLshort) x2,
@@ -6581,16 +5062,9 @@
jdoubleArray v1,
jdoubleArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *, const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
jdouble *ptr1 = NULL;
- 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, 0);
@@ -6599,7 +5073,7 @@
{
ptr1 = (*env)->GetDoubleArrayElements(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectdv (
(const GLdouble *) ptr0,
(const GLdouble *) ptr1
);
@@ -6626,16 +5100,9 @@
jfloatArray v1,
jfloatArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *, const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
@@ -6644,7 +5111,7 @@
{
ptr1 = (*env)->GetFloatArrayElements(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectfv (
(const GLfloat *) ptr0,
(const GLfloat *) ptr1
);
@@ -6671,16 +5138,9 @@
jintArray v1,
jintArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLint *, const GLint *) = NULL;
jint *ptr0 = NULL;
jint *ptr1 = NULL;
- 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, 0);
@@ -6689,7 +5149,7 @@
{
ptr1 = (*env)->GetIntArrayElements(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectiv (
(const GLint *) ptr0,
(const GLint *) ptr1
);
@@ -6716,16 +5176,9 @@
jshortArray v1,
jshortArray v2)
{
- static void (CALLBACK *__func_ptr__)(const GLshort *, const GLshort *) = NULL;
jshort *ptr0 = NULL;
jshort *ptr1 = NULL;
- 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, 0);
@@ -6734,7 +5187,7 @@
{
ptr1 = (*env)->GetShortArrayElements(env, v2, 0);
}
- __func_ptr__ (
+ disp__glRectsv (
(const GLshort *) ptr0,
(const GLshort *) ptr1
);
@@ -6763,20 +5216,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6796,20 +5242,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6829,20 +5268,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6862,20 +5294,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6895,20 +5320,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6928,20 +5346,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -6961,20 +5372,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7000,20 +5404,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7031,20 +5428,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7062,20 +5452,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7093,20 +5476,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7124,20 +5500,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7155,20 +5524,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7186,20 +5548,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7225,20 +5580,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7258,20 +5606,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7291,20 +5632,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7324,20 +5658,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7357,20 +5684,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7390,20 +5710,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7423,20 +5736,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7462,20 +5768,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7493,20 +5792,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7524,20 +5816,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7555,20 +5840,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7586,20 +5864,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7617,20 +5888,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7648,20 +5912,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointer (
(GLenum) type,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -7687,20 +5944,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7720,20 +5970,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7753,20 +5996,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7786,20 +6022,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7819,20 +6048,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7852,20 +6074,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7885,20 +6100,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointer (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -7923,20 +6131,13 @@
jint stride,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jbyte *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -7952,20 +6153,13 @@
jint stride,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jshort *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -7981,20 +6175,13 @@
jint stride,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8010,20 +6197,13 @@
jint stride,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8039,20 +6219,13 @@
jint stride,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jdouble *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8068,20 +6241,13 @@
jint stride,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jboolean *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8097,20 +6263,13 @@
jint stride,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL;
jlong *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointer (
(GLsizei) stride,
(const GLvoid *) ptr1
);
@@ -8133,21 +6292,14 @@
jint pname,
jbyteArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8163,21 +6315,14 @@
jint pname,
jshortArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8193,21 +6338,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8223,21 +6361,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8253,21 +6384,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8283,21 +6407,14 @@
jint pname,
jbooleanArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8313,21 +6430,14 @@
jint pname,
jlongArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointerv (
(GLenum) pname,
(void **) ptr1
);
@@ -8349,15 +6459,8 @@
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__ (
+ disp__glArrayElement (
(GLint) i
);
@@ -8376,15 +6479,8 @@
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__ (
+ disp__glDrawArrays (
(GLenum) mode,
(GLint) first,
(GLsizei) count
@@ -8406,20 +6502,13 @@
jint type,
jbyteArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8439,20 +6528,13 @@
jint type,
jshortArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8472,20 +6554,13 @@
jint type,
jintArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8505,20 +6580,13 @@
jint type,
jfloatArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8538,20 +6606,13 @@
jint type,
jdoubleArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8571,20 +6632,13 @@
jint type,
jbooleanArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8604,20 +6658,13 @@
jint type,
jlongArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawElements (
(GLenum) mode,
(GLsizei) count,
(GLenum) type,
@@ -8643,20 +6690,13 @@
jint stride,
jbyteArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jbyte *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8674,20 +6714,13 @@
jint stride,
jshortArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jshort *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8705,20 +6738,13 @@
jint stride,
jintArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8736,20 +6762,13 @@
jint stride,
jfloatArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8767,20 +6786,13 @@
jint stride,
jdoubleArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jdouble *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8798,20 +6810,13 @@
jint stride,
jbooleanArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jboolean *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8829,20 +6834,13 @@
jint stride,
jlongArray pointer)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL;
jlong *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glInterleavedArrays (
(GLenum) format,
(GLsizei) stride,
(const GLvoid *) ptr2
@@ -8865,15 +6863,8 @@
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__ (
+ disp__glShadeModel (
(GLenum) mode
);
@@ -8892,15 +6883,8 @@
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__ (
+ disp__glLightf (
(GLenum) light,
(GLenum) pname,
(GLfloat) param
@@ -8921,15 +6905,8 @@
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__ (
+ disp__glLighti (
(GLenum) light,
(GLenum) pname,
(GLint) param
@@ -8950,20 +6927,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glLightfv (
(GLenum) light,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -8988,20 +6958,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glLightiv (
(GLenum) light,
(GLenum) pname,
(const GLint *) ptr2
@@ -9026,21 +6989,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetLightfv (
(GLenum) light,
(GLenum) pname,
(GLfloat *) ptr2
@@ -9065,21 +7021,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetLightiv (
(GLenum) light,
(GLenum) pname,
(GLint *) ptr2
@@ -9103,15 +7052,8 @@
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__ (
+ disp__glLightModelf (
(GLenum) pname,
(GLfloat) param
);
@@ -9130,15 +7072,8 @@
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__ (
+ disp__glLightModeli (
(GLenum) pname,
(GLint) param
);
@@ -9157,20 +7092,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glLightModelfv (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -9193,20 +7121,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glLightModeliv (
(GLenum) pname,
(const GLint *) ptr1
);
@@ -9230,15 +7151,8 @@
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__ (
+ disp__glMaterialf (
(GLenum) face,
(GLenum) pname,
(GLfloat) param
@@ -9259,15 +7173,8 @@
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__ (
+ disp__glMateriali (
(GLenum) face,
(GLenum) pname,
(GLint) param
@@ -9288,20 +7195,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMaterialfv (
(GLenum) face,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -9326,20 +7226,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMaterialiv (
(GLenum) face,
(GLenum) pname,
(const GLint *) ptr2
@@ -9364,21 +7257,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMaterialfv (
(GLenum) face,
(GLenum) pname,
(GLfloat *) ptr2
@@ -9403,21 +7289,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMaterialiv (
(GLenum) face,
(GLenum) pname,
(GLint *) ptr2
@@ -9441,15 +7320,8 @@
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__ (
+ disp__glColorMaterial (
(GLenum) face,
(GLenum) mode
);
@@ -9468,15 +7340,8 @@
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__ (
+ disp__glPixelZoom (
(GLfloat) xfactor,
(GLfloat) yfactor
);
@@ -9495,15 +7360,8 @@
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__ (
+ disp__glPixelStoref (
(GLenum) pname,
(GLfloat) param
);
@@ -9522,15 +7380,8 @@
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__ (
+ disp__glPixelStorei (
(GLenum) pname,
(GLint) param
);
@@ -9549,15 +7400,8 @@
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__ (
+ disp__glPixelTransferf (
(GLenum) pname,
(GLfloat) param
);
@@ -9576,15 +7420,8 @@
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__ (
+ disp__glPixelTransferi (
(GLenum) pname,
(GLint) param
);
@@ -9604,20 +7441,13 @@
jint mapsize,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glPixelMapfv (
(GLenum) map,
(GLint) mapsize,
(const GLfloat *) ptr2
@@ -9642,20 +7472,13 @@
jint mapsize,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLuint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glPixelMapuiv (
(GLenum) map,
(GLint) mapsize,
(const GLuint *) ptr2
@@ -9680,20 +7503,13 @@
jint mapsize,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLushort *) = NULL;
jshort *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glPixelMapusv (
(GLenum) map,
(GLint) mapsize,
(const GLushort *) ptr2
@@ -9717,21 +7533,14 @@
jint map,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPixelMapfv (
(GLenum) map,
(GLfloat *) ptr1
);
@@ -9754,21 +7563,14 @@
jint map,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPixelMapuiv (
(GLenum) map,
(GLuint *) ptr1
);
@@ -9791,21 +7593,14 @@
jint map,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLushort *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPixelMapusv (
(GLenum) map,
(GLushort *) ptr1
);
@@ -9833,20 +7628,13 @@
jfloat ymove,
jbyteArray bitmap)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL;
jbyte *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glBitmap (
(GLsizei) width,
(GLsizei) height,
(GLfloat) xorig,
@@ -9879,21 +7667,14 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jbyte *ptr6 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -9919,21 +7700,14 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jshort *ptr6 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -9959,21 +7733,14 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jint *ptr6 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -9999,21 +7766,14 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jfloat *ptr6 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10039,21 +7799,14 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jdouble *ptr6 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10079,21 +7832,14 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jboolean *ptr6 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10119,21 +7865,14 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray6 = JNI_FALSE;
jlong *ptr6 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glReadPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10164,20 +7903,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10199,20 +7931,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10234,20 +7959,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10269,20 +7987,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10304,20 +8015,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10339,20 +8043,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10374,20 +8071,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawPixels (
(GLsizei) width,
(GLsizei) height,
(GLenum) format,
@@ -10416,15 +8106,8 @@
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__ (
+ disp__glCopyPixels (
(GLint) x,
(GLint) y,
(GLsizei) width,
@@ -10447,15 +8130,8 @@
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__ (
+ disp__glStencilFunc (
(GLenum) func,
(GLint) ref,
(GLuint) mask
@@ -10474,15 +8150,8 @@
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__ (
+ disp__glStencilMask (
(GLuint) mask
);
@@ -10501,15 +8170,8 @@
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__ (
+ disp__glStencilOp (
(GLenum) fail,
(GLenum) zfail,
(GLenum) zpass
@@ -10528,15 +8190,8 @@
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__ (
+ disp__glClearStencil (
(GLint) s
);
@@ -10555,15 +8210,8 @@
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__ (
+ disp__glTexGend (
(GLenum) coord,
(GLenum) pname,
(GLdouble) param
@@ -10584,15 +8232,8 @@
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__ (
+ disp__glTexGenf (
(GLenum) coord,
(GLenum) pname,
(GLfloat) param
@@ -10613,15 +8254,8 @@
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__ (
+ disp__glTexGeni (
(GLenum) coord,
(GLenum) pname,
(GLint) param
@@ -10642,20 +8276,13 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLdouble *) = NULL;
jdouble *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexGendv (
(GLenum) coord,
(GLenum) pname,
(const GLdouble *) ptr2
@@ -10680,20 +8307,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexGenfv (
(GLenum) coord,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -10718,20 +8338,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexGeniv (
(GLenum) coord,
(GLenum) pname,
(const GLint *) ptr2
@@ -10756,21 +8369,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexGendv (
(GLenum) coord,
(GLenum) pname,
(GLdouble *) ptr2
@@ -10795,21 +8401,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexGenfv (
(GLenum) coord,
(GLenum) pname,
(GLfloat *) ptr2
@@ -10834,21 +8433,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexGeniv (
(GLenum) coord,
(GLenum) pname,
(GLint *) ptr2
@@ -10873,15 +8465,8 @@
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__ (
+ disp__glTexEnvf (
(GLenum) target,
(GLenum) pname,
(GLfloat) param
@@ -10902,15 +8487,8 @@
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__ (
+ disp__glTexEnvi (
(GLenum) target,
(GLenum) pname,
(GLint) param
@@ -10931,20 +8509,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexEnvfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -10969,20 +8540,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexEnviv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -11007,21 +8571,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexEnvfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -11046,21 +8603,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexEnviv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -11085,15 +8635,8 @@
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__ (
+ disp__glTexParameterf (
(GLenum) target,
(GLenum) pname,
(GLfloat) param
@@ -11114,15 +8657,8 @@
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__ (
+ disp__glTexParameteri (
(GLenum) target,
(GLenum) pname,
(GLint) param
@@ -11143,20 +8679,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -11181,20 +8710,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -11219,21 +8741,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -11258,21 +8773,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -11298,21 +8806,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexLevelParameterfv (
(GLenum) target,
(GLint) level,
(GLenum) pname,
@@ -11339,21 +8840,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexLevelParameteriv (
(GLenum) target,
(GLint) level,
(GLenum) pname,
@@ -11384,20 +8878,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr7 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11425,20 +8912,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr7 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11466,20 +8946,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr7 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11507,20 +8980,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr7 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11548,20 +9014,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr7 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11589,20 +9048,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr7 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11630,20 +9082,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr7 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage1D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11679,20 +9124,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11722,20 +9160,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11765,20 +9196,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11808,20 +9232,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11851,20 +9268,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11894,20 +9304,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11937,20 +9340,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage2D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -11983,21 +9379,14 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12019,21 +9408,14 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12055,21 +9437,14 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12091,21 +9466,14 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12127,21 +9495,14 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12163,21 +9524,14 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12199,21 +9553,14 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetTexImage (
(GLenum) target,
(GLint) level,
(GLenum) format,
@@ -12239,21 +9586,14 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGenTextures (
(GLsizei) n,
(GLuint *) ptr1
);
@@ -12276,20 +9616,13 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDeleteTextures (
(GLsizei) n,
(const GLuint *) ptr1
);
@@ -12312,15 +9645,8 @@
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__ (
+ disp__glBindTexture (
(GLenum) target,
(GLuint) texture
);
@@ -12340,16 +9666,9 @@
jintArray textures,
jfloatArray priorities)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL;
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
@@ -12358,7 +9677,7 @@
{
ptr2 = (*env)->GetFloatArrayElements(env, priorities, 0);
}
- __func_ptr__ (
+ disp__glPrioritizeTextures (
(GLsizei) n,
(const GLuint *) ptr1,
(const GLclampf *) ptr2
@@ -12387,19 +9706,12 @@
jintArray textures,
jbooleanArray residences)
{
- static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL;
jboolean ret;
jint *ptr1 = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
- 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, 0);
@@ -12408,7 +9720,7 @@
{
ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2);
}
- ret = (jboolean) __func_ptr__ (
+ ret = (jboolean) disp__glAreTexturesResident (
(GLsizei) n,
(const GLuint *) ptr1,
(GLboolean *) ptr2
@@ -12436,17 +9748,10 @@
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__ (
+ ret = (jboolean) disp__glIsTexture (
(GLuint) texture
);
@@ -12470,20 +9775,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12509,20 +9807,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12548,20 +9839,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12587,20 +9871,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12626,20 +9903,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12665,20 +9935,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12704,20 +9967,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12752,20 +10008,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12795,20 +10044,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12838,20 +10080,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12881,20 +10116,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12924,20 +10152,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -12967,20 +10188,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13010,20 +10224,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr8 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13058,15 +10265,8 @@
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__ (
+ disp__glCopyTexImage1D (
(GLenum) target,
(GLint) level,
(GLenum) internalformat,
@@ -13096,15 +10296,8 @@
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__ (
+ disp__glCopyTexImage2D (
(GLenum) target,
(GLint) level,
(GLenum) internalformat,
@@ -13133,15 +10326,8 @@
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__ (
+ disp__glCopyTexSubImage1D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13170,15 +10356,8 @@
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__ (
+ disp__glCopyTexSubImage2D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -13207,20 +10386,13 @@
jint order,
jdoubleArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL;
jdouble *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMap1d (
(GLenum) target,
(GLdouble) u1,
(GLdouble) u2,
@@ -13251,20 +10423,13 @@
jint order,
jfloatArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL;
jfloat *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMap1f (
(GLenum) target,
(GLfloat) u1,
(GLfloat) u2,
@@ -13299,20 +10464,13 @@
jint vorder,
jdoubleArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL;
jdouble *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMap2d (
(GLenum) target,
(GLdouble) u1,
(GLdouble) u2,
@@ -13351,20 +10509,13 @@
jint vorder,
jfloatArray points)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL;
jfloat *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMap2f (
(GLenum) target,
(GLfloat) u1,
(GLfloat) u2,
@@ -13396,21 +10547,14 @@
jint query,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMapdv (
(GLenum) target,
(GLenum) query,
(GLdouble *) ptr2
@@ -13435,21 +10579,14 @@
jint query,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMapfv (
(GLenum) target,
(GLenum) query,
(GLfloat *) ptr2
@@ -13474,21 +10611,14 @@
jint query,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMapiv (
(GLenum) target,
(GLenum) query,
(GLint *) ptr2
@@ -13511,15 +10641,8 @@
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__ (
+ disp__glEvalCoord1d (
(GLdouble) u
);
@@ -13536,15 +10659,8 @@
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__ (
+ disp__glEvalCoord1f (
(GLfloat) u
);
@@ -13561,20 +10677,13 @@
JNIEnv *env, jobject obj,
jdoubleArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord1dv (
(const GLdouble *) ptr0
);
@@ -13595,20 +10704,13 @@
JNIEnv *env, jobject obj,
jfloatArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord1fv (
(const GLfloat *) ptr0
);
@@ -13630,15 +10732,8 @@
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__ (
+ disp__glEvalCoord2d (
(GLdouble) u,
(GLdouble) v
);
@@ -13657,15 +10752,8 @@
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__ (
+ disp__glEvalCoord2f (
(GLfloat) u,
(GLfloat) v
);
@@ -13683,20 +10771,13 @@
JNIEnv *env, jobject obj,
jdoubleArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL;
jdouble *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord2dv (
(const GLdouble *) ptr0
);
@@ -13717,20 +10798,13 @@
JNIEnv *env, jobject obj,
jfloatArray u)
{
- static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL;
jfloat *ptr0 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEvalCoord2fv (
(const GLfloat *) ptr0
);
@@ -13753,15 +10827,8 @@
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__ (
+ disp__glMapGrid1d (
(GLint) un,
(GLdouble) u1,
(GLdouble) u2
@@ -13782,15 +10849,8 @@
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__ (
+ disp__glMapGrid1f (
(GLint) un,
(GLfloat) u1,
(GLfloat) u2
@@ -13814,15 +10874,8 @@
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__ (
+ disp__glMapGrid2d (
(GLint) un,
(GLdouble) u1,
(GLdouble) u2,
@@ -13849,15 +10902,8 @@
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__ (
+ disp__glMapGrid2f (
(GLint) un,
(GLfloat) u1,
(GLfloat) u2,
@@ -13879,15 +10925,8 @@
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__ (
+ disp__glEvalPoint1 (
(GLint) i
);
@@ -13905,15 +10944,8 @@
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__ (
+ disp__glEvalPoint2 (
(GLint) i,
(GLint) j
);
@@ -13933,15 +10965,8 @@
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__ (
+ disp__glEvalMesh1 (
(GLenum) mode,
(GLint) i1,
(GLint) i2
@@ -13964,15 +10989,8 @@
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__ (
+ disp__glEvalMesh2 (
(GLenum) mode,
(GLint) i1,
(GLint) i2,
@@ -13994,15 +11012,8 @@
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__ (
+ disp__glFogf (
(GLenum) pname,
(GLfloat) param
);
@@ -14021,15 +11032,8 @@
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__ (
+ disp__glFogi (
(GLenum) pname,
(GLint) param
);
@@ -14048,20 +11052,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glFogfv (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -14084,20 +11081,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glFogiv (
(GLenum) pname,
(const GLint *) ptr1
);
@@ -14121,21 +11111,14 @@
jint type,
jfloatArray buffer)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glFeedbackBuffer (
(GLsizei) size,
(GLenum) type,
(GLfloat *) ptr2
@@ -14158,15 +11141,8 @@
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__ (
+ disp__glPassThrough (
(GLfloat) token
);
@@ -14184,21 +11160,14 @@
jint size,
jintArray buffer)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glSelectBuffer (
(GLsizei) size,
(GLuint *) ptr1
);
@@ -14219,15 +11188,8 @@
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__ (
+ disp__glInitNames (
);
}
@@ -14243,15 +11205,8 @@
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__ (
+ disp__glLoadName (
(GLuint) name
);
@@ -14268,15 +11223,8 @@
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__ (
+ disp__glPushName (
(GLuint) name
);
@@ -14292,15 +11240,8 @@
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__ (
+ disp__glPopName (
);
}
@@ -14321,20 +11262,13 @@
jint type,
jbyteArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14358,20 +11292,13 @@
jint type,
jshortArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14395,20 +11322,13 @@
jint type,
jintArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14432,20 +11352,13 @@
jint type,
jfloatArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14469,20 +11382,13 @@
jint type,
jdoubleArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14506,20 +11412,13 @@
jint type,
jbooleanArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14543,20 +11442,13 @@
jint type,
jlongArray indices)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDrawRangeElements (
(GLenum) mode,
(GLuint) start,
(GLuint) end,
@@ -14591,20 +11483,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14636,20 +11521,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14681,20 +11559,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14726,20 +11597,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14771,20 +11635,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14816,20 +11673,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14861,20 +11711,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3D (
(GLenum) target,
(GLint) level,
(GLint) internalFormat,
@@ -14914,20 +11757,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -14961,20 +11797,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15008,20 +11837,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15055,20 +11877,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15102,20 +11917,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15149,20 +11957,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15196,20 +11997,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15248,15 +12042,8 @@
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__ (
+ disp__glCopyTexSubImage3D (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -15286,20 +12073,13 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15323,20 +12103,13 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15360,20 +12133,13 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15397,20 +12163,13 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15434,20 +12193,13 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15471,20 +12223,13 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15508,20 +12253,13 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -15552,20 +12290,13 @@
jint type,
jbyteArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15589,20 +12320,13 @@
jint type,
jshortArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15626,20 +12350,13 @@
jint type,
jintArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15663,20 +12380,13 @@
jint type,
jfloatArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15700,20 +12410,13 @@
jint type,
jdoubleArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15737,20 +12440,13 @@
jint type,
jbooleanArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15774,20 +12470,13 @@
jint type,
jlongArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -15815,20 +12504,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -15853,20 +12535,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -15893,15 +12568,8 @@
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__ (
+ disp__glCopyColorSubTable (
(GLenum) target,
(GLsizei) start,
(GLint) x,
@@ -15926,15 +12594,8 @@
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__ (
+ disp__glCopyColorTable (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -15958,21 +12619,14 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -15992,21 +12646,14 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16026,21 +12673,14 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16060,21 +12700,14 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16094,21 +12727,14 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16128,21 +12754,14 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16162,21 +12781,14 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTable (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -16202,21 +12814,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -16241,21 +12846,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -16278,15 +12876,8 @@
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__ (
+ disp__glBlendEquation (
(GLenum) mode
);
@@ -16306,15 +12897,8 @@
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__ (
+ disp__glBlendColor (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -16337,15 +12921,8 @@
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__ (
+ disp__glHistogram (
(GLenum) target,
(GLsizei) width,
(GLenum) internalformat,
@@ -16365,15 +12942,8 @@
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__ (
+ disp__glResetHistogram (
(GLenum) target
);
@@ -16394,21 +12964,14 @@
jint type,
jbyteArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16430,21 +12993,14 @@
jint type,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16466,21 +13022,14 @@
jint type,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16502,21 +13051,14 @@
jint type,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16538,21 +13080,14 @@
jint type,
jdoubleArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16574,21 +13109,14 @@
jint type,
jbooleanArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16610,21 +13138,14 @@
jint type,
jlongArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogram (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16651,21 +13172,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogramParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -16690,21 +13204,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetHistogramParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -16729,15 +13236,8 @@
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__ (
+ disp__glMinmax (
(GLenum) target,
(GLenum) internalformat,
(GLboolean) sink
@@ -16756,15 +13256,8 @@
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__ (
+ disp__glResetMinmax (
(GLenum) target
);
@@ -16785,21 +13278,14 @@
jint types,
jbyteArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16821,21 +13307,14 @@
jint types,
jshortArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16857,21 +13336,14 @@
jint types,
jintArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16893,21 +13365,14 @@
jint types,
jfloatArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16929,21 +13394,14 @@
jint types,
jdoubleArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -16965,21 +13423,14 @@
jint types,
jbooleanArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -17001,21 +13452,14 @@
jint types,
jlongArray values)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmax (
(GLenum) target,
(GLboolean) reset,
(GLenum) format,
@@ -17042,21 +13486,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmaxParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -17081,21 +13518,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetMinmaxParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -17123,20 +13553,13 @@
jint type,
jbyteArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17160,20 +13583,13 @@
jint type,
jshortArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17197,20 +13613,13 @@
jint type,
jintArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17234,20 +13643,13 @@
jint type,
jfloatArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17271,20 +13673,13 @@
jint type,
jdoubleArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17308,20 +13703,13 @@
jint type,
jbooleanArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17345,20 +13733,13 @@
jint type,
jlongArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17390,20 +13771,13 @@
jint type,
jbyteArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17429,20 +13803,13 @@
jint type,
jshortArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17468,20 +13835,13 @@
jint type,
jintArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17507,20 +13867,13 @@
jint type,
jfloatArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17546,20 +13899,13 @@
jint type,
jdoubleArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17585,20 +13931,13 @@
jint type,
jbooleanArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17624,20 +13963,13 @@
jint type,
jlongArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr6 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -17666,15 +13998,8 @@
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__ (
+ disp__glConvolutionParameterf (
(GLenum) target,
(GLenum) pname,
(GLfloat) params
@@ -17695,20 +14020,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionParameterfv (
(GLenum) target,
(GLenum) pname,
(const GLfloat *) ptr2
@@ -17733,15 +14051,8 @@
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__ (
+ disp__glConvolutionParameteri (
(GLenum) target,
(GLenum) pname,
(GLint) params
@@ -17762,20 +14073,13 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL;
jint *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glConvolutionParameteriv (
(GLenum) target,
(GLenum) pname,
(const GLint *) ptr2
@@ -17802,15 +14106,8 @@
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__ (
+ disp__glCopyConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -17836,15 +14133,8 @@
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__ (
+ disp__glCopyConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLint) x,
@@ -17869,21 +14159,14 @@
jint type,
jbyteArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17903,21 +14186,14 @@
jint type,
jshortArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17937,21 +14213,14 @@
jint type,
jintArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -17971,21 +14240,14 @@
jint type,
jfloatArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18005,21 +14267,14 @@
jint type,
jdoubleArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18039,21 +14294,14 @@
jint type,
jbooleanArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18073,21 +14321,14 @@
jint type,
jlongArray image)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18113,21 +14354,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionParameterfv (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -18152,21 +14386,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetConvolutionParameteriv (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -18196,16 +14423,9 @@
jbyteArray row,
jbyteArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jbyte *ptr6 = NULL;
jbyte *ptr7 = NULL;
- 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, 0);
@@ -18214,7 +14434,7 @@
{
ptr7 = (*env)->GetByteArrayElements(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18246,16 +14466,9 @@
jshortArray row,
jshortArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jshort *ptr6 = NULL;
jshort *ptr7 = NULL;
- 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, 0);
@@ -18264,7 +14477,7 @@
{
ptr7 = (*env)->GetShortArrayElements(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18296,16 +14509,9 @@
jintArray row,
jintArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jint *ptr6 = NULL;
jint *ptr7 = NULL;
- 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, 0);
@@ -18314,7 +14520,7 @@
{
ptr7 = (*env)->GetIntArrayElements(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18346,16 +14552,9 @@
jfloatArray row,
jfloatArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jfloat *ptr6 = NULL;
jfloat *ptr7 = NULL;
- 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, 0);
@@ -18364,7 +14563,7 @@
{
ptr7 = (*env)->GetFloatArrayElements(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18396,16 +14595,9 @@
jdoubleArray row,
jdoubleArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jdouble *ptr6 = NULL;
jdouble *ptr7 = NULL;
- 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, 0);
@@ -18414,7 +14606,7 @@
{
ptr7 = (*env)->GetDoubleArrayElements(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18446,16 +14638,9 @@
jbooleanArray row,
jbooleanArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jboolean *ptr6 = NULL;
jboolean *ptr7 = NULL;
- 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, 0);
@@ -18464,7 +14649,7 @@
{
ptr7 = (*env)->GetBooleanArrayElements(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18496,16 +14681,9 @@
jlongArray row,
jlongArray column)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL;
jlong *ptr6 = NULL;
jlong *ptr7 = NULL;
- 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, 0);
@@ -18514,7 +14692,7 @@
{
ptr7 = (*env)->GetLongArrayElements(env, column, 0);
}
- __func_ptr__ (
+ disp__glSeparableFilter2D (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -18551,7 +14729,6 @@
jbyteArray column,
jbyteArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18559,12 +14736,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jbyte *ptr5 = NULL;
- 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);
@@ -18577,7 +14748,7 @@
{
ptr5 = (*env)->GetByteArrayElements(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18609,7 +14780,6 @@
jshortArray column,
jshortArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18617,12 +14787,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jshort *ptr5 = NULL;
- 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);
@@ -18635,7 +14799,7 @@
{
ptr5 = (*env)->GetShortArrayElements(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18667,7 +14831,6 @@
jintArray column,
jintArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18675,12 +14838,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jint *ptr5 = NULL;
- 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);
@@ -18693,7 +14850,7 @@
{
ptr5 = (*env)->GetIntArrayElements(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18725,7 +14882,6 @@
jfloatArray column,
jfloatArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18733,12 +14889,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jfloat *ptr5 = NULL;
- 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);
@@ -18751,7 +14901,7 @@
{
ptr5 = (*env)->GetFloatArrayElements(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18783,7 +14933,6 @@
jdoubleArray column,
jdoubleArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18791,12 +14940,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jdouble *ptr5 = NULL;
- 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);
@@ -18809,7 +14952,7 @@
{
ptr5 = (*env)->GetDoubleArrayElements(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18841,7 +14984,6 @@
jbooleanArray column,
jbooleanArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18849,12 +14991,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jboolean *ptr5 = NULL;
- 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);
@@ -18867,7 +15003,7 @@
{
ptr5 = (*env)->GetBooleanArrayElements(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18899,7 +15035,6 @@
jlongArray column,
jlongArray span)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
jboolean isCopiedArray4 = JNI_FALSE;
@@ -18907,12 +15042,6 @@
jboolean isCopiedArray5 = JNI_FALSE;
jlong *ptr5 = NULL;
- 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);
@@ -18925,7 +15054,7 @@
{
ptr5 = (*env)->GetLongArrayElements(env, span, &isCopiedArray5);
}
- __func_ptr__ (
+ disp__glGetSeparableFilter (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -18962,15 +15091,8 @@
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__ (
+ disp__glBlendColorEXT (
(GLclampf) red,
(GLclampf) green,
(GLclampf) blue,
@@ -18991,15 +15113,8 @@
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__ (
+ disp__glPolygonOffsetEXT (
(GLfloat) factor,
(GLfloat) bias
);
@@ -19026,20 +15141,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19071,20 +15179,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19116,20 +15217,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19161,20 +15255,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19206,20 +15293,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19251,20 +15331,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19296,20 +15369,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr9 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexImage3DEXT (
(GLenum) target,
(GLint) level,
(GLenum) internalFormat,
@@ -19349,20 +15415,13 @@
jint type,
jbyteArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19396,20 +15455,13 @@
jint type,
jshortArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19443,20 +15495,13 @@
jint type,
jintArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19490,20 +15535,13 @@
jint type,
jfloatArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19537,20 +15575,13 @@
jint type,
jdoubleArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19584,20 +15615,13 @@
jint type,
jbooleanArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19631,20 +15655,13 @@
jint type,
jlongArray pixels)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr10 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19683,15 +15700,8 @@
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__ (
+ disp__glCopyTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
(GLint) xoffset,
@@ -19717,21 +15727,14 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGenTexturesEXT (
(GLsizei) n,
(GLuint *) ptr1
);
@@ -19754,20 +15757,13 @@
jint n,
jintArray textures)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glDeleteTexturesEXT (
(GLsizei) n,
(const GLuint *) ptr1
);
@@ -19790,15 +15786,8 @@
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__ (
+ disp__glBindTextureEXT (
(GLenum) target,
(GLuint) texture
);
@@ -19818,16 +15807,9 @@
jintArray textures,
jfloatArray priorities)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL;
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
- 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, 0);
@@ -19836,7 +15818,7 @@
{
ptr2 = (*env)->GetFloatArrayElements(env, priorities, 0);
}
- __func_ptr__ (
+ disp__glPrioritizeTexturesEXT (
(GLsizei) n,
(const GLuint *) ptr1,
(const GLclampf *) ptr2
@@ -19865,19 +15847,12 @@
jintArray textures,
jbooleanArray residences)
{
- static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL;
jboolean ret;
jint *ptr1 = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
- 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, 0);
@@ -19886,7 +15861,7 @@
{
ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2);
}
- ret = (jboolean) __func_ptr__ (
+ ret = (jboolean) disp__glAreTexturesResidentEXT (
(GLsizei) n,
(const GLuint *) ptr1,
(GLboolean *) ptr2
@@ -19914,17 +15889,10 @@
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__ (
+ ret = (jboolean) disp__glIsTextureEXT (
(GLuint) texture
);
@@ -19946,20 +15914,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -19981,20 +15942,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20016,20 +15970,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20051,20 +15998,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20086,20 +16026,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20121,20 +16054,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20156,20 +16082,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glVertexPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20197,20 +16116,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20230,20 +16142,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20263,20 +16168,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20296,20 +16194,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20329,20 +16220,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20362,20 +16246,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20395,20 +16272,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glNormalPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20436,20 +16306,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20471,20 +16334,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20506,20 +16362,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20541,20 +16390,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20576,20 +16418,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20611,20 +16446,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20646,20 +16474,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20687,20 +16508,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20720,20 +16534,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20753,20 +16560,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20786,20 +16586,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20819,20 +16612,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20852,20 +16638,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20885,20 +16664,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr3 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glIndexPointerEXT (
(GLenum) type,
(GLsizei) stride,
(GLsizei) count,
@@ -20926,20 +16698,13 @@
jint count,
jbyteArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jbyte *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20961,20 +16726,13 @@
jint count,
jshortArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jshort *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -20996,20 +16754,13 @@
jint count,
jintArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jint *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21031,20 +16782,13 @@
jint count,
jfloatArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jfloat *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21066,20 +16810,13 @@
jint count,
jdoubleArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jdouble *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21101,20 +16838,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jboolean *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21136,20 +16866,13 @@
jint count,
jlongArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL;
jlong *ptr4 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glTexCoordPointerEXT (
(GLint) size,
(GLenum) type,
(GLsizei) stride,
@@ -21176,20 +16899,13 @@
jint count,
jbooleanArray ptr)
{
- static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, const GLboolean *) = NULL;
jboolean *ptr2 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glEdgeFlagPointerEXT (
(GLsizei) stride,
(GLsizei) count,
(const GLboolean *) ptr2
@@ -21213,21 +16929,14 @@
jint pname,
jbyteArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21243,21 +16952,14 @@
jint pname,
jshortArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21273,21 +16975,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21303,21 +16998,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21333,21 +17021,14 @@
jint pname,
jdoubleArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21363,21 +17044,14 @@
jint pname,
jbooleanArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21393,21 +17067,14 @@
jint pname,
jlongArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL;
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetPointervEXT (
(GLenum) pname,
(void **) ptr1
);
@@ -21429,15 +17096,8 @@
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__ (
+ disp__glArrayElementEXT (
(GLint) i
);
@@ -21456,15 +17116,8 @@
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__ (
+ disp__glDrawArraysEXT (
(GLenum) mode,
(GLint) first,
(GLsizei) count
@@ -21483,15 +17136,8 @@
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__ (
+ disp__glBlendEquationEXT (
(GLenum) mode
);
@@ -21509,15 +17155,8 @@
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__ (
+ disp__glPointParameterfEXT (
(GLenum) pname,
(GLfloat) param
);
@@ -21536,20 +17175,13 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glPointParameterfvEXT (
(GLenum) pname,
(const GLfloat *) ptr1
);
@@ -21576,20 +17208,13 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21613,20 +17238,13 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21650,20 +17268,13 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21687,20 +17298,13 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21724,20 +17328,13 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21761,20 +17358,13 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21798,20 +17388,13 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorTableEXT (
(GLenum) target,
(GLenum) internalformat,
(GLsizei) width,
@@ -21842,20 +17425,13 @@
jint type,
jbyteArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jbyte *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21879,20 +17455,13 @@
jint type,
jshortArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jshort *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21916,20 +17485,13 @@
jint type,
jintArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jint *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21953,20 +17515,13 @@
jint type,
jfloatArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jfloat *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -21990,20 +17545,13 @@
jint type,
jdoubleArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jdouble *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -22027,20 +17575,13 @@
jint type,
jbooleanArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jboolean *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -22064,20 +17605,13 @@
jint type,
jlongArray data)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL;
jlong *ptr5 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glColorSubTableEXT (
(GLenum) target,
(GLsizei) start,
(GLsizei) count,
@@ -22106,21 +17640,14 @@
jint type,
jbyteArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22140,21 +17667,14 @@
jint type,
jshortArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22174,21 +17694,14 @@
jint type,
jintArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22208,21 +17721,14 @@
jint type,
jfloatArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22242,21 +17748,14 @@
jint type,
jdoubleArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22276,21 +17775,14 @@
jint type,
jbooleanArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22310,21 +17802,14 @@
jint type,
jlongArray table)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL;
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableEXT (
(GLenum) target,
(GLenum) format,
(GLenum) type,
@@ -22350,21 +17835,14 @@
jint pname,
jfloatArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableParameterfvEXT (
(GLenum) target,
(GLenum) pname,
(GLfloat *) ptr2
@@ -22389,21 +17867,14 @@
jint pname,
jintArray params)
{
- static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL;
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
- 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);
}
- __func_ptr__ (
+ disp__glGetColorTableParameterivEXT (
(GLenum) target,
(GLenum) pname,
(GLint *) ptr2
@@ -22427,15 +17898,8 @@
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__ (
+ disp__glLockArraysEXT (
(GLint) first,
(GLsizei) count
);
@@ -22452,15 +17916,8 @@
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__ (
+ disp__glUnlockArraysEXT (
);
}
@@ -22476,15 +17933,8 @@
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__ (
+ disp__glActiveTextureARB (
(GLenum) texture
);
@@ -22501,15 +17951,8 @@
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__ (
+ disp__glClientActiveTextureARB (
(GLenum) texture
);
@@ -22527,15 +17970,8 @@
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__ (
+ disp__glMultiTexCoord1dARB (
(GLenum) target,
(GLdouble) s
);
@@ -22554,20 +17990,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -22590,15 +18019,8 @@
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__ (
+ disp__glMultiTexCoord1fARB (
(GLenum) target,
(GLfloat) s
);
@@ -22617,20 +18039,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -22653,15 +18068,8 @@
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__ (
+ disp__glMultiTexCoord1iARB (
(GLenum) target,
(GLint) s
);
@@ -22680,20 +18088,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -22716,15 +18117,8 @@
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__ (
+ disp__glMultiTexCoord1sARB (
(GLenum) target,
(GLshort) s
);
@@ -22743,20 +18137,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord1svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -22780,15 +18167,8 @@
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__ (
+ disp__glMultiTexCoord2dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t
@@ -22808,20 +18188,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -22845,15 +18218,8 @@
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__ (
+ disp__glMultiTexCoord2fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t
@@ -22873,20 +18239,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -22910,15 +18269,8 @@
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__ (
+ disp__glMultiTexCoord2iARB (
(GLenum) target,
(GLint) s,
(GLint) t
@@ -22938,20 +18290,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -22975,15 +18320,8 @@
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__ (
+ disp__glMultiTexCoord2sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t
@@ -23003,20 +18341,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord2svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -23041,15 +18372,8 @@
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__ (
+ disp__glMultiTexCoord3dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t,
@@ -23070,20 +18394,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -23108,15 +18425,8 @@
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__ (
+ disp__glMultiTexCoord3fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t,
@@ -23137,20 +18447,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -23175,15 +18478,8 @@
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__ (
+ disp__glMultiTexCoord3iARB (
(GLenum) target,
(GLint) s,
(GLint) t,
@@ -23204,20 +18500,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -23242,15 +18531,8 @@
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__ (
+ disp__glMultiTexCoord3sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t,
@@ -23271,20 +18553,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord3svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -23310,15 +18585,8 @@
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__ (
+ disp__glMultiTexCoord4dARB (
(GLenum) target,
(GLdouble) s,
(GLdouble) t,
@@ -23340,20 +18608,13 @@
jint target,
jdoubleArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL;
jdouble *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4dvARB (
(GLenum) target,
(const GLdouble *) ptr1
);
@@ -23379,15 +18640,8 @@
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__ (
+ disp__glMultiTexCoord4fARB (
(GLenum) target,
(GLfloat) s,
(GLfloat) t,
@@ -23409,20 +18663,13 @@
jint target,
jfloatArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL;
jfloat *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4fvARB (
(GLenum) target,
(const GLfloat *) ptr1
);
@@ -23448,15 +18695,8 @@
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__ (
+ disp__glMultiTexCoord4iARB (
(GLenum) target,
(GLint) s,
(GLint) t,
@@ -23478,20 +18718,13 @@
jint target,
jintArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL;
jint *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4ivARB (
(GLenum) target,
(const GLint *) ptr1
);
@@ -23517,15 +18750,8 @@
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__ (
+ disp__glMultiTexCoord4sARB (
(GLenum) target,
(GLshort) s,
(GLshort) t,
@@ -23547,20 +18773,13 @@
jint target,
jshortArray v)
{
- static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL;
jshort *ptr1 = NULL;
- 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, 0);
}
- __func_ptr__ (
+ disp__glMultiTexCoord4svARB (
(GLenum) target,
(const GLshort *) ptr1
);
@@ -23571,4 +18790,4 @@
}
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/gl-protoVirt-auto.java b/C2J/gl-protoVirt-auto.java
index f0f1686..08f116e 100644
--- a/C2J/gl-protoVirt-auto.java
+++ b/C2J/gl-protoVirt-auto.java
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -6952,4 +6952,4 @@
short[] v
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/glu-enum-auto.java b/C2J/glu-enum-auto.java
index 2fe24d2..7134338 100644
--- a/C2J/glu-enum-auto.java
+++ b/C2J/glu-enum-auto.java
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-enum-auto.orig.h . . .
* Destination-Class: gl4java_GLUEnum !
@@ -111,4 +111,4 @@
public static final int GLU_EDGE_FLAG = GLU_TESS_EDGE_FLAG;
public static final int GLU_END = GLU_TESS_END;
public static final int GLU_ERROR = GLU_TESS_ERROR;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/glu-proto-auto-jni12.c b/C2J/glu-proto-auto-jni12.c
index 6fe27d2..9bd3e41 100644
--- a/C2J/glu-proto-auto-jni12.c
+++ b/C2J/glu-proto-auto-jni12.c
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -25,7 +25,7 @@
jdouble upz)
{
- gluLookAt (
+ disp__gluLookAt (
(GLdouble) eyex,
(GLdouble) eyey,
(GLdouble) eyez,
@@ -54,7 +54,7 @@
jdouble top)
{
- gluOrtho2D (
+ disp__gluOrtho2D (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -78,7 +78,7 @@
jdouble zFar)
{
- gluPerspective (
+ disp__gluPerspective (
(GLdouble) fovy,
(GLdouble) aspect,
(GLdouble) zNear,
@@ -109,7 +109,7 @@
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4);
}
- gluPickMatrix (
+ disp__gluPickMatrix (
(GLdouble) x,
(GLdouble) y,
(GLdouble) width,
@@ -178,7 +178,7 @@
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8);
}
- ret = (jint) gluProject (
+ ret = (jint) disp__gluProject (
(GLdouble) objx,
(GLdouble) objy,
(GLdouble) objz,
@@ -272,7 +272,7 @@
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8);
}
- ret = (jint) gluUnProject (
+ ret = (jint) disp__gluUnProject (
(GLdouble) winx,
(GLdouble) winy,
(GLdouble) winz,
@@ -344,7 +344,7 @@
{
ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8);
}
- ret = (jint) gluScaleImage (
+ ret = (jint) disp__gluScaleImage (
(GLenum) format,
(GLsizei) widthin,
(GLsizei) heightin,
@@ -391,7 +391,7 @@
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -424,7 +424,7 @@
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -457,7 +457,7 @@
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -490,7 +490,7 @@
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -523,7 +523,7 @@
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -556,7 +556,7 @@
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -589,7 +589,7 @@
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -630,7 +630,7 @@
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -665,7 +665,7 @@
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -700,7 +700,7 @@
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -735,7 +735,7 @@
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -770,7 +770,7 @@
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -805,7 +805,7 @@
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -840,7 +840,7 @@
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -870,7 +870,7 @@
jint drawStyle)
{
- gluQuadricDrawStyle (
+ disp__gluQuadricDrawStyle (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) drawStyle
);
@@ -890,7 +890,7 @@
jint orientation)
{
- gluQuadricOrientation (
+ disp__gluQuadricOrientation (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) orientation
);
@@ -910,7 +910,7 @@
jint normals)
{
- gluQuadricNormals (
+ disp__gluQuadricNormals (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) normals
);
@@ -930,7 +930,7 @@
jboolean textureCoords)
{
- gluQuadricTexture (
+ disp__gluQuadricTexture (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLboolean) textureCoords
);
@@ -954,7 +954,7 @@
jint stacks)
{
- gluCylinder (
+ disp__gluCylinder (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) baseRadius,
(GLdouble) topRadius,
@@ -980,7 +980,7 @@
jint stacks)
{
- gluSphere (
+ disp__gluSphere (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) radius,
(GLint) slices,
@@ -1005,7 +1005,7 @@
jint loops)
{
- gluDisk (
+ disp__gluDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1033,7 +1033,7 @@
jdouble sweepAngle)
{
- gluPartialDisk (
+ disp__gluPartialDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1075,7 +1075,7 @@
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
}
- gluLoadSamplingMatrices (
+ disp__gluLoadSamplingMatrices (
(GLUnurbsObj *) (PointerHolder) nobj,
(const GLfloat *) ptr1,
(const GLfloat *) ptr2,
@@ -1110,7 +1110,7 @@
jfloat value)
{
- gluNurbsProperty (
+ disp__gluNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat) value
@@ -1138,7 +1138,7 @@
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
}
- gluGetNurbsProperty (
+ disp__gluGetNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat *) ptr2
@@ -1162,7 +1162,7 @@
jlong nobj)
{
- gluBeginCurve (
+ disp__gluBeginCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1180,7 +1180,7 @@
jlong nobj)
{
- gluEndCurve (
+ disp__gluEndCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1216,7 +1216,7 @@
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4);
}
- gluNurbsCurve (
+ disp__gluNurbsCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) nknots,
(GLfloat *) ptr2,
@@ -1248,7 +1248,7 @@
jlong nobj)
{
- gluBeginSurface (
+ disp__gluBeginSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1266,7 +1266,7 @@
jlong nobj)
{
- gluEndSurface (
+ disp__gluEndSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1312,7 +1312,7 @@
{
ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7);
}
- gluNurbsSurface (
+ disp__gluNurbsSurface (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) sknot_count,
(GLfloat *) ptr2,
@@ -1352,7 +1352,7 @@
jlong nobj)
{
- gluBeginTrim (
+ disp__gluBeginTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1370,7 +1370,7 @@
jlong nobj)
{
- gluEndTrim (
+ disp__gluEndTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1398,7 +1398,7 @@
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2);
}
- gluPwlCurve (
+ disp__gluPwlCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) count,
(GLfloat *) ptr2,
@@ -1431,7 +1431,7 @@
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1454,7 +1454,7 @@
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1477,7 +1477,7 @@
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1500,7 +1500,7 @@
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1523,7 +1523,7 @@
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1546,7 +1546,7 @@
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1569,7 +1569,7 @@
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1592,7 +1592,7 @@
jlong tobj)
{
- gluTessBeginContour (
+ disp__gluTessBeginContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1624,7 +1624,7 @@
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1659,7 +1659,7 @@
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1694,7 +1694,7 @@
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1729,7 +1729,7 @@
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1764,7 +1764,7 @@
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1799,7 +1799,7 @@
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1834,7 +1834,7 @@
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1862,7 +1862,7 @@
jlong tobj)
{
- gluTessEndContour (
+ disp__gluTessEndContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1880,7 +1880,7 @@
jlong tobj)
{
- gluTessEndPolygon (
+ disp__gluTessEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1900,7 +1900,7 @@
jdouble value)
{
- gluTessProperty (
+ disp__gluTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble) value
@@ -1923,7 +1923,7 @@
jdouble z)
{
- gluTessNormal (
+ disp__gluTessNormal (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble) x,
(GLdouble) y,
@@ -1952,7 +1952,7 @@
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
}
- gluGetTessProperty (
+ disp__gluGetTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble *) ptr2
@@ -1976,7 +1976,7 @@
jlong tobj)
{
- gluBeginPolygon (
+ disp__gluBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1995,7 +1995,7 @@
jint type)
{
- gluNextContour (
+ disp__gluNextContour (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) type
);
@@ -2014,10 +2014,10 @@
jlong tobj)
{
- gluEndPolygon (
+ disp__gluEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/glu-proto-auto-tst-jni12.c b/C2J/glu-proto-auto-tst-jni12.c
index 1c371f0..46ef0f4 100644
--- a/C2J/glu-proto-auto-tst-jni12.c
+++ b/C2J/glu-proto-auto-tst-jni12.c
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -25,7 +25,7 @@
jdouble upz)
{
- gluLookAt (
+ disp__gluLookAt (
(GLdouble) eyex,
(GLdouble) eyey,
(GLdouble) eyez,
@@ -54,7 +54,7 @@
jdouble top)
{
- gluOrtho2D (
+ disp__gluOrtho2D (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -78,7 +78,7 @@
jdouble zFar)
{
- gluPerspective (
+ disp__gluPerspective (
(GLdouble) fovy,
(GLdouble) aspect,
(GLdouble) zNear,
@@ -114,7 +114,7 @@
printf("COPY by gluPickMatrix arg: viewport");
}
}
- gluPickMatrix (
+ disp__gluPickMatrix (
(GLdouble) x,
(GLdouble) y,
(GLdouble) width,
@@ -216,7 +216,7 @@
printf("COPY by gluProject arg: winz");
}
}
- ret = (jint) gluProject (
+ ret = (jint) disp__gluProject (
(GLdouble) objx,
(GLdouble) objy,
(GLdouble) objz,
@@ -343,7 +343,7 @@
printf("COPY by gluUnProject arg: objz");
}
}
- ret = (jint) gluUnProject (
+ ret = (jint) disp__gluUnProject (
(GLdouble) winx,
(GLdouble) winy,
(GLdouble) winz,
@@ -426,7 +426,7 @@
printf("COPY by gluScaleImage arg: dataout");
}
}
- ret = (jint) gluScaleImage (
+ ret = (jint) disp__gluScaleImage (
(GLenum) format,
(GLsizei) widthin,
(GLsizei) heightin,
@@ -479,7 +479,7 @@
printf("COPY by gluBuild1DMipmaps arg: data");
}
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -518,7 +518,7 @@
printf("COPY by gluBuild1DMipmaps arg: data");
}
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -557,7 +557,7 @@
printf("COPY by gluBuild1DMipmaps arg: data");
}
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -596,7 +596,7 @@
printf("COPY by gluBuild1DMipmaps arg: data");
}
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -635,7 +635,7 @@
printf("COPY by gluBuild1DMipmaps arg: data");
}
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -674,7 +674,7 @@
printf("COPY by gluBuild1DMipmaps arg: data");
}
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -713,7 +713,7 @@
printf("COPY by gluBuild1DMipmaps arg: data");
}
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -760,7 +760,7 @@
printf("COPY by gluBuild2DMipmaps arg: data");
}
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -801,7 +801,7 @@
printf("COPY by gluBuild2DMipmaps arg: data");
}
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -842,7 +842,7 @@
printf("COPY by gluBuild2DMipmaps arg: data");
}
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -883,7 +883,7 @@
printf("COPY by gluBuild2DMipmaps arg: data");
}
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -924,7 +924,7 @@
printf("COPY by gluBuild2DMipmaps arg: data");
}
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -965,7 +965,7 @@
printf("COPY by gluBuild2DMipmaps arg: data");
}
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1006,7 +1006,7 @@
printf("COPY by gluBuild2DMipmaps arg: data");
}
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1036,7 +1036,7 @@
jint drawStyle)
{
- gluQuadricDrawStyle (
+ disp__gluQuadricDrawStyle (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) drawStyle
);
@@ -1056,7 +1056,7 @@
jint orientation)
{
- gluQuadricOrientation (
+ disp__gluQuadricOrientation (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) orientation
);
@@ -1076,7 +1076,7 @@
jint normals)
{
- gluQuadricNormals (
+ disp__gluQuadricNormals (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) normals
);
@@ -1096,7 +1096,7 @@
jboolean textureCoords)
{
- gluQuadricTexture (
+ disp__gluQuadricTexture (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLboolean) textureCoords
);
@@ -1120,7 +1120,7 @@
jint stacks)
{
- gluCylinder (
+ disp__gluCylinder (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) baseRadius,
(GLdouble) topRadius,
@@ -1146,7 +1146,7 @@
jint stacks)
{
- gluSphere (
+ disp__gluSphere (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) radius,
(GLint) slices,
@@ -1171,7 +1171,7 @@
jint loops)
{
- gluDisk (
+ disp__gluDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1199,7 +1199,7 @@
jdouble sweepAngle)
{
- gluPartialDisk (
+ disp__gluPartialDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1259,7 +1259,7 @@
printf("COPY by gluLoadSamplingMatrices arg: viewport");
}
}
- gluLoadSamplingMatrices (
+ disp__gluLoadSamplingMatrices (
(GLUnurbsObj *) (PointerHolder) nobj,
(const GLfloat *) ptr1,
(const GLfloat *) ptr2,
@@ -1294,7 +1294,7 @@
jfloat value)
{
- gluNurbsProperty (
+ disp__gluNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat) value
@@ -1327,7 +1327,7 @@
printf("COPY by gluGetNurbsProperty arg: value");
}
}
- gluGetNurbsProperty (
+ disp__gluGetNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat *) ptr2
@@ -1351,7 +1351,7 @@
jlong nobj)
{
- gluBeginCurve (
+ disp__gluBeginCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1369,7 +1369,7 @@
jlong nobj)
{
- gluEndCurve (
+ disp__gluEndCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1415,7 +1415,7 @@
printf("COPY by gluNurbsCurve arg: ctlarray");
}
}
- gluNurbsCurve (
+ disp__gluNurbsCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) nknots,
(GLfloat *) ptr2,
@@ -1447,7 +1447,7 @@
jlong nobj)
{
- gluBeginSurface (
+ disp__gluBeginSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1465,7 +1465,7 @@
jlong nobj)
{
- gluEndSurface (
+ disp__gluEndSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1526,7 +1526,7 @@
printf("COPY by gluNurbsSurface arg: ctlarray");
}
}
- gluNurbsSurface (
+ disp__gluNurbsSurface (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) sknot_count,
(GLfloat *) ptr2,
@@ -1566,7 +1566,7 @@
jlong nobj)
{
- gluBeginTrim (
+ disp__gluBeginTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1584,7 +1584,7 @@
jlong nobj)
{
- gluEndTrim (
+ disp__gluEndTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1617,7 +1617,7 @@
printf("COPY by gluPwlCurve arg: array");
}
}
- gluPwlCurve (
+ disp__gluPwlCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) count,
(GLfloat *) ptr2,
@@ -1655,7 +1655,7 @@
printf("COPY by gluTessBeginPolygon arg: polygon_data");
}
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1683,7 +1683,7 @@
printf("COPY by gluTessBeginPolygon arg: polygon_data");
}
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1711,7 +1711,7 @@
printf("COPY by gluTessBeginPolygon arg: polygon_data");
}
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1739,7 +1739,7 @@
printf("COPY by gluTessBeginPolygon arg: polygon_data");
}
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1767,7 +1767,7 @@
printf("COPY by gluTessBeginPolygon arg: polygon_data");
}
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1795,7 +1795,7 @@
printf("COPY by gluTessBeginPolygon arg: polygon_data");
}
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1823,7 +1823,7 @@
printf("COPY by gluTessBeginPolygon arg: polygon_data");
}
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1846,7 +1846,7 @@
jlong tobj)
{
- gluTessBeginContour (
+ disp__gluTessBeginContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1888,7 +1888,7 @@
printf("COPY by gluTessVertex arg: vertex_data");
}
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1933,7 +1933,7 @@
printf("COPY by gluTessVertex arg: vertex_data");
}
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1978,7 +1978,7 @@
printf("COPY by gluTessVertex arg: vertex_data");
}
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2023,7 +2023,7 @@
printf("COPY by gluTessVertex arg: vertex_data");
}
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2068,7 +2068,7 @@
printf("COPY by gluTessVertex arg: vertex_data");
}
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2113,7 +2113,7 @@
printf("COPY by gluTessVertex arg: vertex_data");
}
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2158,7 +2158,7 @@
printf("COPY by gluTessVertex arg: vertex_data");
}
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2186,7 +2186,7 @@
jlong tobj)
{
- gluTessEndContour (
+ disp__gluTessEndContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2204,7 +2204,7 @@
jlong tobj)
{
- gluTessEndPolygon (
+ disp__gluTessEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2224,7 +2224,7 @@
jdouble value)
{
- gluTessProperty (
+ disp__gluTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble) value
@@ -2247,7 +2247,7 @@
jdouble z)
{
- gluTessNormal (
+ disp__gluTessNormal (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble) x,
(GLdouble) y,
@@ -2281,7 +2281,7 @@
printf("COPY by gluGetTessProperty arg: value");
}
}
- gluGetTessProperty (
+ disp__gluGetTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble *) ptr2
@@ -2305,7 +2305,7 @@
jlong tobj)
{
- gluBeginPolygon (
+ disp__gluBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2324,7 +2324,7 @@
jint type)
{
- gluNextContour (
+ disp__gluNextContour (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) type
);
@@ -2343,10 +2343,10 @@
jlong tobj)
{
- gluEndPolygon (
+ disp__gluEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/glu-proto-auto.c b/C2J/glu-proto-auto.c
index 5153bfc..39c2bb5 100644
--- a/C2J/glu-proto-auto.c
+++ b/C2J/glu-proto-auto.c
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -25,7 +25,7 @@
jdouble upz)
{
- gluLookAt (
+ disp__gluLookAt (
(GLdouble) eyex,
(GLdouble) eyey,
(GLdouble) eyez,
@@ -54,7 +54,7 @@
jdouble top)
{
- gluOrtho2D (
+ disp__gluOrtho2D (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -78,7 +78,7 @@
jdouble zFar)
{
- gluPerspective (
+ disp__gluPerspective (
(GLdouble) fovy,
(GLdouble) aspect,
(GLdouble) zNear,
@@ -109,7 +109,7 @@
{
ptr4 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray4);
}
- gluPickMatrix (
+ disp__gluPickMatrix (
(GLdouble) x,
(GLdouble) y,
(GLdouble) width,
@@ -178,7 +178,7 @@
{
ptr8 = (*env)->GetDoubleArrayElements(env, winz, &isCopiedArray8);
}
- ret = (jint) gluProject (
+ ret = (jint) disp__gluProject (
(GLdouble) objx,
(GLdouble) objy,
(GLdouble) objz,
@@ -272,7 +272,7 @@
{
ptr8 = (*env)->GetDoubleArrayElements(env, objz, &isCopiedArray8);
}
- ret = (jint) gluUnProject (
+ ret = (jint) disp__gluUnProject (
(GLdouble) winx,
(GLdouble) winy,
(GLdouble) winz,
@@ -344,7 +344,7 @@
{
ptr8 = (*env)->GetByteArrayElements(env, dataout, &isCopiedArray8);
}
- ret = (jint) gluScaleImage (
+ ret = (jint) disp__gluScaleImage (
(GLenum) format,
(GLsizei) widthin,
(GLsizei) heightin,
@@ -391,7 +391,7 @@
{
ptr5 = (*env)->GetByteArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -424,7 +424,7 @@
{
ptr5 = (*env)->GetShortArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -457,7 +457,7 @@
{
ptr5 = (*env)->GetIntArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -490,7 +490,7 @@
{
ptr5 = (*env)->GetFloatArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -523,7 +523,7 @@
{
ptr5 = (*env)->GetDoubleArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -556,7 +556,7 @@
{
ptr5 = (*env)->GetBooleanArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -589,7 +589,7 @@
{
ptr5 = (*env)->GetLongArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -630,7 +630,7 @@
{
ptr6 = (*env)->GetByteArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -665,7 +665,7 @@
{
ptr6 = (*env)->GetShortArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -700,7 +700,7 @@
{
ptr6 = (*env)->GetIntArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -735,7 +735,7 @@
{
ptr6 = (*env)->GetFloatArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -770,7 +770,7 @@
{
ptr6 = (*env)->GetDoubleArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -805,7 +805,7 @@
{
ptr6 = (*env)->GetBooleanArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -840,7 +840,7 @@
{
ptr6 = (*env)->GetLongArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -870,7 +870,7 @@
jint drawStyle)
{
- gluQuadricDrawStyle (
+ disp__gluQuadricDrawStyle (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) drawStyle
);
@@ -890,7 +890,7 @@
jint orientation)
{
- gluQuadricOrientation (
+ disp__gluQuadricOrientation (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) orientation
);
@@ -910,7 +910,7 @@
jint normals)
{
- gluQuadricNormals (
+ disp__gluQuadricNormals (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) normals
);
@@ -930,7 +930,7 @@
jboolean textureCoords)
{
- gluQuadricTexture (
+ disp__gluQuadricTexture (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLboolean) textureCoords
);
@@ -954,7 +954,7 @@
jint stacks)
{
- gluCylinder (
+ disp__gluCylinder (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) baseRadius,
(GLdouble) topRadius,
@@ -980,7 +980,7 @@
jint stacks)
{
- gluSphere (
+ disp__gluSphere (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) radius,
(GLint) slices,
@@ -1005,7 +1005,7 @@
jint loops)
{
- gluDisk (
+ disp__gluDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1033,7 +1033,7 @@
jdouble sweepAngle)
{
- gluPartialDisk (
+ disp__gluPartialDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1075,7 +1075,7 @@
{
ptr3 = (*env)->GetIntArrayElements(env, viewport, 0);
}
- gluLoadSamplingMatrices (
+ disp__gluLoadSamplingMatrices (
(GLUnurbsObj *) (PointerHolder) nobj,
(const GLfloat *) ptr1,
(const GLfloat *) ptr2,
@@ -1110,7 +1110,7 @@
jfloat value)
{
- gluNurbsProperty (
+ disp__gluNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat) value
@@ -1138,7 +1138,7 @@
{
ptr2 = (*env)->GetFloatArrayElements(env, value, &isCopiedArray2);
}
- gluGetNurbsProperty (
+ disp__gluGetNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat *) ptr2
@@ -1162,7 +1162,7 @@
jlong nobj)
{
- gluBeginCurve (
+ disp__gluBeginCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1180,7 +1180,7 @@
jlong nobj)
{
- gluEndCurve (
+ disp__gluEndCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1216,7 +1216,7 @@
{
ptr4 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray4);
}
- gluNurbsCurve (
+ disp__gluNurbsCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) nknots,
(GLfloat *) ptr2,
@@ -1248,7 +1248,7 @@
jlong nobj)
{
- gluBeginSurface (
+ disp__gluBeginSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1266,7 +1266,7 @@
jlong nobj)
{
- gluEndSurface (
+ disp__gluEndSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1312,7 +1312,7 @@
{
ptr7 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray7);
}
- gluNurbsSurface (
+ disp__gluNurbsSurface (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) sknot_count,
(GLfloat *) ptr2,
@@ -1352,7 +1352,7 @@
jlong nobj)
{
- gluBeginTrim (
+ disp__gluBeginTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1370,7 +1370,7 @@
jlong nobj)
{
- gluEndTrim (
+ disp__gluEndTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1398,7 +1398,7 @@
{
ptr2 = (*env)->GetFloatArrayElements(env, array, &isCopiedArray2);
}
- gluPwlCurve (
+ disp__gluPwlCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) count,
(GLfloat *) ptr2,
@@ -1431,7 +1431,7 @@
{
ptr1 = (*env)->GetByteArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1454,7 +1454,7 @@
{
ptr1 = (*env)->GetShortArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1477,7 +1477,7 @@
{
ptr1 = (*env)->GetIntArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1500,7 +1500,7 @@
{
ptr1 = (*env)->GetFloatArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1523,7 +1523,7 @@
{
ptr1 = (*env)->GetDoubleArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1546,7 +1546,7 @@
{
ptr1 = (*env)->GetBooleanArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1569,7 +1569,7 @@
{
ptr1 = (*env)->GetLongArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1592,7 +1592,7 @@
jlong tobj)
{
- gluTessBeginContour (
+ disp__gluTessBeginContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1624,7 +1624,7 @@
{
ptr2 = (*env)->GetByteArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1659,7 +1659,7 @@
{
ptr2 = (*env)->GetShortArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1694,7 +1694,7 @@
{
ptr2 = (*env)->GetIntArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1729,7 +1729,7 @@
{
ptr2 = (*env)->GetFloatArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1764,7 +1764,7 @@
{
ptr2 = (*env)->GetDoubleArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1799,7 +1799,7 @@
{
ptr2 = (*env)->GetBooleanArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1834,7 +1834,7 @@
{
ptr2 = (*env)->GetLongArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1862,7 +1862,7 @@
jlong tobj)
{
- gluTessEndContour (
+ disp__gluTessEndContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1880,7 +1880,7 @@
jlong tobj)
{
- gluTessEndPolygon (
+ disp__gluTessEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1900,7 +1900,7 @@
jdouble value)
{
- gluTessProperty (
+ disp__gluTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble) value
@@ -1923,7 +1923,7 @@
jdouble z)
{
- gluTessNormal (
+ disp__gluTessNormal (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble) x,
(GLdouble) y,
@@ -1952,7 +1952,7 @@
{
ptr2 = (*env)->GetDoubleArrayElements(env, value, &isCopiedArray2);
}
- gluGetTessProperty (
+ disp__gluGetTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble *) ptr2
@@ -1976,7 +1976,7 @@
jlong tobj)
{
- gluBeginPolygon (
+ disp__gluBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1995,7 +1995,7 @@
jint type)
{
- gluNextContour (
+ disp__gluNextContour (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) type
);
@@ -2014,10 +2014,10 @@
jlong tobj)
{
- gluEndPolygon (
+ disp__gluEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/glu-proto-auto.java b/C2J/glu-proto-auto.java
index 7fe511c..9e48c57 100644
--- a/C2J/glu-proto-auto.java
+++ b/C2J/glu-proto-auto.java
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -674,4 +674,4 @@
long tobj
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/glu-protoVirt-auto.java b/C2J/glu-protoVirt-auto.java
index a8f9c54..387be57 100644
--- a/C2J/glu-protoVirt-auto.java
+++ b/C2J/glu-protoVirt-auto.java
@@ -1,5 +1,5 @@
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -674,4 +674,4 @@
long tobj
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/C2J/makefile b/C2J/makefile
index a270f5f..50556a7 100755
--- a/C2J/makefile
+++ b/C2J/makefile
@@ -27,15 +27,25 @@ gl2j: \
../gl4java/GLUFuncJauJNInf.java
gl2c: \
- ../CNativeCode/OpenGL_JauJNI_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNI12_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNInf_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNItst_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.c \
+ ../CNativeCode/gl-disp-var.h \
+ ../CNativeCode/gl-disp-var.hc \
+ ../CNativeCode/gl-disp-fetch.hc \
+ ../CNativeCode/glu-disp-var.h \
+ ../CNativeCode/glu-disp-var.hc \
+ ../CNativeCode/glu-disp-fetch.hc \
+ ../CNativeCode/glx-disp-var.h \
+ ../CNativeCode/glx-disp-var.hc \
+ ../CNativeCode/glx-disp-fetch.hc \
+ ../CNativeCode/wgl-disp-var.h \
+ ../CNativeCode/wgl-disp-var.hc \
+ ../CNativeCode/wgl-disp-fetch.hc \
+ ../CNativeCode/OpenGL_JauJNI_funcs.c \
+ ../CNativeCode/OpenGL_JauJNI12_funcs.c \
+ ../CNativeCode/OpenGL_JauJNI12nf_funcs.c \
+ ../CNativeCode/OpenGL_JauJNI12tst_funcs.c \
../CNativeCode/OpenGLU_JauJNI_funcs.c \
../CNativeCode/OpenGLU_JauJNI12_funcs.c \
- ../CNativeCode/OpenGLU_JauJNInf_funcs.c \
- ../CNativeCode/OpenGLU_JauJNItst_funcs.c \
+ ../CNativeCode/OpenGLU_JauJNI12nf_funcs.c \
../CNativeCode/OpenGLU_JauJNI12tst_funcs.c
C2J.class: C2J.java CFuncVariable.class CFuncDeclaration.class
@@ -47,12 +57,132 @@ C2C: C2C.class
htmldoc: C2J.html
+#
+# for the c - global GL function dispatcher
+#
+gl-disp-var-auto.h: gl-proto-auto.orig.h C2J.class
+ java C2J -echo gldispatch-decl gl4java_GLUFuncJauJNI gl-proto-auto.orig.h \
+ > gl-disp-var-auto.h
+
+gl-disp-var-auto.hc: gl-proto-auto.orig.h C2J.class
+ java C2J gldispatch-var gl4java_GLUFuncJauJNI gl-proto-auto.orig.h \
+ > gl-disp-var-auto.hc
+
+gl-disp-fetch-auto.hc: gl-proto-auto.orig.h C2J.class
+ java C2J gldispatch-get gl4java_GLUFuncJauJNI gl-proto-auto.orig.h \
+ > gl-disp-fetch-auto.hc
+
+../CNativeCode/gl-disp-var.h: warning.skel \
+ manual/gl-man-disp-var.h \
+ gl-disp-var-auto.h
+ cat warning.skel \
+ manual/gl-man-disp-var.h \
+ gl-disp-var-auto.h \
+ > ../CNativeCode/gl-disp-var.h
+
+../CNativeCode/gl-disp-var.hc: warning.skel \
+ manual/gl-man-disp-var.hc \
+ gl-disp-var-auto.hc
+ cat warning.skel \
+ manual/gl-man-disp-var.hc \
+ gl-disp-var-auto.hc \
+ > ../CNativeCode/gl-disp-var.hc
+
+../CNativeCode/gl-disp-fetch.hc: warning.skel \
+ manual/gl-man-disp-fetch.hc \
+ gl-disp-fetch-auto.hc
+ cat warning.skel \
+ manual/gl-man-disp-fetch.hc \
+ gl-disp-fetch-auto.hc \
+ > ../CNativeCode/gl-disp-fetch.hc
+
+#
+# for the c - global GLU function dispatcher
+#
+glu-disp-var-auto.h: glu-proto-auto.orig.h C2J.class
+ java C2J -echo gldispatch-decl gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \
+ > glu-disp-var-auto.h
+
+glu-disp-var-auto.hc: glu-proto-auto.orig.h C2J.class
+ java C2J gldispatch-var gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \
+ > glu-disp-var-auto.hc
+
+glu-disp-fetch-auto.hc: glu-proto-auto.orig.h C2J.class
+ java C2J gldispatch-get gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \
+ > glu-disp-fetch-auto.hc
+
+../CNativeCode/glu-disp-var.h: warning.skel \
+ manual/glu-man-disp-var.h \
+ glu-disp-var-auto.h
+ cat warning.skel \
+ manual/glu-man-disp-var.h \
+ glu-disp-var-auto.h \
+ > ../CNativeCode/glu-disp-var.h
+
+../CNativeCode/glu-disp-var.hc: warning.skel \
+ manual/glu-man-disp-var.hc \
+ glu-disp-var-auto.hc
+ cat warning.skel \
+ manual/glu-man-disp-var.hc \
+ glu-disp-var-auto.hc \
+ > ../CNativeCode/glu-disp-var.hc
+
+../CNativeCode/glu-disp-fetch.hc: warning.skel \
+ manual/glu-man-disp-fetch.hc \
+ glu-disp-fetch-auto.hc
+ cat warning.skel \
+ manual/glu-man-disp-fetch.hc \
+ glu-disp-fetch-auto.hc \
+ > ../CNativeCode/glu-disp-fetch.hc
+
+#
+# for the c - global GLX function dispatcher
+#
+../CNativeCode/glx-disp-var.h: warning.skel \
+ manual/glx-disp-var.h
+ cat warning.skel \
+ manual/glx-disp-var.h \
+ > ../CNativeCode/glx-disp-var.h
+
+../CNativeCode/glx-disp-var.hc: warning.skel \
+ manual/glx-disp-var.hc
+ cat warning.skel \
+ manual/glx-disp-var.hc \
+ > ../CNativeCode/glx-disp-var.hc
+
+../CNativeCode/glx-disp-fetch.hc: warning.skel \
+ manual/glx-disp-fetch.hc
+ cat warning.skel \
+ manual/glx-disp-fetch.hc \
+ > ../CNativeCode/glx-disp-fetch.hc
+
+#
+# for the c - global WGL function dispatcher
+#
+../CNativeCode/wgl-disp-var.h: warning.skel \
+ manual/wgl-disp-var.h
+ cat warning.skel \
+ manual/wgl-disp-var.h \
+ > ../CNativeCode/wgl-disp-var.h
+
+../CNativeCode/wgl-disp-var.hc: warning.skel \
+ manual/wgl-disp-var.hc
+ cat warning.skel \
+ manual/wgl-disp-var.hc \
+ > ../CNativeCode/wgl-disp-var.hc
+
+../CNativeCode/wgl-disp-fetch.hc: warning.skel \
+ manual/wgl-disp-fetch.hc
+ cat warning.skel \
+ manual/wgl-disp-fetch.hc \
+ > ../CNativeCode/wgl-disp-fetch.hc
+
#
# for java class gl4java.GLEnum
#
-gl-enum-auto.java: gl-enum-auto.orig C2J.class
- java C2J jnijava gl4java_GLEnum gl-enum-auto.orig > gl-enum-auto.java
+gl-enum-auto.java: gl-enum-auto.orig.h C2J.class
+ java C2J jnijava gl4java_GLEnum gl-enum-auto.orig.h > gl-enum-auto.java
../gl4java/GLEnum.java: warning.skel \
gl-enum-auto.java \
@@ -66,8 +196,8 @@ gl-enum-auto.java: gl-enum-auto.orig C2J.class
#
# for java class gl4java.GLUEnum
#
-glu-enum-auto.java: glu-enum-auto.orig C2J.class
- java C2J jnijava gl4java_GLUEnum glu-enum-auto.orig > glu-enum-auto.java
+glu-enum-auto.java: glu-enum-auto.orig.h C2J.class
+ java C2J jnijava gl4java_GLUEnum glu-enum-auto.orig.h > glu-enum-auto.java
../gl4java/GLUEnum.java: warning.skel \
glu-enum-auto.java \
@@ -82,23 +212,23 @@ glu-enum-auto.java: glu-enum-auto.orig C2J.class
# Common for gl4java.GLFuncJauJNI and gl4java.GLFuncJauJNInf
# Here we create the final part !
#
-gl-proto-auto.java: gl-proto-auto.orig C2J.class
- java C2J -echo jnijavaf gl4java_GLFuncJauJNI gl-proto-auto.orig \
+gl-proto-auto.java: gl-proto-auto.orig.h C2J.class
+ java C2J -echo jnijavaf gl4java_GLFuncJauJNI gl-proto-auto.orig.h \
> gl-proto-auto.java
#
# Common for gl4java.GLUFuncJauJNI and gl4java.GLUFuncJauJNInf
# Here we create the final part !
#
-glu-proto-auto.java: glu-proto-auto.orig C2J.class
- java C2J -echo jnijavaf gl4java_GLUFuncJauJNI glu-proto-auto.orig \
+glu-proto-auto.java: glu-proto-auto.orig.h C2J.class
+ java C2J -echo jnijavaf gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \
> glu-proto-auto.java
#
# for java interface gl4java.GLFunc
#
-gl-funcnames.skel: gl-proto-auto.orig C2J.class
- java C2J glfnames gl4java_GLFuncJauJNI gl-proto-auto.orig \
+gl-funcnames.skel: gl-proto-auto.orig.h C2J.class
+ java C2J glfnames gl4java_GLFuncJauJNI gl-proto-auto.orig.h \
> gl-funcnames.skel
gl-protoVirt-auto.java: gl-proto-auto.java
@@ -209,11 +339,11 @@ glu-protoVirt-auto.java: glu-proto-auto.java
#
# for native library gl4javaJauJNI[32]
#
-gl-proto-dynauto.c: gl-proto-auto.orig C2J.class
- java C2J -echo jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \
+gl-proto-dynauto.c: gl-proto-auto.orig.h C2J.class
+ java C2J -echo jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig.h \
> gl-proto-dynauto.c
-../CNativeCode/OpenGL_JauJNI_dynfuncs.c: warning.skel \
+../CNativeCode/OpenGL_JauJNI_funcs.c: warning.skel \
../CNativeCode/OpenGL_funcs.c.skel \
manual/gl-manualCodedImplJNI.c \
gl-proto-dynauto.c
@@ -221,27 +351,13 @@ gl-proto-dynauto.c: gl-proto-auto.orig C2J.class
../CNativeCode/OpenGL_funcs.c.skel \
manual/gl-manualCodedImplJNI.c \
gl-proto-dynauto.c \
- > ../CNativeCode/OpenGL_JauJNI_dynfuncs.c
-
-gl-proto-dynauto-tst.c: gl-proto-auto.orig C2J.class
- java C2J -echo -jnic-trial jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \
- > gl-proto-dynauto-tst.c
+ > ../CNativeCode/OpenGL_JauJNI_funcs.c
-../CNativeCode/OpenGL_JauJNItst_dynfuncs.c: warning.skel \
- ../CNativeCode/OpenGL_funcs.c.skel \
- manual/gl-manualCodedImplJNI.c \
- gl-proto-dynauto-tst.c
- cat warning.skel \
- ../CNativeCode/OpenGL_funcs.c.skel \
- manual/gl-manualCodedImplJNI.c \
- gl-proto-dynauto-tst.c \
- > ../CNativeCode/OpenGL_JauJNItst_dynfuncs.c
-
-gl-proto-dynauto-jni12.c: gl-proto-auto.orig C2J.class
- java C2J -echo -jnic-criticalarray jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \
+gl-proto-dynauto-jni12.c: gl-proto-auto.orig.h C2J.class
+ java C2J -echo -jnic-criticalarray jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig.h \
> gl-proto-dynauto-jni12.c
-../CNativeCode/OpenGL_JauJNI12_dynfuncs.c: warning.skel \
+../CNativeCode/OpenGL_JauJNI12_funcs.c: warning.skel \
../CNativeCode/OpenGL_funcs.c.skel \
manual/gl-manualCodedImplJNI.c \
gl-proto-dynauto-jni12.c
@@ -249,13 +365,13 @@ gl-proto-dynauto-jni12.c: gl-proto-auto.orig C2J.class
../CNativeCode/OpenGL_funcs.c.skel \
manual/gl-manualCodedImplJNI.c \
gl-proto-dynauto-jni12.c \
- > ../CNativeCode/OpenGL_JauJNI12_dynfuncs.c
+ > ../CNativeCode/OpenGL_JauJNI12_funcs.c
-gl-proto-dynauto-tst-jni12.c: gl-proto-auto.orig C2J.class
- java C2J -echo -jnic-criticalarray -jnic-trial jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig \
+gl-proto-dynauto-tst-jni12.c: gl-proto-auto.orig.h C2J.class
+ java C2J -echo -jnic-criticalarray -jnic-trial jnic-dyn gl4java_GLFuncJauJNI gl-proto-auto.orig.h \
> gl-proto-dynauto-tst-jni12.c
-../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.c: warning.skel \
+../CNativeCode/OpenGL_JauJNI12tst_funcs.c: warning.skel \
../CNativeCode/OpenGL_funcs.c.skel \
manual/gl-manualCodedImplJNI.c \
gl-proto-dynauto-tst-jni12.c
@@ -263,10 +379,10 @@ gl-proto-dynauto-tst-jni12.c: gl-proto-auto.orig C2J.class
../CNativeCode/OpenGL_funcs.c.skel \
manual/gl-manualCodedImplJNI.c \
gl-proto-dynauto-tst-jni12.c \
- > ../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.c
+ > ../CNativeCode/OpenGL_JauJNI12tst_funcs.c
-glu-proto-auto.c: glu-proto-auto.orig C2J.class
- java C2J -echo jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \
+glu-proto-auto.c: glu-proto-auto.orig.h C2J.class
+ java C2J -echo jnic-dyn gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \
> glu-proto-auto.c
../CNativeCode/OpenGLU_JauJNI_funcs.c: C2J.class \
@@ -280,24 +396,8 @@ glu-proto-auto.c: glu-proto-auto.orig C2J.class
glu-proto-auto.c \
> ../CNativeCode/OpenGLU_JauJNI_funcs.c
-glu-proto-auto-tst.c: glu-proto-auto.orig C2J.class
- java C2J -echo -jnic-trial jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \
- > glu-proto-auto-tst.c
-
-../CNativeCode/OpenGLU_JauJNItst_funcs.c: C2J.class \
- warning.skel \
- ../CNativeCode/OpenGLU_funcs.c.skel \
- manual/glu-manualCodedImplJNI.c \
- glu-proto-auto-tst.c
- cat warning.skel \
- ../CNativeCode/OpenGLU_funcs.c.skel \
- manual/glu-manualCodedImplJNI.c \
- glu-proto-auto-tst.c \
- > ../CNativeCode/OpenGLU_JauJNItst_funcs.c
-
-
-glu-proto-auto-jni12.c: glu-proto-auto.orig C2J.class
- java C2J -echo -jnic-criticalarray jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \
+glu-proto-auto-jni12.c: glu-proto-auto.orig.h C2J.class
+ java C2J -echo -jnic-criticalarray jnic-dyn gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \
> glu-proto-auto-jni12.c
../CNativeCode/OpenGLU_JauJNI12_funcs.c: C2J.class \
@@ -311,8 +411,8 @@ glu-proto-auto-jni12.c: glu-proto-auto.orig C2J.class
glu-proto-auto-jni12.c \
> ../CNativeCode/OpenGLU_JauJNI12_funcs.c
-glu-proto-auto-tst-jni12.c: glu-proto-auto.orig C2J.class
- java C2J -echo -jnic-criticalarray -jnic-trial jnic gl4java_GLUFuncJauJNI glu-proto-auto.orig \
+glu-proto-auto-tst-jni12.c: glu-proto-auto.orig.h C2J.class
+ java C2J -echo -jnic-criticalarray -jnic-trial jnic-dyn gl4java_GLUFuncJauJNI glu-proto-auto.orig.h \
> glu-proto-auto-tst-jni12.c
../CNativeCode/OpenGLU_JauJNI12tst_funcs.c: C2J.class \
@@ -330,15 +430,15 @@ glu-proto-auto-tst-jni12.c: glu-proto-auto.orig C2J.class
#
# for native library gl4javaJauJNInf[32]
#
-../CNativeCode/OpenGL_JauJNInf_dynfuncs.c: ../CNativeCode/OpenGL_JauJNI_dynfuncs.c
- cat ../CNativeCode/OpenGL_JauJNI_dynfuncs.c | \
+../CNativeCode/OpenGL_JauJNI12nf_funcs.c: ../CNativeCode/OpenGL_JauJNI12_funcs.c
+ cat ../CNativeCode/OpenGL_JauJNI12_funcs.c | \
sed -e 's/GLFuncJauJNI/GLFuncJauJNInf/g' \
- > ../CNativeCode/OpenGL_JauJNInf_dynfuncs.c
+ > ../CNativeCode/OpenGL_JauJNI12nf_funcs.c
-../CNativeCode/OpenGLU_JauJNInf_funcs.c: ../CNativeCode/OpenGLU_JauJNI_funcs.c
- cat ../CNativeCode/OpenGLU_JauJNI_funcs.c | \
+../CNativeCode/OpenGLU_JauJNI12nf_funcs.c: ../CNativeCode/OpenGLU_JauJNI12_funcs.c
+ cat ../CNativeCode/OpenGLU_JauJNI12_funcs.c | \
sed -e 's/GLUFuncJauJNI/GLUFuncJauJNInf/g' \
- > ../CNativeCode/OpenGLU_JauJNInf_funcs.c
+ > ../CNativeCode/OpenGLU_JauJNI12nf_funcs.c
clean:
rm -f *~
@@ -369,33 +469,47 @@ cleangl2c: clean
gl-funcnames.skel \
gl-proto-dynauto.c \
gl-proto-dynauto-jni12.c \
- gl-proto-dynauto-tst.c \
gl-proto-dynauto-tst-jni12.c \
glu-proto-auto.c \
glu-proto-auto-jni12.c \
- glu-proto-auto-tst.c \
- glu-proto-auto-tst-jni12.c
+ glu-proto-auto-tst-jni12.c \
+ gl-disp-fetch-auto.hc \
+ gl-disp-var-auto.hc \
+ glu-disp-var-auto.h \
+ gl-disp-var-auto.h \
+ glu-disp-fetch-auto.hc \
+ glu-disp-var-auto.hc
cleangenfiles: clean
rm -f \
- ../gl4java/GLEnum.java \
- ../gl4java/GLUEnum.java \
- ../gl4java/GLFunc.java \
- ../gl4java/GLFuncJauJNI.java \
- ../gl4java/GLFuncJauJNInf.java \
- ../gl4java/GLUFunc.java \
- ../gl4java/GLUFuncJauJNI.java \
- ../gl4java/GLUFuncJauJNInf.java \
- ../CNativeCode/OpenGL_JauJNI_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNI12_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNInf_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNItst_dynfuncs.c \
- ../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.c \
- ../CNativeCode/OpenGLU_JauJNI_funcs.c \
- ../CNativeCode/OpenGLU_JauJNI12_funcs.c \
- ../CNativeCode/OpenGLU_JauJNInf_funcs.c \
- ../CNativeCode/OpenGLU_JauJNItst_funcs.c \
- ../CNativeCode/OpenGLU_JauJNI12tst_funcs.c
+ ../gl4java/GLEnum.java \
+ ../gl4java/GLUEnum.java \
+ ../gl4java/GLFunc.java \
+ ../gl4java/GLFuncJauJNI.java \
+ ../gl4java/GLFuncJauJNInf.java \
+ ../gl4java/GLUFunc.java \
+ ../gl4java/GLUFuncJauJNI.java \
+ ../gl4java/GLUFuncJauJNInf.java \
+ ../CNativeCode/OpenGL_JauJNI_funcs.c \
+ ../CNativeCode/OpenGL_JauJNI12_funcs.c \
+ ../CNativeCode/OpenGL_JauJNI12nf_funcs.c \
+ ../CNativeCode/OpenGL_JauJNI12tst_funcs.c \
+ ../CNativeCode/OpenGLU_JauJNI_funcs.c \
+ ../CNativeCode/OpenGLU_JauJNI12_funcs.c \
+ ../CNativeCode/OpenGLU_JauJNI12nf_funcs.c \
+ ../CNativeCode/OpenGLU_JauJNI12tst_funcs.c \
+ ../CNativeCode/gl-disp-var.h \
+ ../CNativeCode/gl-disp-var.hc \
+ ../CNativeCode/gl-disp-fetch.hc \
+ ../CNativeCode/glu-disp-var.h \
+ ../CNativeCode/glu-disp-var.hc \
+ ../CNativeCode/glu-disp-fetch.hc \
+ ../CNativeCode/glx-disp-var.h \
+ ../CNativeCode/glx-disp-var.hc \
+ ../CNativeCode/glx-disp-fetch.hc \
+ ../CNativeCode/wgl-disp-var.h \
+ ../CNativeCode/wgl-disp-var.hc \
+ ../CNativeCode/wgl-disp-fetch.hc
cleanall: clean cleangl2c cleangl2j cleangenfiles cleanc2j
rm -f *.c *.class *.html
diff --git a/C2J/manual/gl-manualCodedImplJNI.c b/C2J/manual/gl-manualCodedImplJNI.c
index d0d378c..cde1b70 100644
--- a/C2J/manual/gl-manualCodedImplJNI.c
+++ b/C2J/manual/gl-manualCodedImplJNI.c
@@ -10,7 +10,7 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
{
const char * tmpString=0;
- tmpString = glGetString ( /* jint */ name);
+ tmpString = disp__glGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_gl_n_a_string;
@@ -18,7 +18,7 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
}
static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _gl_lib_version_="2.4.1.0";
+static const char * _gl_lib_version_="2.7.0.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
diff --git a/C2J/manual/gl-manualCodedImplJNI2.java b/C2J/manual/gl-manualCodedImplJNI2.java
index 5b54d5d..d92acda 100644
--- a/C2J/manual/gl-manualCodedImplJNI2.java
+++ b/C2J/manual/gl-manualCodedImplJNI2.java
@@ -8,7 +8,7 @@ public final String getClassVendor ( )
{ return "Jausoft - Sven Goethel Software Development"; }
public final String getClassVersion ( )
-{ return "2.4.1.0"; }
+{ return "2.7.0.0"; }
diff --git a/C2J/manual/glu-manualCodedImplJNI.c b/C2J/manual/glu-manualCodedImplJNI.c
index 26c9be9..0f16e88 100644
--- a/C2J/manual/glu-manualCodedImplJNI.c
+++ b/C2J/manual/glu-manualCodedImplJNI.c
@@ -6,7 +6,7 @@ Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluErrorString ( /* jint */ errorCode );
+ tmpString = disp__gluErrorString ( /* jint */ errorCode );
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -19,7 +19,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluGetString ( /* jint */ name);
+ tmpString = disp__gluGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -27,7 +27,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
}
static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.5.2.0";
+static const char * _glu_lib_version_="2.7.0.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -77,7 +77,7 @@ Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluQuadricCallback((void *)((PointerHolder)qobj),
+ disp__gluQuadricCallback((void *)((PointerHolder)qobj),
which, cbf_GLU_ERROR );
break;
default:
@@ -101,7 +101,7 @@ Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluNurbsCallback((void *)((PointerHolder)nobj), which,
+ disp__gluNurbsCallback((void *)((PointerHolder)nobj), which,
cbf_GLU_ERROR );
break;
default:
@@ -129,62 +129,62 @@ Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_TESS_BEGIN:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN );
break;
case GLU_TESS_BEGIN_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN_DATA );
break;
case GLU_TESS_EDGE_FLAG:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG );
break;
case GLU_TESS_EDGE_FLAG_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG_DATA );
break;
case GLU_TESS_VERTEX:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX );
break;
case GLU_TESS_VERTEX_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX_DATA );
break;
case GLU_TESS_END:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END );
break;
case GLU_TESS_END_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END_DATA );
break;
case GLU_TESS_ERROR:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR );
break;
case GLU_TESS_ERROR_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR_DATA );
break;
case GLU_TESS_COMBINE:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE );
break;
case GLU_TESS_COMBINE_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE_DATA );
break;
@@ -203,7 +203,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj,
jlong qobj )
{
- gluDeleteQuadric((void *)((PointerHolder)qobj));
+ disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
RemoveCallbackNodes((void *)((PointerHolder)qobj));
}
@@ -211,7 +211,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
jlong nobj )
{
- gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
+ disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
RemoveCallbackNodes((void *)((PointerHolder)nobj));
}
@@ -219,25 +219,25 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
jlong tobj )
{
- gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
+ disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
RemoveCallbackNodes((void *)((PointerHolder)tobj));
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewQuadric( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewQuadric());
+ return (jlong)((PointerHolder)disp__gluNewQuadric());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewNurbsRenderer());
+ return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewTess());
+ return (jlong)((PointerHolder)disp__gluNewTess());
}
diff --git a/C2J/manual/glu-manualCodedImplJNI2.java b/C2J/manual/glu-manualCodedImplJNI2.java
index 4af651f..8ae4b36 100644
--- a/C2J/manual/glu-manualCodedImplJNI2.java
+++ b/C2J/manual/glu-manualCodedImplJNI2.java
@@ -9,7 +9,7 @@ public final String getClassVendor ( )
{ return "Jausoft - Sven Goethel Software Development"; }
public final String getClassVersion ( )
-{ return "2.5.2.0"; }
+{ return "2.7.0.0"; }
/**
diff --git a/CHANGES.txt b/CHANGES.txt
index a5cbe6a..3f31c1c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,6 @@
\begin{verbatim}
-Last Changes: 23th February 2001 (Version 2.6.0 - Release 0 )
+Last Changes: 5th April 2001 (Version 2.7.0 - Release 0 )
Started: July 1997 (Version 0)
-----------------
@@ -8,6 +8,105 @@ TOP = NEW
DOWN = OLD
-----------------
+5th April 2001 (Version 2.7.0 - Release 0 )
+ o Since 2.7.0 we do not link the OpenGL and GLU libraries
+ at compile time, we do link them at runtime now !
+
+ o It is now possible to specify/switch the gl/glu lib's at runtime !!
+
+ E.g. the classes
+ "gl4java.GLContext",
+ "gl4java.utils.Test"
+ (you better use the one within the demos/MiscDemos
+ directory just called Test)
+ now takes the arguments:
+ "-GLLib <name>" and
+ "-GLULib <name>"
+ to specify the OpenGL and GLU library which should be used !!
+
+ You can also switch to another GL/GLU set of libraries,
+ while just calling gl4java.GLContext.gljFetchGLFunctions(...),
+ with force:=true !
+ But be shure that no GLContext is alive ;-)
+
+ Last but not least, you can use gltool's feature of
+ specifying the GL/GLU library names by the systems
+ environment variables:
+ GLTOOL_USE_GLLIB - OpenGL library name
+ GLTOOL_USE_GLULIB - GLU library name
+ these environment variables does _always_ overrides
+ any given ones from the java side !
+
+ o The native libraries are now a bit rearranged.
+ The following set is being used now:
+ JDK >= 1.3: GL4JavaJauGljJNI13
+
+ JDK == 1.2: GL4JavaJauGljJNI12
+
+ JDK <= 1.1: GL4JavaJauGljJNI
+ + GL4JavaGljMSJDirect (for MSJVM only)
+
+ For testing purposes, the follwing tripples can being used:
+ JDK >= 1.3:
+ GL4JavaJauGljJNI13nf (for non final methods !)
+
+ GL4JavaJauGljJNI13tst (for some jni tests .. !)
+
+ Hopefully this new linkage, and the new dynamic loader code,
+ does solve some problems under some OS ..., e.g.:
+
+ - increasing memory footprint
+ (loading more than one lib instance )
+
+ - cannot resolve symbol ...
+
+ - may have a speedup ..
+
+ o Added new modules:
+ - gltool.[ch]
+ - glxtool.[ch]
+ - glcaps.[ch]
+ These modules are extracted from the existing for general purpose !
+ E.g. they are used within xmame.xgl now ;-)
+
+ o Fixed glxtool's findVisualGlX:
+ - fall back fix
+ - findVisualIdByFeature fix ..
+
+ o C2J Version 2.0
+ - Now, GLU and GLX functionpointers are dispatched dynamically
+ like the GL one's also !!
+
+ - The functions pointers are no more static/local at
+ it's generated function, they are now global.
+
+ - The global function pointer has the name:
+ disp__<function name>
+
+ - The makefile creates the dispatcher within:
+ - <lib>-disp-var.h (the function declarations)
+ - <lib>-disp-var.hc (the function definition code)
+ - <lib>-disp-fetch.hc (the function fetch code)
+ where lib is:
+ gl (the opengl functions)
+ glu (the glu functions)
+ glx (the glx functions, created complete by hand)
+
+ o demos/MiscDemos/Test
+ is a copy one of gl4java.utils.Test,
+ which works from any point now !
+
+ this is usefull, if you want to test some
+ GLCanvas derivations ad hoc !
+
+ o added a native invoker for debugging purpose:
+ invokejvm (Win32 + X11)
+
+ o BUG/Missing: the current native GL/GLU wrapper does not check,
+ if the native opengl functions does exist (NULL Pointer) !
+
+ This will be fixed up within the next bugfix version 2.7.1 !
+
23th February 2001 (Version 2.6.0 - Release 0 )
o Converted David Bucciarelli's gltestperf
to java !
diff --git a/CNativeCode/GLCallbackHelperJNI.c b/CNativeCode/GLCallbackHelperJNI.c
index 2039560..ec40372 100644
--- a/CNativeCode/GLCallbackHelperJNI.c
+++ b/CNativeCode/GLCallbackHelperJNI.c
@@ -2,12 +2,14 @@
#include "GLCallbackHelperJNI.h"
#include "jnitools.h"
-#ifndef _WIN32_
- #ifdef macintosh
+#ifdef _WIN32_
+ #include "wgltool.h"
+#else
+ #ifdef _MAC_OS9_
#include <agl.h>
#include <string.h>
#else
- #include <GL/glx.h>
+ #include "glxtool.h"
#endif
#endif
@@ -225,12 +227,12 @@ void LIBAPIENTRY RemoveCallbackNodes(void *cb_obj)
jlong LIBAPIENTRY GetCurrentGLContext()
{
#ifdef _WIN32_
- return (jlong) wglGetCurrentContext();
+ return (jlong) disp__wglGetCurrentContext();
#else
- #ifdef macintosh
+ #ifdef _MAC_OS9_
return (jlong) aglGetCurrentContext();
#else
- return (jlong) glXGetCurrentContext();
+ return (jlong) disp__glXGetCurrentContext();
#endif
#endif
}
diff --git a/CNativeCode/GLCallbackHelperJNI.h b/CNativeCode/GLCallbackHelperJNI.h
index 102f65a..210271d 100644
--- a/CNativeCode/GLCallbackHelperJNI.h
+++ b/CNativeCode/GLCallbackHelperJNI.h
@@ -12,8 +12,7 @@
#include <jni.h>
- #include<GL/gl.h>
- #include <GL/glu.h>
+ #include "gltool.h"
#ifndef LIBAPIENTRY
#define LIBAPIENTRY
diff --git a/CNativeCode/GLDrawableFactory_X11_SunJDK13.c b/CNativeCode/GLDrawableFactory_X11_SunJDK13.c
index 51e204c..5d41051 100644
--- a/CNativeCode/GLDrawableFactory_X11_SunJDK13.c
+++ b/CNativeCode/GLDrawableFactory_X11_SunJDK13.c
@@ -14,10 +14,11 @@ Java_gl4java_drawable_X11SunJDK13GLDrawableFactory_glXChooseVisualID
XVisualInfo * visual=NULL;
int visualAttribList[32];
int done=0;
-
+ jboolean ok;
GLCapabilities glCaps;
+ int accumTestDone=0;
- jboolean ok = javaGLCapabilities2NativeGLCapabilities ( env,
+ ok = javaGLCapabilities2NativeGLCapabilities ( env,
capsObj, &glCaps );
if(JNI_TRUE!=ok)
@@ -50,7 +51,7 @@ Java_gl4java_drawable_X11SunJDK13GLDrawableFactory_glXChooseVisualID
printGLCapabilities ( &glCaps );
}
- visual = glXChooseVisual( disp, screen, visualAttribList );
+ visual = disp__glXChooseVisual( disp, screen, visualAttribList );
if(JNI_TRUE==verbose)
{
@@ -66,19 +67,47 @@ Java_gl4java_drawable_X11SunJDK13GLDrawableFactory_glXChooseVisualID
/**
* Falling-Back the exact (min. requirement) parameters ..
*/
- if(visual==NULL && glCaps.stereo==STEREO_ON) {
+ if(visual==NULL)
+ {
+ if(glCaps.stereo==STEREO_ON) {
glCaps.stereo=STEREO_OFF;
- } else if(visual==NULL && glCaps.stencilBits>32) {
+ } else if(glCaps.stencilBits>32) {
glCaps.stencilBits=32;
- } else if(visual==NULL && glCaps.stencilBits>16) {
+ } else if(glCaps.stencilBits>16) {
glCaps.stencilBits=16;
- } else if(visual==NULL && glCaps.stencilBits>8) {
+ } else if(glCaps.stencilBits>8) {
glCaps.stencilBits=8;
- } else if(visual==NULL && glCaps.stencilBits>0) {
+ } else if(glCaps.stencilBits>0) {
glCaps.stencilBits=0;
- } else if(visual==NULL && glCaps.buffer==BUFFER_DOUBLE) {
- glCaps.buffer=BUFFER_SINGLE;
- } else done=1; /* forget it .. */
+ } else if( glCaps.alphaBits>0 ||
+ glCaps.accumAlphaBits>0
+ )
+ {
+ glCaps.alphaBits=0;
+ glCaps.accumAlphaBits=0;
+ } else if( accumTestDone==0 &&
+ ( glCaps.accumRedBits==0 ||
+ glCaps.accumGreenBits==0 ||
+ glCaps.accumBlueBits==0
+ )
+ )
+ {
+ glCaps.accumRedBits=1;
+ glCaps.accumGreenBits=1;
+ glCaps.accumBlueBits=1;
+ } else if( glCaps.accumRedBits>0 ||
+ glCaps.accumGreenBits>0 ||
+ glCaps.accumBlueBits>0
+ )
+ {
+ glCaps.accumRedBits=0;
+ glCaps.accumGreenBits=0;
+ glCaps.accumBlueBits=0;
+ accumTestDone=1;
+ } else if(glCaps.buffer==BUFFER_DOUBLE) {
+ glCaps.buffer=BUFFER_SINGLE;
+ } else done=1; /* forget it .. */
+ }
}
if(visual==NULL)
diff --git a/CNativeCode/OpenGLU_JauJNI12_funcs.c b/CNativeCode/OpenGLU_JauJNI12_funcs.c
index 0b59881..b8a46be 100644
--- a/CNativeCode/OpenGLU_JauJNI12_funcs.c
+++ b/CNativeCode/OpenGLU_JauJNI12_funcs.c
@@ -41,7 +41,7 @@ Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluErrorString ( /* jint */ errorCode );
+ tmpString = disp__gluErrorString ( /* jint */ errorCode );
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -54,7 +54,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluGetString ( /* jint */ name);
+ tmpString = disp__gluGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -62,7 +62,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
}
static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.5.2.0";
+static const char * _glu_lib_version_="2.7.0.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -112,7 +112,7 @@ Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluQuadricCallback((void *)((PointerHolder)qobj),
+ disp__gluQuadricCallback((void *)((PointerHolder)qobj),
which, cbf_GLU_ERROR );
break;
default:
@@ -136,7 +136,7 @@ Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluNurbsCallback((void *)((PointerHolder)nobj), which,
+ disp__gluNurbsCallback((void *)((PointerHolder)nobj), which,
cbf_GLU_ERROR );
break;
default:
@@ -164,62 +164,62 @@ Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_TESS_BEGIN:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN );
break;
case GLU_TESS_BEGIN_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN_DATA );
break;
case GLU_TESS_EDGE_FLAG:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG );
break;
case GLU_TESS_EDGE_FLAG_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG_DATA );
break;
case GLU_TESS_VERTEX:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX );
break;
case GLU_TESS_VERTEX_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX_DATA );
break;
case GLU_TESS_END:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END );
break;
case GLU_TESS_END_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END_DATA );
break;
case GLU_TESS_ERROR:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR );
break;
case GLU_TESS_ERROR_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR_DATA );
break;
case GLU_TESS_COMBINE:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE );
break;
case GLU_TESS_COMBINE_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE_DATA );
break;
@@ -238,7 +238,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj,
jlong qobj )
{
- gluDeleteQuadric((void *)((PointerHolder)qobj));
+ disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
RemoveCallbackNodes((void *)((PointerHolder)qobj));
}
@@ -246,7 +246,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
jlong nobj )
{
- gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
+ disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
RemoveCallbackNodes((void *)((PointerHolder)nobj));
}
@@ -254,30 +254,30 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
jlong tobj )
{
- gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
+ disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
RemoveCallbackNodes((void *)((PointerHolder)tobj));
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewQuadric( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewQuadric());
+ return (jlong)((PointerHolder)disp__gluNewQuadric());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewNurbsRenderer());
+ return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewTess());
+ return (jlong)((PointerHolder)disp__gluNewTess());
}
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -303,7 +303,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble upz)
{
- gluLookAt (
+ disp__gluLookAt (
(GLdouble) eyex,
(GLdouble) eyey,
(GLdouble) eyez,
@@ -332,7 +332,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble top)
{
- gluOrtho2D (
+ disp__gluOrtho2D (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -356,7 +356,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble zFar)
{
- gluPerspective (
+ disp__gluPerspective (
(GLdouble) fovy,
(GLdouble) aspect,
(GLdouble) zNear,
@@ -387,7 +387,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4);
}
- gluPickMatrix (
+ disp__gluPickMatrix (
(GLdouble) x,
(GLdouble) y,
(GLdouble) width,
@@ -456,7 +456,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8);
}
- ret = (jint) gluProject (
+ ret = (jint) disp__gluProject (
(GLdouble) objx,
(GLdouble) objy,
(GLdouble) objz,
@@ -550,7 +550,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8);
}
- ret = (jint) gluUnProject (
+ ret = (jint) disp__gluUnProject (
(GLdouble) winx,
(GLdouble) winy,
(GLdouble) winz,
@@ -622,7 +622,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8);
}
- ret = (jint) gluScaleImage (
+ ret = (jint) disp__gluScaleImage (
(GLenum) format,
(GLsizei) widthin,
(GLsizei) heightin,
@@ -669,7 +669,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -702,7 +702,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -735,7 +735,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -768,7 +768,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -801,7 +801,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -834,7 +834,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -867,7 +867,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -908,7 +908,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -943,7 +943,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -978,7 +978,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1013,7 +1013,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1048,7 +1048,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1083,7 +1083,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1118,7 +1118,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1148,7 +1148,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint drawStyle)
{
- gluQuadricDrawStyle (
+ disp__gluQuadricDrawStyle (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) drawStyle
);
@@ -1168,7 +1168,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint orientation)
{
- gluQuadricOrientation (
+ disp__gluQuadricOrientation (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) orientation
);
@@ -1188,7 +1188,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint normals)
{
- gluQuadricNormals (
+ disp__gluQuadricNormals (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) normals
);
@@ -1208,7 +1208,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean textureCoords)
{
- gluQuadricTexture (
+ disp__gluQuadricTexture (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLboolean) textureCoords
);
@@ -1232,7 +1232,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
- gluCylinder (
+ disp__gluCylinder (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) baseRadius,
(GLdouble) topRadius,
@@ -1258,7 +1258,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
- gluSphere (
+ disp__gluSphere (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) radius,
(GLint) slices,
@@ -1283,7 +1283,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint loops)
{
- gluDisk (
+ disp__gluDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1311,7 +1311,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble sweepAngle)
{
- gluPartialDisk (
+ disp__gluPartialDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1353,7 +1353,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
}
- gluLoadSamplingMatrices (
+ disp__gluLoadSamplingMatrices (
(GLUnurbsObj *) (PointerHolder) nobj,
(const GLfloat *) ptr1,
(const GLfloat *) ptr2,
@@ -1388,7 +1388,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat value)
{
- gluNurbsProperty (
+ disp__gluNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat) value
@@ -1416,7 +1416,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
}
- gluGetNurbsProperty (
+ disp__gluGetNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat *) ptr2
@@ -1440,7 +1440,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluBeginCurve (
+ disp__gluBeginCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1458,7 +1458,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluEndCurve (
+ disp__gluEndCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1494,7 +1494,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4);
}
- gluNurbsCurve (
+ disp__gluNurbsCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) nknots,
(GLfloat *) ptr2,
@@ -1526,7 +1526,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluBeginSurface (
+ disp__gluBeginSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1544,7 +1544,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluEndSurface (
+ disp__gluEndSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1590,7 +1590,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7);
}
- gluNurbsSurface (
+ disp__gluNurbsSurface (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) sknot_count,
(GLfloat *) ptr2,
@@ -1630,7 +1630,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluBeginTrim (
+ disp__gluBeginTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1648,7 +1648,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluEndTrim (
+ disp__gluEndTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1676,7 +1676,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2);
}
- gluPwlCurve (
+ disp__gluPwlCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) count,
(GLfloat *) ptr2,
@@ -1709,7 +1709,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1732,7 +1732,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1755,7 +1755,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1778,7 +1778,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1801,7 +1801,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1824,7 +1824,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1847,7 +1847,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1870,7 +1870,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluTessBeginContour (
+ disp__gluTessBeginContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1902,7 +1902,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1937,7 +1937,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1972,7 +1972,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2007,7 +2007,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2042,7 +2042,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2077,7 +2077,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2112,7 +2112,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2140,7 +2140,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluTessEndContour (
+ disp__gluTessEndContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2158,7 +2158,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluTessEndPolygon (
+ disp__gluTessEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2178,7 +2178,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble value)
{
- gluTessProperty (
+ disp__gluTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble) value
@@ -2201,7 +2201,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble z)
{
- gluTessNormal (
+ disp__gluTessNormal (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble) x,
(GLdouble) y,
@@ -2230,7 +2230,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
}
- gluGetTessProperty (
+ disp__gluGetTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble *) ptr2
@@ -2254,7 +2254,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluBeginPolygon (
+ disp__gluBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2273,7 +2273,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint type)
{
- gluNextContour (
+ disp__gluNextContour (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) type
);
@@ -2292,10 +2292,10 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluEndPolygon (
+ disp__gluEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGLU_JauJNI12tst_funcs.c b/CNativeCode/OpenGLU_JauJNI12tst_funcs.c
index 4c6fa7e..bc8b960 100644
--- a/CNativeCode/OpenGLU_JauJNI12tst_funcs.c
+++ b/CNativeCode/OpenGLU_JauJNI12tst_funcs.c
@@ -41,7 +41,7 @@ Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluErrorString ( /* jint */ errorCode );
+ tmpString = disp__gluErrorString ( /* jint */ errorCode );
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -54,7 +54,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluGetString ( /* jint */ name);
+ tmpString = disp__gluGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -62,7 +62,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
}
static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.5.2.0";
+static const char * _glu_lib_version_="2.7.0.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -112,7 +112,7 @@ Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluQuadricCallback((void *)((PointerHolder)qobj),
+ disp__gluQuadricCallback((void *)((PointerHolder)qobj),
which, cbf_GLU_ERROR );
break;
default:
@@ -136,7 +136,7 @@ Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluNurbsCallback((void *)((PointerHolder)nobj), which,
+ disp__gluNurbsCallback((void *)((PointerHolder)nobj), which,
cbf_GLU_ERROR );
break;
default:
@@ -164,62 +164,62 @@ Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_TESS_BEGIN:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN );
break;
case GLU_TESS_BEGIN_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN_DATA );
break;
case GLU_TESS_EDGE_FLAG:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG );
break;
case GLU_TESS_EDGE_FLAG_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG_DATA );
break;
case GLU_TESS_VERTEX:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX );
break;
case GLU_TESS_VERTEX_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX_DATA );
break;
case GLU_TESS_END:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END );
break;
case GLU_TESS_END_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END_DATA );
break;
case GLU_TESS_ERROR:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR );
break;
case GLU_TESS_ERROR_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR_DATA );
break;
case GLU_TESS_COMBINE:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE );
break;
case GLU_TESS_COMBINE_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE_DATA );
break;
@@ -238,7 +238,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj,
jlong qobj )
{
- gluDeleteQuadric((void *)((PointerHolder)qobj));
+ disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
RemoveCallbackNodes((void *)((PointerHolder)qobj));
}
@@ -246,7 +246,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
jlong nobj )
{
- gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
+ disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
RemoveCallbackNodes((void *)((PointerHolder)nobj));
}
@@ -254,2377 +254,25 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
jlong tobj )
{
- gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
+ disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
RemoveCallbackNodes((void *)((PointerHolder)tobj));
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewQuadric( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewQuadric());
+ return (jlong)((PointerHolder)disp__gluNewQuadric());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewNurbsRenderer());
+ return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewTess());
+ return (jlong)((PointerHolder)disp__gluNewTess());
}
-/**
- * C2J Parser Version 1.5 Beta
- * Jausoft - Sven Goethel Software Development
- * Reading from file: glu-proto-auto.orig.h . . .
- * Destination-Class: gl4java_GLUFuncJauJNI !
- */
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluLookAt (
- JNIEnv *env, jobject obj,
- jdouble eyex,
- jdouble eyey,
- jdouble eyez,
- jdouble centerx,
- jdouble centery,
- jdouble centerz,
- jdouble upx,
- jdouble upy,
- jdouble upz)
- {
-
- gluLookAt (
- (GLdouble) eyex,
- (GLdouble) eyey,
- (GLdouble) eyez,
- (GLdouble) centerx,
- (GLdouble) centery,
- (GLdouble) centerz,
- (GLdouble) upx,
- (GLdouble) upy,
- (GLdouble) upz
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluOrtho2D (
- JNIEnv *env, jobject obj,
- jdouble left,
- jdouble right,
- jdouble bottom,
- jdouble top)
- {
-
- gluOrtho2D (
- (GLdouble) left,
- (GLdouble) right,
- (GLdouble) bottom,
- (GLdouble) top
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluPerspective (
- JNIEnv *env, jobject obj,
- jdouble fovy,
- jdouble aspect,
- jdouble zNear,
- jdouble zFar)
- {
-
- gluPerspective (
- (GLdouble) fovy,
- (GLdouble) aspect,
- (GLdouble) zNear,
- (GLdouble) zFar
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluPickMatrix (
- JNIEnv *env, jobject obj,
- jdouble x,
- jdouble y,
- jdouble width,
- jdouble height,
- jintArray viewport)
- {
- jboolean isCopiedArray4 = JNI_FALSE;
- jint *ptr4 = NULL;
- static int isWarned4 = 0;
-
- if(viewport!=NULL)
- {
- ptr4 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray4);
- if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
- isWarned4=1;
- printf("COPY by gluPickMatrix arg: viewport");
- }
- }
- gluPickMatrix (
- (GLdouble) x,
- (GLdouble) y,
- (GLdouble) width,
- (GLdouble) height,
- (GLint *) ptr4
- );
-
- if(viewport!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, viewport, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluProject (
- JNIEnv *env, jobject obj,
- jdouble objx,
- jdouble objy,
- jdouble objz,
- jdoubleArray modelMatrix,
- jdoubleArray projMatrix,
- jintArray viewport,
- jdoubleArray winx,
- jdoubleArray winy,
- jdoubleArray winz)
- {
- jint ret;
-
- jboolean isCopiedArray3 = JNI_FALSE;
- jdouble *ptr3 = NULL;
- static int isWarned3 = 0;
- jboolean isCopiedArray4 = JNI_FALSE;
- jdouble *ptr4 = NULL;
- static int isWarned4 = 0;
- jboolean isCopiedArray5 = JNI_FALSE;
- jint *ptr5 = NULL;
- static int isWarned5 = 0;
- jboolean isCopiedArray6 = JNI_FALSE;
- jdouble *ptr6 = NULL;
- static int isWarned6 = 0;
- jboolean isCopiedArray7 = JNI_FALSE;
- jdouble *ptr7 = NULL;
- static int isWarned7 = 0;
- jboolean isCopiedArray8 = JNI_FALSE;
- jdouble *ptr8 = NULL;
- static int isWarned8 = 0;
-
- if(modelMatrix!=NULL)
- {
- ptr3 = (*env)->GetDoubleArrayElements(env, modelMatrix, &isCopiedArray3);
- if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) {
- isWarned3=1;
- printf("COPY by gluProject arg: modelMatrix");
- }
- }
- if(projMatrix!=NULL)
- {
- ptr4 = (*env)->GetDoubleArrayElements(env, projMatrix, &isCopiedArray4);
- if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
- isWarned4=1;
- printf("COPY by gluProject arg: projMatrix");
- }
- }
- if(viewport!=NULL)
- {
- ptr5 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluProject arg: viewport");
- }
- }
- if(winx!=NULL)
- {
- ptr6 = (*env)->GetDoubleArrayElements(env, winx, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluProject arg: winx");
- }
- }
- if(winy!=NULL)
- {
- ptr7 = (*env)->GetDoubleArrayElements(env, winy, &isCopiedArray7);
- if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) {
- isWarned7=1;
- printf("COPY by gluProject arg: winy");
- }
- }
- if(winz!=NULL)
- {
- ptr8 = (*env)->GetDoubleArrayElements(env, winz, &isCopiedArray8);
- if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) {
- isWarned8=1;
- printf("COPY by gluProject arg: winz");
- }
- }
- ret = (jint) gluProject (
- (GLdouble) objx,
- (GLdouble) objy,
- (GLdouble) objz,
- (const GLdouble *) ptr3,
- (const GLdouble *) ptr4,
- (const GLint *) ptr5,
- (GLdouble *) ptr6,
- (GLdouble *) ptr7,
- (GLdouble *) ptr8
- );
-
- if(modelMatrix!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, modelMatrix, ptr3, JNI_ABORT);
- }
- if(projMatrix!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, projMatrix, ptr4, JNI_ABORT);
- }
- if(viewport!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, viewport, ptr5, JNI_ABORT);
- }
- if(winx!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, winx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(winy!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, winy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(winz!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, winz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluUnProject (
- JNIEnv *env, jobject obj,
- jdouble winx,
- jdouble winy,
- jdouble winz,
- jdoubleArray modelMatrix,
- jdoubleArray projMatrix,
- jintArray viewport,
- jdoubleArray objx,
- jdoubleArray objy,
- jdoubleArray objz)
- {
- jint ret;
-
- jboolean isCopiedArray3 = JNI_FALSE;
- jdouble *ptr3 = NULL;
- static int isWarned3 = 0;
- jboolean isCopiedArray4 = JNI_FALSE;
- jdouble *ptr4 = NULL;
- static int isWarned4 = 0;
- jboolean isCopiedArray5 = JNI_FALSE;
- jint *ptr5 = NULL;
- static int isWarned5 = 0;
- jboolean isCopiedArray6 = JNI_FALSE;
- jdouble *ptr6 = NULL;
- static int isWarned6 = 0;
- jboolean isCopiedArray7 = JNI_FALSE;
- jdouble *ptr7 = NULL;
- static int isWarned7 = 0;
- jboolean isCopiedArray8 = JNI_FALSE;
- jdouble *ptr8 = NULL;
- static int isWarned8 = 0;
-
- if(modelMatrix!=NULL)
- {
- ptr3 = (*env)->GetDoubleArrayElements(env, modelMatrix, &isCopiedArray3);
- if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) {
- isWarned3=1;
- printf("COPY by gluUnProject arg: modelMatrix");
- }
- }
- if(projMatrix!=NULL)
- {
- ptr4 = (*env)->GetDoubleArrayElements(env, projMatrix, &isCopiedArray4);
- if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
- isWarned4=1;
- printf("COPY by gluUnProject arg: projMatrix");
- }
- }
- if(viewport!=NULL)
- {
- ptr5 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluUnProject arg: viewport");
- }
- }
- if(objx!=NULL)
- {
- ptr6 = (*env)->GetDoubleArrayElements(env, objx, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluUnProject arg: objx");
- }
- }
- if(objy!=NULL)
- {
- ptr7 = (*env)->GetDoubleArrayElements(env, objy, &isCopiedArray7);
- if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) {
- isWarned7=1;
- printf("COPY by gluUnProject arg: objy");
- }
- }
- if(objz!=NULL)
- {
- ptr8 = (*env)->GetDoubleArrayElements(env, objz, &isCopiedArray8);
- if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) {
- isWarned8=1;
- printf("COPY by gluUnProject arg: objz");
- }
- }
- ret = (jint) gluUnProject (
- (GLdouble) winx,
- (GLdouble) winy,
- (GLdouble) winz,
- (const GLdouble *) ptr3,
- (const GLdouble *) ptr4,
- (const GLint *) ptr5,
- (GLdouble *) ptr6,
- (GLdouble *) ptr7,
- (GLdouble *) ptr8
- );
-
- if(modelMatrix!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, modelMatrix, ptr3, JNI_ABORT);
- }
- if(projMatrix!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, projMatrix, ptr4, JNI_ABORT);
- }
- if(viewport!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, viewport, ptr5, JNI_ABORT);
- }
- if(objx!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, objx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(objy!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, objy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(objz!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, objz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluScaleImage (
- JNIEnv *env, jobject obj,
- jint format,
- jint widthin,
- jint heightin,
- jint typein,
- jbyteArray datain,
- jint widthout,
- jint heightout,
- jint typeout,
- jbyteArray dataout)
- {
- jint ret;
-
- jboolean isCopiedArray4 = JNI_FALSE;
- jbyte *ptr4 = NULL;
- static int isWarned4 = 0;
- jboolean isCopiedArray8 = JNI_FALSE;
- jbyte *ptr8 = NULL;
- static int isWarned8 = 0;
-
- if(datain!=NULL)
- {
- ptr4 = (*env)->GetByteArrayElements(env, datain, &isCopiedArray4);
- if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
- isWarned4=1;
- printf("COPY by gluScaleImage arg: datain");
- }
- }
- if(dataout!=NULL)
- {
- ptr8 = (*env)->GetByteArrayElements(env, dataout, &isCopiedArray8);
- if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) {
- isWarned8=1;
- printf("COPY by gluScaleImage arg: dataout");
- }
- }
- ret = (jint) gluScaleImage (
- (GLenum) format,
- (GLsizei) widthin,
- (GLsizei) heightin,
- (GLenum) typein,
- (const char *) ptr4,
- (GLsizei) widthout,
- (GLsizei) heightout,
- (GLenum) typeout,
- (char *) ptr8
- );
-
- if(datain!=NULL)
- {
- (*env)->ReleaseByteArrayElements(env, datain, ptr4, JNI_ABORT);
- }
- if(dataout!=NULL)
- {
- (*env)->ReleaseByteArrayElements(env, dataout, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3B (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jbyteArray data)
- {
- jint ret;
-
- jboolean isCopiedArray5 = JNI_FALSE;
- jbyte *ptr5 = NULL;
- static int isWarned5 = 0;
-
- if(data!=NULL)
- {
- ptr5 = (*env)->GetByteArrayElements(env, data, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluBuild1DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3S (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jshortArray data)
- {
- jint ret;
-
- jboolean isCopiedArray5 = JNI_FALSE;
- jshort *ptr5 = NULL;
- static int isWarned5 = 0;
-
- if(data!=NULL)
- {
- ptr5 = (*env)->GetShortArrayElements(env, data, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluBuild1DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3I (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jintArray data)
- {
- jint ret;
-
- jboolean isCopiedArray5 = JNI_FALSE;
- jint *ptr5 = NULL;
- static int isWarned5 = 0;
-
- if(data!=NULL)
- {
- ptr5 = (*env)->GetIntArrayElements(env, data, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluBuild1DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3F (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jfloatArray data)
- {
- jint ret;
-
- jboolean isCopiedArray5 = JNI_FALSE;
- jfloat *ptr5 = NULL;
- static int isWarned5 = 0;
-
- if(data!=NULL)
- {
- ptr5 = (*env)->GetFloatArrayElements(env, data, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluBuild1DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3D (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jdoubleArray data)
- {
- jint ret;
-
- jboolean isCopiedArray5 = JNI_FALSE;
- jdouble *ptr5 = NULL;
- static int isWarned5 = 0;
-
- if(data!=NULL)
- {
- ptr5 = (*env)->GetDoubleArrayElements(env, data, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluBuild1DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3Z (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jbooleanArray data)
- {
- jint ret;
-
- jboolean isCopiedArray5 = JNI_FALSE;
- jboolean *ptr5 = NULL;
- static int isWarned5 = 0;
-
- if(data!=NULL)
- {
- ptr5 = (*env)->GetBooleanArrayElements(env, data, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluBuild1DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3J (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jlongArray data)
- {
- jint ret;
-
- jboolean isCopiedArray5 = JNI_FALSE;
- jlong *ptr5 = NULL;
- static int isWarned5 = 0;
-
- if(data!=NULL)
- {
- ptr5 = (*env)->GetLongArrayElements(env, data, &isCopiedArray5);
- if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
- isWarned5=1;
- printf("COPY by gluBuild1DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3B (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jbyteArray data)
- {
- jint ret;
-
- jboolean isCopiedArray6 = JNI_FALSE;
- jbyte *ptr6 = NULL;
- static int isWarned6 = 0;
-
- if(data!=NULL)
- {
- ptr6 = (*env)->GetByteArrayElements(env, data, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluBuild2DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseByteArrayElements(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3S (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jshortArray data)
- {
- jint ret;
-
- jboolean isCopiedArray6 = JNI_FALSE;
- jshort *ptr6 = NULL;
- static int isWarned6 = 0;
-
- if(data!=NULL)
- {
- ptr6 = (*env)->GetShortArrayElements(env, data, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluBuild2DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseShortArrayElements(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3I (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jintArray data)
- {
- jint ret;
-
- jboolean isCopiedArray6 = JNI_FALSE;
- jint *ptr6 = NULL;
- static int isWarned6 = 0;
-
- if(data!=NULL)
- {
- ptr6 = (*env)->GetIntArrayElements(env, data, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluBuild2DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3F (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jfloatArray data)
- {
- jint ret;
-
- jboolean isCopiedArray6 = JNI_FALSE;
- jfloat *ptr6 = NULL;
- static int isWarned6 = 0;
-
- if(data!=NULL)
- {
- ptr6 = (*env)->GetFloatArrayElements(env, data, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluBuild2DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3D (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jdoubleArray data)
- {
- jint ret;
-
- jboolean isCopiedArray6 = JNI_FALSE;
- jdouble *ptr6 = NULL;
- static int isWarned6 = 0;
-
- if(data!=NULL)
- {
- ptr6 = (*env)->GetDoubleArrayElements(env, data, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluBuild2DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3Z (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jbooleanArray data)
- {
- jint ret;
-
- jboolean isCopiedArray6 = JNI_FALSE;
- jboolean *ptr6 = NULL;
- static int isWarned6 = 0;
-
- if(data!=NULL)
- {
- ptr6 = (*env)->GetBooleanArrayElements(env, data, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluBuild2DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseBooleanArrayElements(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3J (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jlongArray data)
- {
- jint ret;
-
- jboolean isCopiedArray6 = JNI_FALSE;
- jlong *ptr6 = NULL;
- static int isWarned6 = 0;
-
- if(data!=NULL)
- {
- ptr6 = (*env)->GetLongArrayElements(env, data, &isCopiedArray6);
- if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
- isWarned6=1;
- printf("COPY by gluBuild2DMipmaps arg: data");
- }
- }
- ret = (jint) gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleaseLongArrayElements(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluQuadricDrawStyle (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jint drawStyle)
- {
-
- gluQuadricDrawStyle (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLenum) drawStyle
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluQuadricOrientation (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jint orientation)
- {
-
- gluQuadricOrientation (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLenum) orientation
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluQuadricNormals (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jint normals)
- {
-
- gluQuadricNormals (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLenum) normals
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluQuadricTexture (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jboolean textureCoords)
- {
-
- gluQuadricTexture (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLboolean) textureCoords
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluCylinder (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble baseRadius,
- jdouble topRadius,
- jdouble height,
- jint slices,
- jint stacks)
- {
-
- gluCylinder (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) baseRadius,
- (GLdouble) topRadius,
- (GLdouble) height,
- (GLint) slices,
- (GLint) stacks
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluSphere (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble radius,
- jint slices,
- jint stacks)
- {
-
- gluSphere (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) radius,
- (GLint) slices,
- (GLint) stacks
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluDisk (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble innerRadius,
- jdouble outerRadius,
- jint slices,
- jint loops)
- {
-
- gluDisk (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) innerRadius,
- (GLdouble) outerRadius,
- (GLint) slices,
- (GLint) loops
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluPartialDisk (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble innerRadius,
- jdouble outerRadius,
- jint slices,
- jint loops,
- jdouble startAngle,
- jdouble sweepAngle)
- {
-
- gluPartialDisk (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) innerRadius,
- (GLdouble) outerRadius,
- (GLint) slices,
- (GLint) loops,
- (GLdouble) startAngle,
- (GLdouble) sweepAngle
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluLoadSamplingMatrices (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jfloatArray modelMatrix,
- jfloatArray projMatrix,
- jintArray viewport)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jfloat *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- static int isWarned2 = 0;
- jboolean isCopiedArray3 = JNI_FALSE;
- jint *ptr3 = NULL;
- static int isWarned3 = 0;
-
- if(modelMatrix!=NULL)
- {
- ptr1 = (*env)->GetFloatArrayElements(env, modelMatrix, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluLoadSamplingMatrices arg: modelMatrix");
- }
- }
- if(projMatrix!=NULL)
- {
- ptr2 = (*env)->GetFloatArrayElements(env, projMatrix, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluLoadSamplingMatrices arg: projMatrix");
- }
- }
- if(viewport!=NULL)
- {
- ptr3 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray3);
- if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) {
- isWarned3=1;
- printf("COPY by gluLoadSamplingMatrices arg: viewport");
- }
- }
- gluLoadSamplingMatrices (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (const GLfloat *) ptr1,
- (const GLfloat *) ptr2,
- (const GLint *) ptr3
- );
-
- if(modelMatrix!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, modelMatrix, ptr1, JNI_ABORT);
- }
- if(projMatrix!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, projMatrix, ptr2, JNI_ABORT);
- }
- if(viewport!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, viewport, ptr3, JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluNurbsProperty (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint property,
- jfloat value)
- {
-
- gluNurbsProperty (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLenum) property,
- (GLfloat) value
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluGetNurbsProperty (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint property,
- jfloatArray value)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(value!=NULL)
- {
- ptr2 = (*env)->GetFloatArrayElements(env, value, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluGetNurbsProperty arg: value");
- }
- }
- gluGetNurbsProperty (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLenum) property,
- (GLfloat *) ptr2
- );
-
- if(value!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBeginCurve (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- gluBeginCurve (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluEndCurve (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- gluEndCurve (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluNurbsCurve (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint nknots,
- jfloatArray knot,
- jint stride,
- jfloatArray ctlarray,
- jint order,
- jint type)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- static int isWarned2 = 0;
- jboolean isCopiedArray4 = JNI_FALSE;
- jfloat *ptr4 = NULL;
- static int isWarned4 = 0;
-
- if(knot!=NULL)
- {
- ptr2 = (*env)->GetFloatArrayElements(env, knot, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluNurbsCurve arg: knot");
- }
- }
- if(ctlarray!=NULL)
- {
- ptr4 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray4);
- if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
- isWarned4=1;
- printf("COPY by gluNurbsCurve arg: ctlarray");
- }
- }
- gluNurbsCurve (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLint) nknots,
- (GLfloat *) ptr2,
- (GLint) stride,
- (GLfloat *) ptr4,
- (GLint) order,
- (GLenum) type
- );
-
- if(knot!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, knot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(ctlarray!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, ctlarray, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBeginSurface (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- gluBeginSurface (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluEndSurface (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- gluEndSurface (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluNurbsSurface (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint sknot_count,
- jfloatArray sknot,
- jint tknot_count,
- jfloatArray tknot,
- jint s_stride,
- jint t_stride,
- jfloatArray ctlarray,
- jint sorder,
- jint torder,
- jint type)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- static int isWarned2 = 0;
- jboolean isCopiedArray4 = JNI_FALSE;
- jfloat *ptr4 = NULL;
- static int isWarned4 = 0;
- jboolean isCopiedArray7 = JNI_FALSE;
- jfloat *ptr7 = NULL;
- static int isWarned7 = 0;
-
- if(sknot!=NULL)
- {
- ptr2 = (*env)->GetFloatArrayElements(env, sknot, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluNurbsSurface arg: sknot");
- }
- }
- if(tknot!=NULL)
- {
- ptr4 = (*env)->GetFloatArrayElements(env, tknot, &isCopiedArray4);
- if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
- isWarned4=1;
- printf("COPY by gluNurbsSurface arg: tknot");
- }
- }
- if(ctlarray!=NULL)
- {
- ptr7 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray7);
- if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) {
- isWarned7=1;
- printf("COPY by gluNurbsSurface arg: ctlarray");
- }
- }
- gluNurbsSurface (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLint) sknot_count,
- (GLfloat *) ptr2,
- (GLint) tknot_count,
- (GLfloat *) ptr4,
- (GLint) s_stride,
- (GLint) t_stride,
- (GLfloat *) ptr7,
- (GLint) sorder,
- (GLint) torder,
- (GLenum) type
- );
-
- if(sknot!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, sknot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(tknot!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, tknot, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(ctlarray!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, ctlarray, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBeginTrim (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- gluBeginTrim (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluEndTrim (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- gluEndTrim (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluPwlCurve (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint count,
- jfloatArray array,
- jint stride,
- jint type)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(array!=NULL)
- {
- ptr2 = (*env)->GetFloatArrayElements(env, array, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluPwlCurve arg: array");
- }
- }
- gluPwlCurve (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLint) count,
- (GLfloat *) ptr2,
- (GLint) stride,
- (GLenum) type
- );
-
- if(array!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, array, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3B (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jbyteArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jbyte *ptr1 = NULL;
- static int isWarned1 = 0;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (*env)->GetByteArrayElements(env, polygon_data, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessBeginPolygon arg: polygon_data");
- }
- }
- gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleaseByteArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3S (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jshortArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jshort *ptr1 = NULL;
- static int isWarned1 = 0;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (*env)->GetShortArrayElements(env, polygon_data, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessBeginPolygon arg: polygon_data");
- }
- }
- gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleaseShortArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3I (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jintArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jint *ptr1 = NULL;
- static int isWarned1 = 0;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (*env)->GetIntArrayElements(env, polygon_data, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessBeginPolygon arg: polygon_data");
- }
- }
- gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3F (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jfloatArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jfloat *ptr1 = NULL;
- static int isWarned1 = 0;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (*env)->GetFloatArrayElements(env, polygon_data, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessBeginPolygon arg: polygon_data");
- }
- }
- gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3D (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, polygon_data, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessBeginPolygon arg: polygon_data");
- }
- }
- gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3Z (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jbooleanArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jboolean *ptr1 = NULL;
- static int isWarned1 = 0;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (*env)->GetBooleanArrayElements(env, polygon_data, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessBeginPolygon arg: polygon_data");
- }
- }
- gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleaseBooleanArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3J (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jlongArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jlong *ptr1 = NULL;
- static int isWarned1 = 0;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (*env)->GetLongArrayElements(env, polygon_data, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessBeginPolygon arg: polygon_data");
- }
- }
- gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleaseLongArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessBeginContour (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- gluTessBeginContour (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3B (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jbyteArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jbyte *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(coords!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessVertex arg: coords");
- }
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (*env)->GetByteArrayElements(env, vertex_data, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluTessVertex arg: vertex_data");
- }
- }
- gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleaseByteArrayElements(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3S (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jshortArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jshort *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(coords!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessVertex arg: coords");
- }
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (*env)->GetShortArrayElements(env, vertex_data, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluTessVertex arg: vertex_data");
- }
- }
- gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleaseShortArrayElements(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3I (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jintArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jint *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(coords!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessVertex arg: coords");
- }
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (*env)->GetIntArrayElements(env, vertex_data, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluTessVertex arg: vertex_data");
- }
- }
- gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleaseIntArrayElements(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3F (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jfloatArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(coords!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessVertex arg: coords");
- }
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (*env)->GetFloatArrayElements(env, vertex_data, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluTessVertex arg: vertex_data");
- }
- }
- gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleaseFloatArrayElements(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3D (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jdoubleArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jdouble *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(coords!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessVertex arg: coords");
- }
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (*env)->GetDoubleArrayElements(env, vertex_data, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluTessVertex arg: vertex_data");
- }
- }
- gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3Z (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jbooleanArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jboolean *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(coords!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessVertex arg: coords");
- }
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (*env)->GetBooleanArrayElements(env, vertex_data, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluTessVertex arg: vertex_data");
- }
- }
- gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleaseBooleanArrayElements(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3J (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jlongArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- static int isWarned1 = 0;
- jboolean isCopiedArray2 = JNI_FALSE;
- jlong *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(coords!=NULL)
- {
- ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
- if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
- isWarned1=1;
- printf("COPY by gluTessVertex arg: coords");
- }
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (*env)->GetLongArrayElements(env, vertex_data, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluTessVertex arg: vertex_data");
- }
- }
- gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleaseLongArrayElements(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessEndContour ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessEndContour (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- gluTessEndContour (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessEndPolygon (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- gluTessEndPolygon (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessProperty (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jint which,
- jdouble value)
- {
-
- gluTessProperty (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLenum) which,
- (GLdouble) value
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluTessNormal (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdouble x,
- jdouble y,
- jdouble z)
- {
-
- gluTessNormal (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble) x,
- (GLdouble) y,
- (GLdouble) z
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluGetTessProperty (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jint which,
- jdoubleArray value)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jdouble *ptr2 = NULL;
- static int isWarned2 = 0;
-
- if(value!=NULL)
- {
- ptr2 = (*env)->GetDoubleArrayElements(env, value, &isCopiedArray2);
- if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
- isWarned2=1;
- printf("COPY by gluGetTessProperty arg: value");
- }
- }
- gluGetTessProperty (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLenum) which,
- (GLdouble *) ptr2
- );
-
- if(value!=NULL)
- {
- (*env)->ReleaseDoubleArrayElements(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluBeginPolygon (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- gluBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluNextContour (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jint type)
- {
-
- gluNextContour (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLenum) type
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNI_gluEndPolygon (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- gluEndPolygon (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGLU_JauJNI_funcs.c b/CNativeCode/OpenGLU_JauJNI_funcs.c
index 8b2f135..56928ab 100644
--- a/CNativeCode/OpenGLU_JauJNI_funcs.c
+++ b/CNativeCode/OpenGLU_JauJNI_funcs.c
@@ -41,7 +41,7 @@ Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluErrorString ( /* jint */ errorCode );
+ tmpString = disp__gluErrorString ( /* jint */ errorCode );
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -54,7 +54,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
- tmpString = gluGetString ( /* jint */ name);
+ tmpString = disp__gluGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -62,7 +62,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
}
static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.5.2.0";
+static const char * _glu_lib_version_="2.7.0.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -112,7 +112,7 @@ Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluQuadricCallback((void *)((PointerHolder)qobj),
+ disp__gluQuadricCallback((void *)((PointerHolder)qobj),
which, cbf_GLU_ERROR );
break;
default:
@@ -136,7 +136,7 @@ Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_ERROR:
- gluNurbsCallback((void *)((PointerHolder)nobj), which,
+ disp__gluNurbsCallback((void *)((PointerHolder)nobj), which,
cbf_GLU_ERROR );
break;
default:
@@ -164,62 +164,62 @@ Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj,
switch(which)
{
case GLU_TESS_BEGIN:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN );
break;
case GLU_TESS_BEGIN_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_BEGIN_DATA );
break;
case GLU_TESS_EDGE_FLAG:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG );
break;
case GLU_TESS_EDGE_FLAG_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_EDGE_FLAG_DATA );
break;
case GLU_TESS_VERTEX:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX );
break;
case GLU_TESS_VERTEX_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_VERTEX_DATA );
break;
case GLU_TESS_END:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END );
break;
case GLU_TESS_END_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_END_DATA );
break;
case GLU_TESS_ERROR:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR );
break;
case GLU_TESS_ERROR_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_ERROR_DATA );
break;
case GLU_TESS_COMBINE:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE );
break;
case GLU_TESS_COMBINE_DATA:
- gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
which,
cbf_GLU_TESS_COMBINE_DATA );
break;
@@ -238,7 +238,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj,
jlong qobj )
{
- gluDeleteQuadric((void *)((PointerHolder)qobj));
+ disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
RemoveCallbackNodes((void *)((PointerHolder)qobj));
}
@@ -246,7 +246,7 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
jlong nobj )
{
- gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
+ disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
RemoveCallbackNodes((void *)((PointerHolder)nobj));
}
@@ -254,30 +254,30 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
jlong tobj )
{
- gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
+ disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
RemoveCallbackNodes((void *)((PointerHolder)tobj));
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewQuadric( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewQuadric());
+ return (jlong)((PointerHolder)disp__gluNewQuadric());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewNurbsRenderer());
+ return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
- return (jlong)((PointerHolder)gluNewTess());
+ return (jlong)((PointerHolder)disp__gluNewTess());
}
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -303,7 +303,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble upz)
{
- gluLookAt (
+ disp__gluLookAt (
(GLdouble) eyex,
(GLdouble) eyey,
(GLdouble) eyez,
@@ -332,7 +332,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble top)
{
- gluOrtho2D (
+ disp__gluOrtho2D (
(GLdouble) left,
(GLdouble) right,
(GLdouble) bottom,
@@ -356,7 +356,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble zFar)
{
- gluPerspective (
+ disp__gluPerspective (
(GLdouble) fovy,
(GLdouble) aspect,
(GLdouble) zNear,
@@ -387,7 +387,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr4 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray4);
}
- gluPickMatrix (
+ disp__gluPickMatrix (
(GLdouble) x,
(GLdouble) y,
(GLdouble) width,
@@ -456,7 +456,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr8 = (*env)->GetDoubleArrayElements(env, winz, &isCopiedArray8);
}
- ret = (jint) gluProject (
+ ret = (jint) disp__gluProject (
(GLdouble) objx,
(GLdouble) objy,
(GLdouble) objz,
@@ -550,7 +550,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr8 = (*env)->GetDoubleArrayElements(env, objz, &isCopiedArray8);
}
- ret = (jint) gluUnProject (
+ ret = (jint) disp__gluUnProject (
(GLdouble) winx,
(GLdouble) winy,
(GLdouble) winz,
@@ -622,7 +622,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr8 = (*env)->GetByteArrayElements(env, dataout, &isCopiedArray8);
}
- ret = (jint) gluScaleImage (
+ ret = (jint) disp__gluScaleImage (
(GLenum) format,
(GLsizei) widthin,
(GLsizei) heightin,
@@ -669,7 +669,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (*env)->GetByteArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -702,7 +702,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (*env)->GetShortArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -735,7 +735,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (*env)->GetIntArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -768,7 +768,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (*env)->GetFloatArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -801,7 +801,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (*env)->GetDoubleArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -834,7 +834,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (*env)->GetBooleanArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -867,7 +867,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr5 = (*env)->GetLongArrayElements(env, data, 0);
}
- ret = (jint) gluBuild1DMipmaps (
+ ret = (jint) disp__gluBuild1DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -908,7 +908,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (*env)->GetByteArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -943,7 +943,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (*env)->GetShortArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -978,7 +978,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (*env)->GetIntArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1013,7 +1013,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (*env)->GetFloatArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1048,7 +1048,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (*env)->GetDoubleArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1083,7 +1083,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (*env)->GetBooleanArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1118,7 +1118,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr6 = (*env)->GetLongArrayElements(env, data, 0);
}
- ret = (jint) gluBuild2DMipmaps (
+ ret = (jint) disp__gluBuild2DMipmaps (
(GLenum) target,
(GLint) components,
(GLint) width,
@@ -1148,7 +1148,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint drawStyle)
{
- gluQuadricDrawStyle (
+ disp__gluQuadricDrawStyle (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) drawStyle
);
@@ -1168,7 +1168,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint orientation)
{
- gluQuadricOrientation (
+ disp__gluQuadricOrientation (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) orientation
);
@@ -1188,7 +1188,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint normals)
{
- gluQuadricNormals (
+ disp__gluQuadricNormals (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) normals
);
@@ -1208,7 +1208,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean textureCoords)
{
- gluQuadricTexture (
+ disp__gluQuadricTexture (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLboolean) textureCoords
);
@@ -1232,7 +1232,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
- gluCylinder (
+ disp__gluCylinder (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) baseRadius,
(GLdouble) topRadius,
@@ -1258,7 +1258,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
- gluSphere (
+ disp__gluSphere (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) radius,
(GLint) slices,
@@ -1283,7 +1283,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint loops)
{
- gluDisk (
+ disp__gluDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1311,7 +1311,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble sweepAngle)
{
- gluPartialDisk (
+ disp__gluPartialDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
(GLdouble) outerRadius,
@@ -1353,7 +1353,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr3 = (*env)->GetIntArrayElements(env, viewport, 0);
}
- gluLoadSamplingMatrices (
+ disp__gluLoadSamplingMatrices (
(GLUnurbsObj *) (PointerHolder) nobj,
(const GLfloat *) ptr1,
(const GLfloat *) ptr2,
@@ -1388,7 +1388,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat value)
{
- gluNurbsProperty (
+ disp__gluNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat) value
@@ -1416,7 +1416,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetFloatArrayElements(env, value, &isCopiedArray2);
}
- gluGetNurbsProperty (
+ disp__gluGetNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
(GLfloat *) ptr2
@@ -1440,7 +1440,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluBeginCurve (
+ disp__gluBeginCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1458,7 +1458,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluEndCurve (
+ disp__gluEndCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1494,7 +1494,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr4 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray4);
}
- gluNurbsCurve (
+ disp__gluNurbsCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) nknots,
(GLfloat *) ptr2,
@@ -1526,7 +1526,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluBeginSurface (
+ disp__gluBeginSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1544,7 +1544,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluEndSurface (
+ disp__gluEndSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1590,7 +1590,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr7 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray7);
}
- gluNurbsSurface (
+ disp__gluNurbsSurface (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) sknot_count,
(GLfloat *) ptr2,
@@ -1630,7 +1630,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluBeginTrim (
+ disp__gluBeginTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1648,7 +1648,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
- gluEndTrim (
+ disp__gluEndTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1676,7 +1676,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetFloatArrayElements(env, array, &isCopiedArray2);
}
- gluPwlCurve (
+ disp__gluPwlCurve (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLint) count,
(GLfloat *) ptr2,
@@ -1709,7 +1709,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (*env)->GetByteArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1732,7 +1732,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (*env)->GetShortArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1755,7 +1755,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (*env)->GetIntArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1778,7 +1778,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (*env)->GetFloatArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1801,7 +1801,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (*env)->GetDoubleArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1824,7 +1824,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (*env)->GetBooleanArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1847,7 +1847,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr1 = (*env)->GetLongArrayElements(env, polygon_data, &isCopiedArray1);
}
- gluTessBeginPolygon (
+ disp__gluTessBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj,
(void *) ptr1
);
@@ -1870,7 +1870,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluTessBeginContour (
+ disp__gluTessBeginContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1902,7 +1902,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetByteArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1937,7 +1937,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetShortArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -1972,7 +1972,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetIntArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2007,7 +2007,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetFloatArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2042,7 +2042,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetDoubleArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2077,7 +2077,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetBooleanArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2112,7 +2112,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetLongArrayElements(env, vertex_data, &isCopiedArray2);
}
- gluTessVertex (
+ disp__gluTessVertex (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble *) ptr1,
(void *) ptr2
@@ -2140,7 +2140,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluTessEndContour (
+ disp__gluTessEndContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2158,7 +2158,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluTessEndPolygon (
+ disp__gluTessEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2178,7 +2178,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble value)
{
- gluTessProperty (
+ disp__gluTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble) value
@@ -2201,7 +2201,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble z)
{
- gluTessNormal (
+ disp__gluTessNormal (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble) x,
(GLdouble) y,
@@ -2230,7 +2230,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
ptr2 = (*env)->GetDoubleArrayElements(env, value, &isCopiedArray2);
}
- gluGetTessProperty (
+ disp__gluGetTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
(GLdouble *) ptr2
@@ -2254,7 +2254,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluBeginPolygon (
+ disp__gluBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2273,7 +2273,7 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint type)
{
- gluNextContour (
+ disp__gluNextContour (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) type
);
@@ -2292,10 +2292,10 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
- gluEndPolygon (
+ disp__gluEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
}
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGL_Win32.c b/CNativeCode/OpenGL_Win32.c
index df4ad2d..6213fdd 100755
--- a/CNativeCode/OpenGL_Win32.c
+++ b/CNativeCode/OpenGL_Win32.c
@@ -258,7 +258,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
fflush(stderr);
}
- wglMakeCurrent(NULL, NULL);
+ disp__wglMakeCurrent(NULL, NULL);
/**
* with version jdk1.1.6 and later, we are able to use
@@ -351,7 +351,7 @@ Java_gl4java_GLContext_gljMakeCurrentNative( JNIEnv *env, jobject obj,
return JNI_FALSE;
}
- if ( ret==JNI_TRUE && !wglMakeCurrent((HDC)((PointerHolder)thisWin),
+ if ( ret==JNI_TRUE && !disp__wglMakeCurrent((HDC)((PointerHolder)thisWin),
(HGLRC)((PointerHolder)glContext)) )
{
return JNI_FALSE;
@@ -372,7 +372,7 @@ Java_gl4java_GLContext_gljFreeNative( JNIEnv *env, jobject obj,
(void)disp;
(void)canvas;
- if ( ! wglMakeCurrent( NULL, NULL ) )
+ if ( ! disp__wglMakeCurrent( NULL, NULL ) )
{
fprintf(stderr, "gljFree failed\n");
fflush(stderr);
@@ -454,7 +454,7 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
}
}
- if ( ! wglMakeCurrent( NULL, NULL ) )
+ if ( ! disp__wglMakeCurrent( NULL, NULL ) )
{
fprintf(stderr, "gljDestroy failed (free)\n");
fflush(stderr);
@@ -463,7 +463,7 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
if(ret==JNI_TRUE)
{
if(gc!=0)
- wglDeleteContext(gc);
+ disp__wglDeleteContext(gc);
if(pix!=0)
{
@@ -536,7 +536,7 @@ Java_gl4java_GLContext_gljSwapNative( JNIEnv *env, jobject obj,
return JNI_FALSE;
}
} else {
- glFlush();
+ disp__glFlush();
}
return ret;
}
diff --git a/CNativeCode/OpenGL_Win32_common.c b/CNativeCode/OpenGL_Win32_common.c
index 8368677..9b44a34 100755
--- a/CNativeCode/OpenGL_Win32_common.c
+++ b/CNativeCode/OpenGL_Win32_common.c
@@ -17,281 +17,6 @@
#include "OpenGL_Win32_common.h"
-HGLRC LIBAPIENTRY get_GC( HDC * hDC, GLCapabilities *glCaps,
- HGLRC shareWith,
- jboolean offScreenRenderer,
- int width, int height, HBITMAP *pix,
- jboolean verbose)
-
-{
- const char * text=0;
- HDC hDCOrig = 0;
-
- // Color Palette handle
- HPALETTE hPalette = NULL;
- HGLRC tempRC=0;
-
- if( *hDC == 0 && !offScreenRenderer)
- printf( "get_GC: Error, HDC is zero\n");
-
- // Select the pixel format
- if(offScreenRenderer)
- {
- hDCOrig = *hDC;
- *hDC = CreateCompatibleDC(hDCOrig);
- // setupDIB(*hDC, pix, width, height);
- setupDIB(hDCOrig, *hDC, pix, width, height);
- /* SetDCPixelFormat(hDCOffScr, doubleBuffer, stereo, stencilBits, offScreenRenderer); */
- /* setupPalette(hDC); USE MY PROC */
- }
-
- SetDCPixelFormat(*hDC, glCaps, offScreenRenderer, verbose);
-
- // Create palette if needed
- hPalette = GetOpenGLPalette(*hDC);
-
- tempRC = wglCreateContext( *hDC );
-
- if(verbose==JNI_TRUE)
- {
- fprintf(stderr,"\n\nPIXELFORMAT OF GL-Context SETTINGS:\n");
- text=GetTextualPixelFormatByHDC(*hDC);
- fprintf(stderr,text);
- }
-
- /* check if the context could be created */
- if( tempRC == NULL ) {
- fprintf(stderr, "getGC context could NOT be created \n");
- return( 0 );
- }
-
- /* associated the context with the X window */
- if( wglMakeCurrent( *hDC, tempRC ) == FALSE) {
- fprintf(stderr,"wglMakeCurrent(%d,%d) failed on new context!!!\n",(int)*hDC,(int)tempRC);
- fprintf(stderr,"Error code = %d\n",(int)GetLastError());
- wglMakeCurrent(NULL, NULL);
- wglDeleteContext( tempRC );
- return( 0 );
- }
-
- if(shareWith!=NULL && wglShareLists(shareWith, tempRC)==FALSE)
- {
- fprintf(stderr,"\nERROR: Could not share lists between the new and the given GLContext (Win32Native)!\n");
- fprintf(stderr,"Error code = %d\n",(int)GetLastError());
- wglMakeCurrent(NULL, NULL);
- wglDeleteContext( tempRC );
- return( 0 );
- }
-
- if(JNI_TRUE==verbose)
- printf( "HGLRC (glContext) created: %d\n", tempRC );
-
- return tempRC;
-}
-
-void LIBAPIENTRY setPixelFormatByGLCapabilities(
- PIXELFORMATDESCRIPTOR *pfd,
- GLCapabilities *glCaps,
- jboolean offScreenRenderer,
- HDC hdc)
-{
-
- int colorBits = glCaps->redBits + glCaps->greenBits + glCaps->blueBits;
-
- pfd->nSize=sizeof(PIXELFORMATDESCRIPTOR);
- pfd->nVersion=1;
- pfd->dwFlags=PFD_SUPPORT_OPENGL | PFD_GENERIC_ACCELERATED; /* refined later */
- pfd->iPixelType=0;
- pfd->cColorBits=0;
- pfd->cRedBits=0;
- pfd->cRedShift=0;
- pfd->cGreenBits=0;
- pfd->cGreenShift=0;
- pfd->cBlueBits=0;
- pfd->cBlueShift=0;
- pfd->cAlphaBits=0;
- pfd->cAlphaShift=0;
- pfd->cAccumBits=0;
- pfd->cAccumRedBits=0;
- pfd->cAccumGreenBits=0;
- pfd->cAccumBlueBits=0;
- pfd->cAccumAlphaBits=0;
- pfd->cDepthBits=32;
- pfd->cStencilBits=0;
- pfd->cAuxBuffers=0;
- pfd->iLayerType=PFD_MAIN_PLANE;
- pfd->bReserved=0;
- pfd->dwLayerMask=0;
- pfd->dwVisibleMask=0;
- pfd->dwDamageMask=0;
-
- if(COLOR_RGBA == glCaps->color)
- pfd->iPixelType=PFD_TYPE_RGBA;
- else
- pfd->iPixelType=PFD_TYPE_COLORINDEX;
-
- if(offScreenRenderer)
- pfd->dwFlags |= PFD_DRAW_TO_BITMAP; // Draw to Bitmap
- else
- pfd->dwFlags |= PFD_DRAW_TO_WINDOW; // Draw to Window (not to bitmap)
-
-
- if(BUFFER_DOUBLE==glCaps->buffer)
- pfd->dwFlags |= PFD_DOUBLEBUFFER ; // Double buffered is optional
-
- if(STEREO_ON==glCaps->stereo)
- pfd->dwFlags |= PFD_STEREO ; // Stereo is optional
-
- if(hdc!=NULL && GetDeviceCaps(hdc, BITSPIXEL)<colorBits)
- pfd->cColorBits = GetDeviceCaps(hdc, BITSPIXEL);
- else
- pfd->cColorBits = (BYTE)colorBits;
-
- pfd->cStencilBits = (BYTE) glCaps->stencilBits;
-}
-
-
-void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps,
- jboolean offScreenRenderer, jboolean verbose)
-{
- int nPixelFormat=-1;
- const char * text=0;
-
- PIXELFORMATDESCRIPTOR pfd ;
-
- if(verbose==JNI_TRUE)
- {
- fprintf(stdout, "GL4Java SetDCPixelFormat: input capabilities:\n");
- printGLCapabilities ( glCaps );
- }
-
- if(glCaps->nativeVisualID>=0)
- {
- if ( 0 < DescribePixelFormat( hDC, (int)(glCaps->nativeVisualID),
- sizeof(pfd), &pfd ) )
- {
- nPixelFormat=(int)(glCaps->nativeVisualID);
- if(verbose==JNI_TRUE)
- {
- fprintf(stderr,"\n\nUSER found stored PIXELFORMAT number: %ld\n",
- nPixelFormat);
- fflush(stderr);
- }
- } else {
- fprintf(stderr,"\n\nUSER no stored PIXELFORMAT number found !!\n");
- nPixelFormat = -1;
- fflush(stderr);
- }
- }
-
- if(nPixelFormat<0)
- setPixelFormatByGLCapabilities( &pfd, glCaps, offScreenRenderer, hDC);
-
- if(verbose==JNI_TRUE)
- {
- fprintf(stderr,"\n\nUSER CHOOSED PIXELFORMAT (TRYING):\n");
- text=GetTextualPixelFormatByPFD(&pfd, nPixelFormat);
- fprintf(stderr,text);
- fflush(stderr);
- }
-
- // Choose a pixel format that best matches that described in pfd
- if( hDC == 0 )
- printf( "SetDCPixelFormat: Error, no HDC-Contex is given\n");
- else if(nPixelFormat<0)
- nPixelFormat = ChoosePixelFormat(hDC, &pfd);
-
- if( nPixelFormat == 0 )
- printf( "SetDCPixelFormat: Error with PixelFormat\n" );
-
- // Set the pixel format for the device context
- if( SetPixelFormat(hDC, nPixelFormat, &pfd) == FALSE)
- printf( "setpixel failed\n" );
- else {
- (void) setGLCapabilities ( hDC, nPixelFormat, glCaps );
- if(verbose==JNI_TRUE)
- {
- fprintf(stdout, "GL4Java SetDCPixelFormat: used capabilities:\n");
- printGLCapabilities ( glCaps );
- }
- }
- fflush(stdout);
- fflush(stderr);
-}
-
-
-// If necessary, creates a 3-3-2 palette for the device context listed.
-HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC)
-{
- HPALETTE hRetPal = NULL; // Handle to palette to be created
- PIXELFORMATDESCRIPTOR pfd; // Pixel Format Descriptor
- LOGPALETTE *pPal=0; // Pointer to memory for logical palette
- int nPixelFormat=0; // Pixel format index
- int nColors=0; // Number of entries in palette
- int i=0; // Counting variable
- BYTE RedRange=0,GreenRange=0,BlueRange=0;
- // Range for each color entry (7,7,and 3)
-
-
- // Get the pixel format index and retrieve the pixel format description
- nPixelFormat = GetPixelFormat(hDC);
- DescribePixelFormat(hDC, nPixelFormat, sizeof(PIXELFORMATDESCRIPTOR), &pfd);
-
- // Does this pixel format require a palette? If not, do not create a
- // palette and just return NULL
- if(!(pfd.dwFlags & PFD_NEED_PALETTE))
- return NULL;
-
- // Number of entries in palette. 8 bits yeilds 256 entries
- nColors = 1 << pfd.cColorBits;
-
- // Allocate space for a logical palette structure plus all the palette entries
- pPal = (LOGPALETTE*)malloc(sizeof(LOGPALETTE) + nColors*sizeof(PALETTEENTRY));
-
- // Fill in palette header
- pPal->palVersion = 0x300; // Windows 3.0
- pPal->palNumEntries = nColors; // table size
-
- // Build mask of all 1's. This creates a number represented by having
- // the low order x bits set, where x = pfd.cRedBits, pfd.cGreenBits, and
- // pfd.cBlueBits.
- RedRange = (1 << pfd.cRedBits) -1;
- GreenRange = (1 << pfd.cGreenBits) - 1;
- BlueRange = (1 << pfd.cBlueBits) -1;
-
- // Loop through all the palette entries
- for(i = 0; i < nColors; i++)
- {
- // Fill in the 8-bit equivalents for each component
- pPal->palPalEntry[i].peRed = (i >> pfd.cRedShift) & RedRange;
- pPal->palPalEntry[i].peRed = (unsigned char)(
- (double) pPal->palPalEntry[i].peRed * 255.0 / RedRange);
-
- pPal->palPalEntry[i].peGreen = (i >> pfd.cGreenShift) & GreenRange;
- pPal->palPalEntry[i].peGreen = (unsigned char)(
- (double)pPal->palPalEntry[i].peGreen * 255.0 / GreenRange);
-
- pPal->palPalEntry[i].peBlue = (i >> pfd.cBlueShift) & BlueRange;
- pPal->palPalEntry[i].peBlue = (unsigned char)(
- (double)pPal->palPalEntry[i].peBlue * 255.0 / BlueRange);
-
- pPal->palPalEntry[i].peFlags = (unsigned char) NULL;
- }
-
-
- // Create the palette
- hRetPal = CreatePalette(pPal);
-
- // Go ahead and select and realize the palette for this device context
- SelectPalette(hDC,hRetPal,FALSE);
- RealizePalette(hDC);
-
- // Free the memory used for the logical palette structure
- free(pPal);
-
- // Return the handle to the new palette
- return hRetPal;
-}
jboolean LIBAPIENTRY testWin32Java()
@@ -329,436 +54,3 @@ jboolean LIBAPIENTRY testWin32Java()
}
-
-static void
-PrintMessage( const char *Format, ... )
-{
- va_list ArgList;
- char Buffer[256];
-
- va_start(ArgList, Format);
- vsprintf(Buffer, Format, ArgList);
- va_end(ArgList);
-
- fprintf(stderr, Buffer);
-}
-
-
-int LIBAPIENTRY
-PixelFormatDescriptorFromDc( HDC Dc, PIXELFORMATDESCRIPTOR *Pfd )
-{
- int PfdIndex;
-
- if ( 0 < (PfdIndex = GetPixelFormat( Dc )) )
- {
- if ( 0 < DescribePixelFormat( Dc, PfdIndex, sizeof(*Pfd), Pfd ) )
- {
- return(PfdIndex);
- }
- else
- {
- PrintMessage("Could not get a description of pixel format %d\n",
- PfdIndex );
- }
- }
- else
- {
- PrintMessage("Could not get pixel format for Dc 0x%08lX\n", Dc );
- }
- return( 0 );
-}
-
-
-const char * LIBAPIENTRY
-GetTextualPixelFormatByPFD(PIXELFORMATDESCRIPTOR *ppfd, int format)
-{
- static char buffer[2000];
- char line[200];
-
- sprintf(buffer,"Pixel format %d\n", format);
- sprintf(line," dwFlags - 0x%x\n", ppfd->dwFlags);
- if (ppfd->dwFlags & PFD_DOUBLEBUFFER) { strcat(buffer, line); sprintf(line,"\tPFD_DOUBLEBUFFER\n "); }
- if (ppfd->dwFlags & PFD_STEREO) { strcat(buffer, line); sprintf(line,"\tPFD_STEREO\n "); }
- if (ppfd->dwFlags & PFD_DRAW_TO_WINDOW) { strcat(buffer, line); sprintf(line,"\tPFD_DRAW_TO_WINDOW\n "); }
- if (ppfd->dwFlags & PFD_DRAW_TO_BITMAP) { strcat(buffer, line); sprintf(line,"\tPFD_DRAW_TO_BITMAP\n "); }
- if (ppfd->dwFlags & PFD_SUPPORT_GDI) { strcat(buffer, line); sprintf(line,"\tPFD_SUPPORT_GDI\n "); }
- if (ppfd->dwFlags & PFD_SUPPORT_OPENGL) { strcat(buffer, line); sprintf(line,"\tPFD_SUPPORT_OPENGL\n "); }
- if (ppfd->dwFlags & PFD_GENERIC_ACCELERATED) { strcat(buffer, line); sprintf(line,"\tPFD_GENERIC_ACCELERATED\n "); }
- if (ppfd->dwFlags & PFD_GENERIC_FORMAT) { strcat(buffer, line); sprintf(line,"\tPFD_GENERIC_FORMAT\n "); }
- if (ppfd->dwFlags & PFD_NEED_PALETTE) { strcat(buffer, line); sprintf(line,"\tPFD_NEED_PALETTE\n "); }
- if (ppfd->dwFlags & PFD_NEED_SYSTEM_PALETTE) { strcat(buffer, line); sprintf(line,"\tPFD_NEED_SYSTEM_PALETTE\n "); }
- strcat(buffer, line); sprintf(line,"\n");
- strcat(buffer, line); sprintf(line," iPixelType - %d\n", ppfd->iPixelType);
- if (ppfd->iPixelType == PFD_TYPE_RGBA) { strcat(buffer, line); sprintf(line,"\tPGD_TYPE_RGBA\n"); }
- if (ppfd->iPixelType == PFD_TYPE_COLORINDEX) { strcat(buffer, line); sprintf(line,"\tPGD_TYPE_COLORINDEX\n"); }
- strcat(buffer, line); sprintf(line," cColorBits - %d\n", ppfd->cColorBits);
- strcat(buffer, line); sprintf(line," cRedBits - %d\n", ppfd->cRedBits);
- strcat(buffer, line); sprintf(line," cRedShift - %d\n", ppfd->cRedShift);
- strcat(buffer, line); sprintf(line," cGreenBits - %d\n", ppfd->cGreenBits);
- strcat(buffer, line); sprintf(line," cGreenShift - %d\n", ppfd->cGreenShift);
- strcat(buffer, line); sprintf(line," cBlueBits - %d\n", ppfd->cBlueBits);
- strcat(buffer, line); sprintf(line," cBlueShift - %d\n", ppfd->cBlueShift);
- strcat(buffer, line); sprintf(line," cAlphaBits - %d (N.A.)\n", ppfd->cAlphaBits);
- strcat(buffer, line); sprintf(line," cAlphaShift - 0x%x (N.A.)\n", ppfd->cAlphaShift);
- strcat(buffer, line); sprintf(line," cAccumBits - %d\n", ppfd->cAccumBits);
- strcat(buffer, line); sprintf(line," cAccumRedBits - %d\n", ppfd->cAccumRedBits);
- strcat(buffer, line); sprintf(line," cAccumGreenBits - %d\n", ppfd->cAccumGreenBits);
- strcat(buffer, line); sprintf(line," cAccumBlueBits - %d\n", ppfd->cAccumBlueBits);
- strcat(buffer, line); sprintf(line," cAccumAlphaBits - %d\n", ppfd->cAccumAlphaBits);
- strcat(buffer, line); sprintf(line," cDepthBits - %d\n", ppfd->cDepthBits);
- strcat(buffer, line); sprintf(line," cStencilBits - %d\n", ppfd->cStencilBits);
- strcat(buffer, line); sprintf(line," cAuxBuffers - %d\n", ppfd->cAuxBuffers);
- strcat(buffer, line); sprintf(line," iLayerType - %d\n", ppfd->iLayerType);
- strcat(buffer, line); sprintf(line," bReserved - %d\n", ppfd->bReserved);
- strcat(buffer, line); sprintf(line," dwLayerMask - 0x%x\n", ppfd->dwLayerMask);
- strcat(buffer, line); sprintf(line," dwVisibleMask - 0x%x\n", ppfd->dwVisibleMask);
- strcat(buffer, line); sprintf(line," dwDamageMask - 0x%x\n", ppfd->dwDamageMask);
- strcat(buffer, line);
- return buffer;
-}
-
-const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc)
-{
- PIXELFORMATDESCRIPTOR pfd, *ppfd=0;
- int format=0;
-
- ppfd = &pfd;
- format = PixelFormatDescriptorFromDc( hdc, ppfd );
-
- return GetTextualPixelFormatByPFD(ppfd, format);
-}
-
-/*****************************************************************/
-
-/* Struct used to manage color ramps */
-typedef struct {
- GLfloat amb[3]; /* ambient color / bottom of ramp */
- GLfloat diff[3]; /* diffuse color / middle of ramp */
- GLfloat spec[3]; /* specular color / top of ramp */
- GLfloat ratio; /* ratio of diffuse to specular in ramp */
- GLint indexes[3]; /* where ramp was placed in palette */
-} colorIndexState ;
-
-#define NUM_COLORS (sizeof(colors) / sizeof(colors[0]))
-
-void LIBAPIENTRY
-setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap, int width, int height)
-{
- BITMAPINFO *bmInfo=0;
- BITMAPINFOHEADER *bmHeader=0;
- UINT usage=0;
- VOID *base=0;
- int bmiSize=0;
- int bitsPerPixel=0;
- HBITMAP hOldBitmap=0;
-
- bmiSize = sizeof(*bmInfo);
- bitsPerPixel = GetDeviceCaps(hDC, BITSPIXEL);
-
- switch (bitsPerPixel) {
- case 8:
- // bmiColors is 256 WORD palette indices
- bmiSize += (256 * sizeof(WORD)) - sizeof(RGBQUAD);
- break;
- case 16:
- // bmiColors is 3 WORD component masks
- bmiSize += (3 * sizeof(DWORD)) - sizeof(RGBQUAD);
- break;
- case 24:
- case 32:
- default:
- // bmiColors not used
- break;
- }
-
- bmInfo = (BITMAPINFO *) calloc(1, bmiSize);
- bmHeader = &bmInfo->bmiHeader;
-
- bmHeader->biSize = sizeof(*bmHeader);
- bmHeader->biWidth = width;
- bmHeader->biHeight = height;
- bmHeader->biPlanes = 1; // must be 1
- bmHeader->biBitCount = bitsPerPixel;
- bmHeader->biXPelsPerMeter = 0;
- bmHeader->biYPelsPerMeter = 0;
- bmHeader->biClrUsed = 0; // all are used
- bmHeader->biClrImportant = 0; // all are important
-
- switch (bitsPerPixel) {
- case 8:
- bmHeader->biCompression = BI_RGB;
- bmHeader->biSizeImage = 0;
- usage = DIB_PAL_COLORS;
- // bmiColors is 256 WORD palette indices
- {
- WORD *palIndex = (WORD *) &bmInfo->bmiColors[0];
- int i;
-
- for (i=0; i<256; i++) {
- palIndex[i] = i;
- }
- }
- break;
- case 16:
- bmHeader->biCompression = BI_RGB;
- bmHeader->biSizeImage = 0;
- usage = DIB_RGB_COLORS;
- // bmiColors is 3 WORD component masks
- {
- DWORD *compMask = (DWORD *) &bmInfo->bmiColors[0];
-
- compMask[0] = 0xF800;
- compMask[1] = 0x07E0;
- compMask[2] = 0x001F;
- }
- break;
- case 24:
- case 32:
- default:
- bmHeader->biCompression = BI_RGB;
- bmHeader->biSizeImage = 0;
- usage = DIB_RGB_COLORS;
- // bmiColors not used
- break;
- }
-
- *hBitmap = CreateDIBSection(hDC, bmInfo, usage, &base, NULL, 0);
- if (*hBitmap == NULL) {
- (void) MessageBox(WindowFromDC(hDC),
- "Failed to create DIBSection.",
- "OpenGL application error",
- MB_ICONERROR | MB_OK);
- exit(1);
- }
-
- hOldBitmap = SelectObject(hDC, *hBitmap);
- if(hOldBitmap!=0)
- DeleteObject(hOldBitmap);
-
- free(bmInfo);
-}
-
-
-/*
-static void
-setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap, int width, int height)
-{
- HBITMAP hOldBitmap=0;
-
- *hBitmap = CreateCompatibleBitmap( hDCOrig, width, height );
- if (*hBitmap == NULL) {
- fprintf(stderr,"Failed to create CreateCompatibleBitmap! \n");
- fflush(stderr);
- return;
- }
-
- hOldBitmap = SelectObject(hDC, *hBitmap);
- if(hOldBitmap!=0)
- DeleteObject(hOldBitmap);
-}
-*/
-
-
-void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap, HBITMAP *hBitmap)
-{
- /*
- SelectObject(hDC, *hOldBitmap);
- DeleteObject(*hBitmap);
- setupDIB(hDC, hBitmap);
- */
-}
-
-HPALETTE LIBAPIENTRY setupPalette(HDC hDC)
-{
- HPALETTE hPalette = NULL;
- PIXELFORMATDESCRIPTOR pfd;
- LOGPALETTE* pPal=0;
- int pixelFormat = GetPixelFormat(hDC);
- int paletteSize=0;
- colorIndexState colors[] = {
- {
- { 0.0F, 0.0F, 0.0F },
- { 0.1F, 0.6F, 0.3F },
- { 1.0F, 1.0F, 1.0F },
- 0.75F, { 0, 0, 0 },
- },
- {
- { 0.0F, 0.0F, 0.0F },
- { 0.0F, 0.2F, 0.5F },
- { 1.0F, 1.0F, 1.0F },
- 0.75F, { 0, 0, 0 },
- },
- {
- { 0.0F, 0.05F, 0.05F },
- { 0.6F, 0.0F, 0.8F },
- { 1.0F, 1.0F, 1.0F },
- 0.75F, { 0, 0, 0 },
- },
- };
-
-
- DescribePixelFormat(hDC, pixelFormat, sizeof(PIXELFORMATDESCRIPTOR), &pfd);
-
- /*
- ** Determine if a palette is needed and if so what size.
- */
- if (pfd.dwFlags & PFD_NEED_PALETTE) {
- paletteSize = 1 << pfd.cColorBits;
- } else if (pfd.iPixelType == PFD_TYPE_COLORINDEX) {
- paletteSize = 4096;
- } else {
- return NULL;
- }
-
- pPal = (LOGPALETTE*)
- malloc(sizeof(LOGPALETTE) + paletteSize * sizeof(PALETTEENTRY));
- pPal->palVersion = 0x300;
- pPal->palNumEntries = paletteSize;
-
- if (pfd.iPixelType == PFD_TYPE_RGBA) {
- /*
- ** Fill the logical paletee with RGB color ramps
- */
- int redMask = (1 << pfd.cRedBits) - 1;
- int greenMask = (1 << pfd.cGreenBits) - 1;
- int blueMask = (1 << pfd.cBlueBits) - 1;
- int i;
-
-
-
- for (i=0; i<paletteSize; ++i) {
- pPal->palPalEntry[i].peRed =
- (((i >> pfd.cRedShift) & redMask) * 255) / redMask;
- pPal->palPalEntry[i].peGreen =
- (((i >> pfd.cGreenShift) & greenMask) * 255) / greenMask;
- pPal->palPalEntry[i].peBlue =
- (((i >> pfd.cBlueShift) & blueMask) * 255) / blueMask;
- pPal->palPalEntry[i].peFlags = 0;
- }
- } else {
- /*
- ** Fill the logical palette with color ramps.
- **
- ** Set up the logical palette so that it can be realized
- ** into the system palette as an identity palette.
- **
- ** 1) The default static entries should be present and at the right
- ** location. The easiest way to do this is to grab them from
- ** the current system palette.
- **
- ** 2) All non-static entries should be initialized to unique values.
- ** The easiest way to do this is to ensure that all of the non-static
- ** entries have the PC_NOCOLLAPSE flag bit set.
- */
- int numRamps = NUM_COLORS;
- int rampSize = (paletteSize - 20) / numRamps;
- int extra = (paletteSize - 20) - (numRamps * rampSize);
- int i, r;
-
- /*
- ** Initialize static entries by copying them from the
- ** current system palette.
- */
- GetSystemPaletteEntries(hDC, 0, paletteSize, &pPal->palPalEntry[0]);
-
- /*
- ** Fill in non-static entries with desired colors.
- */
- for (r=0; r<numRamps; ++r) {
- int rampBase = r * rampSize + 10;
- PALETTEENTRY *pe = &pPal->palPalEntry[rampBase];
- int diffSize = (int) (rampSize * colors[r].ratio);
- int specSize = rampSize - diffSize;
-
- for (i=0; i<rampSize; ++i) {
- GLfloat *c0, *c1;
- GLint a;
-
- if (i < diffSize) {
- c0 = colors[r].amb;
- c1 = colors[r].diff;
- a = (i * 255) / (diffSize - 1);
- } else {
- c0 = colors[r].diff;
- c1 = colors[r].spec;
- a = ((i - diffSize) * 255) / (specSize - 1);
- }
-
- pe[i].peRed = (BYTE) (a * (c1[0] - c0[0]) + 255 * c0[0]);
- pe[i].peGreen = (BYTE) (a * (c1[1] - c0[1]) + 255 * c0[1]);
- pe[i].peBlue = (BYTE) (a * (c1[2] - c0[2]) + 255 * c0[2]);
- pe[i].peFlags = PC_NOCOLLAPSE;
- }
-
- colors[r].indexes[0] = rampBase;
- colors[r].indexes[1] = rampBase + (diffSize-1);
- colors[r].indexes[2] = rampBase + (rampSize-1);
- }
-
- /*
- ** Initialize any remaining non-static entries.
- */
- for (i=0; i<extra; ++i) {
- int index = numRamps*rampSize+10+i;
- PALETTEENTRY *pe = &pPal->palPalEntry[index];
-
- pe->peRed = (BYTE) 0;
- pe->peGreen = (BYTE) 0;
- pe->peBlue = (BYTE) 0;
- pe->peFlags = PC_NOCOLLAPSE;
- }
- }
-
- hPalette = CreatePalette(pPal);
- free(pPal);
-
- if (hPalette) {
- SelectPalette(hDC, hPalette, FALSE);
- RealizePalette(hDC);
- }
-
- return hPalette;
-}
-
-
-jboolean LIBAPIENTRY setGLCapabilities ( HDC hdc,
- int nPixelFormat,
- GLCapabilities *glCaps )
-{
- PIXELFORMATDESCRIPTOR pfd;
-
- (void) PixelFormatDescriptorFromDc( hdc, &pfd);
-
- if (pfd.dwFlags & PFD_DOUBLEBUFFER)
- glCaps->buffer=BUFFER_DOUBLE;
- else
- glCaps->buffer=BUFFER_SINGLE;
-
- if (pfd.dwFlags & PFD_STEREO)
- glCaps->stereo=STEREO_ON;
- else
- glCaps->stereo=STEREO_OFF;
-
- if (pfd.iPixelType == PFD_TYPE_RGBA)
- glCaps->color=COLOR_RGBA;
-
- if (pfd.iPixelType == PFD_TYPE_COLORINDEX)
- glCaps->color=COLOR_INDEX;
-
- glCaps->depthBits = pfd.cDepthBits;
- glCaps->stencilBits = pfd.cStencilBits;
-
- glCaps->redBits = pfd.cRedBits;
- glCaps->greenBits= pfd.cGreenBits;
- glCaps->blueBits= pfd.cBlueBits;
- /* glCaps->alphaBits= pfd.cAlphaBits; N.A. */
- glCaps->accumRedBits = pfd.cAccumRedBits;
- glCaps->accumGreenBits= pfd.cAccumGreenBits;
- glCaps->accumBlueBits= pfd.cAccumBlueBits;
- glCaps->accumAlphaBits= pfd.cAccumAlphaBits;
-
- glCaps->nativeVisualID=nPixelFormat;
-
- return JNI_TRUE;
-}
-
diff --git a/CNativeCode/OpenGL_Win32_common.h b/CNativeCode/OpenGL_Win32_common.h
index 9e99aed..e789b42 100755
--- a/CNativeCode/OpenGL_Win32_common.h
+++ b/CNativeCode/OpenGL_Win32_common.h
@@ -3,33 +3,7 @@
#include "OpenGL_misc.h"
-#include <wingdi.h>
-
-
-LIBAPI void LIBAPIENTRY setPixelFormatByGLCapabilities(
- PIXELFORMATDESCRIPTOR *pfd,
- GLCapabilities *glCaps,
- jboolean offScreenRenderer,
- HDC hdc);
-
-// Set Pixel Format function - forward declaration
-LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps,
- jboolean offScreenRenderer, jboolean verbose);
-
-LIBAPI HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC);
-
-LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, GLCapabilities *glCaps,
- HGLRC shareWith, jboolean offScreenRenderer,
- int width, int height, HBITMAP *pix,
- jboolean verbose);
-
-LIBAPI int LIBAPIENTRY PixelFormatDescriptorFromDc( HDC Dc,
- PIXELFORMATDESCRIPTOR *Pfd );
-
-const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc);
-
-const char * LIBAPIENTRY GetTextualPixelFormatByPFD(
- PIXELFORMATDESCRIPTOR *ppfd, int format);
+#include "wgltool.h"
/* testX11Java does important implementation plattformspecific checks:
*
@@ -37,14 +11,4 @@ const char * LIBAPIENTRY GetTextualPixelFormatByPFD(
*/
LIBAPI jboolean LIBAPIENTRY testWin32Java(void);
-LIBAPI void LIBAPIENTRY setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap,
- int width, int height);
-
-LIBAPI void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap,
- HBITMAP *hBitmap);
-
-LIBAPI HPALETTE LIBAPIENTRY setupPalette(HDC hDC);
-
-LIBAPI jboolean LIBAPIENTRY setGLCapabilities ( HDC hdc, int nPixelFormat,
- GLCapabilities *glCaps );
#endif
diff --git a/CNativeCode/OpenGL_Win32_jawt.c b/CNativeCode/OpenGL_Win32_jawt.c
index d025603..5eefec3 100755
--- a/CNativeCode/OpenGL_Win32_jawt.c
+++ b/CNativeCode/OpenGL_Win32_jawt.c
@@ -336,7 +336,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
}
}
- wglMakeCurrent(NULL, NULL);
+ disp__wglMakeCurrent(NULL, NULL);
/**
* with version jdk1.1.6 and later, we are able to use
@@ -400,11 +400,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
fprintf(stderr, "go and set gc : %d, 0x%X\n",
(int)gc, (int)gc);
}
-
- /*
- gl4java_bind_ext(JNI_TRUE==verbose);
- */
-
+
return ret;
}
@@ -461,7 +457,7 @@ Java_gl4java_GLContext_gljMakeCurrentNative( JNIEnv *env, jobject obj,
return ret;
}
- if ( ret==JNI_TRUE && !wglMakeCurrent(GET_USED_WINDOW(thisWin),
+ if ( ret==JNI_TRUE && !disp__wglMakeCurrent(GET_USED_WINDOW(thisWin),
(HGLRC)((PointerHolder)glContext)) )
{
jawt_close_unlock(env, pData, JNI_FALSE);
@@ -485,7 +481,7 @@ Java_gl4java_GLContext_gljFreeNative( JNIEnv *env, jobject obj,
(void)disp;
(void)canvas;
- if ( ! wglMakeCurrent( NULL, NULL ) )
+ if ( ! disp__wglMakeCurrent( NULL, NULL ) )
{
fprintf(stderr, "gljFree failed\n");
fflush(stderr);
@@ -611,7 +607,7 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
}
}
- if ( ! wglMakeCurrent( NULL, NULL ) )
+ if ( ! disp__wglMakeCurrent( NULL, NULL ) )
{
fprintf(stderr, "gljDestroy failed (free)\n");
fflush(stderr);
@@ -620,7 +616,7 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
if(ret==JNI_TRUE)
{
if(gc!=0)
- wglDeleteContext(gc);
+ disp__wglDeleteContext(gc);
if(pix!=0)
{
@@ -704,7 +700,7 @@ Java_gl4java_GLContext_gljSwapNative( JNIEnv *env, jobject obj,
return JNI_FALSE;
}
} else {
- glFlush();
+ disp__glFlush();
}
return ret;
}
diff --git a/CNativeCode/OpenGL_X11.c b/CNativeCode/OpenGL_X11.c
index ac88c70..14510ec 100644
--- a/CNativeCode/OpenGL_X11.c
+++ b/CNativeCode/OpenGL_X11.c
@@ -83,6 +83,7 @@
*/
static jboolean verbose = JNI_FALSE;
+
JNIEXPORT jboolean JNICALL
Java_gl4java_GLContext_useJAWT( JNIEnv *env, jobject obj )
{
@@ -136,7 +137,8 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
jobject jglCaps=0;
GLCapabilities glCaps;
- jboolean jownwind = JNI_FALSE ;
+ jboolean jb_value;
+ int ownwind = 0 ;
jint jcreatewinw = 0, jcreatewinh = 0;
GLXContext jshareWith = 0;
@@ -240,7 +242,10 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
if(ret==JNI_TRUE) {
fownwind = (*env)->GetFieldID(env, cls, "createOwnWindow", "Z");
if (fownwind == 0) ret= JNI_FALSE;
- else jownwind =(*env)->GetBooleanField(env, obj, fownwind);
+ else {
+ jb_value =(*env)->GetBooleanField(env, obj, fownwind);
+ ownwind = (jb_value==JNI_TRUE)?1:0;
+ }
}
if(ret==JNI_TRUE) {
@@ -266,7 +271,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
if(joffScreenRenderer==JNI_TRUE)
{
- jownwind = JNI_FALSE;
+ ownwind = 0;
thisWin=0;
}
@@ -320,15 +325,15 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
/* Check to see if the Xserver supports OpenGL */
if(ret==JNI_TRUE) {
- if( !glXQueryExtension(display, (int *) 0, (int *) 0) ) {
+ if( !disp__glXQueryExtension(display, (int *) 0, (int *) 0) ) {
fprintf(stderr, "GL4Java ERROR: Can not query glx extension -> Server does not support OpenGL\n");
fflush(stderr);
ret = JNI_FALSE;
} else if (JNI_TRUE==verbose)
{
fprintf(stdout, "GLX by %s Version %s\n",
- glXGetClientString(display, GLX_VENDOR),
- glXGetClientString(display, GLX_VERSION));
+ disp__glXGetClientString(display, GLX_VENDOR),
+ disp__glXGetClientString(display, GLX_VERSION));
}
}
@@ -338,12 +343,14 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
screen = DefaultScreen( display );
rootwini = RootWindow(display,screen) ;
- glXMakeCurrent(display, None, NULL);
+ disp__glXMakeCurrent(display, None, NULL);
vgc = findVisualGlX( display, rootwini, &thisWin,
(int)jcreatewinw, (int)jcreatewinh,
- &glCaps,
- &jownwind, jshareWith,
+ &glCaps, &ownwind,
+ NULL /* pOwnWinAttr */,
+ 0 /* ownWinmask */,
+ jshareWith,
joffScreenRenderer, &pix, verbose);
if(vgc.success == 0 && glCaps.color==COLOR_RGBA)
@@ -356,8 +363,10 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
vgc = findVisualGlX( display, rootwini, &thisWin,
(int)jcreatewinw, (int)jcreatewinh,
- &glCaps,
- &jownwind, jshareWith,
+ &glCaps, &ownwind,
+ NULL /* pOwnWinAttr */,
+ 0 /* ownWinmask */,
+ jshareWith,
joffScreenRenderer, &pix, verbose);
}
@@ -366,7 +375,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
fprintf(stderr,"GL4Java ERROR: GETTING GC FAILED\n");
fflush(stderr);
- if(jownwind==JNI_TRUE && thisWin!=0)
+ if(ownwind && thisWin!=0)
XDestroyWindow( display, thisWin );
if(joffScreenRenderer==JNI_TRUE && pix!=0)
XFreePixmap(display, pix);
@@ -416,7 +425,8 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
}
if(ret==JNI_TRUE && fownwind) {
- (*env)->SetBooleanField(env, obj, fownwind, jownwind);
+ jb_value = ownwind?JNI_TRUE:JNI_FALSE;
+ (*env)->SetBooleanField(env, obj, fownwind, jb_value);
}
return ret;
@@ -432,7 +442,7 @@ Java_gl4java_GLContext_gljResizeNative( JNIEnv *env, jobject obj,
* by a native Thread .... So we have to try avoid gl* reentrance
* on the same GL-Context
*/
- glXWaitGL();
+ disp__glXWaitGL();
if(isOwnWindow)
{
@@ -469,14 +479,14 @@ Java_gl4java_GLContext_gljMakeCurrentNative( JNIEnv *env, jobject obj,
return JNI_FALSE;
}
- ctx = glXGetCurrentContext();
+ ctx = disp__glXGetCurrentContext();
if(ctx==(GLXContext)((PointerHolder)glContext))
return JNI_TRUE;
if(ret==JNI_TRUE)
{
- if( !glXMakeCurrent( (Display *)((PointerHolder)disp),
+ if( !disp__glXMakeCurrent( (Display *)((PointerHolder)disp),
(Window)((PointerHolder)thisWin),
(GLXContext)((PointerHolder)glContext) ) )
{
@@ -506,7 +516,7 @@ Java_gl4java_GLContext_gljFreeNative( JNIEnv *env, jobject obj,
if(ret==JNI_TRUE)
{
- if( !glXMakeCurrent( (Display *)((PointerHolder)disp), None, NULL))
+ if( !disp__glXMakeCurrent( (Display *)((PointerHolder)disp), None, NULL))
{
fprintf(stderr, "GL4Java: gljFree failed\n");
fflush(stderr);
@@ -521,7 +531,7 @@ Java_gl4java_GLContext_gljIsContextCurrentNative( JNIEnv *env, jobject obj,
jlong glContext
)
{
- GLXContext ctx = glXGetCurrentContext();
+ GLXContext ctx = disp__glXGetCurrentContext();
if(ctx==(GLXContext)((PointerHolder)glContext))
return JNI_TRUE;
@@ -594,7 +604,7 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
else jownwind =(*env)->GetBooleanField(env, obj, fownwind);
}
- glXWaitGL();
+ disp__glXWaitGL();
if(ret==JNI_TRUE)
{
@@ -606,16 +616,16 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
fflush(stderr);
}
}
- glXMakeCurrent( disp, None, NULL );
+ disp__glXMakeCurrent( disp, None, NULL );
if(ret==JNI_TRUE)
{
if(gc!=0)
- glXDestroyContext(disp, gc);
+ disp__glXDestroyContext(disp, gc);
if(pix!=0)
{
if(win!=0)
- glXDestroyGLXPixmap(disp, win);
+ disp__glXDestroyGLXPixmap(disp, win);
win=0;
XFreePixmap(disp, pix);
}
@@ -675,9 +685,9 @@ Java_gl4java_GLContext_gljSwapNative( JNIEnv *env, jobject obj,
if( doubleBuffer == JNI_FALSE ) {
/* don't double buffer */
- glXWaitGL();
+ disp__glXWaitGL();
} else {
- glXSwapBuffers( (Display *)((PointerHolder)disp),
+ disp__glXSwapBuffers( (Display *)((PointerHolder)disp),
(Window)((PointerHolder)thisWin) );
}
@@ -685,3 +695,4 @@ Java_gl4java_GLContext_gljSwapNative( JNIEnv *env, jobject obj,
}
+
diff --git a/CNativeCode/OpenGL_X11_common.c b/CNativeCode/OpenGL_X11_common.c
index a23e8cf..0865866 100644
--- a/CNativeCode/OpenGL_X11_common.c
+++ b/CNativeCode/OpenGL_X11_common.c
@@ -33,551 +33,6 @@
#include "OpenGL_X11_common.h"
-/*
- * Name : get_GC
- *
- * Parameters: win - the X window use to the OpenGL context with
- * visual - The visual to create the context for
- * gc - a pointer to a GLXContext structure. This is how
- * the created context will be returned to the caller
- *
- * Returns : a pointer to a created GLXContext is returned through the
- * gc argument.
- * int - an error code: 0 means everything was fine
- * -1 context creation failed
- * -2 context/window association failed
- *
- * Purpose : create an X window Graphics context and assocaite it with
- * the window. It returns 0 if everything was fine, -1 if the
- * context could not be created, -2 if the context could not
- * be associated with the window
- */
-int LIBAPIENTRY get_GC( Display *display, Window win, XVisualInfo *visual,
- GLXContext *gc, GLXContext gc_share,
- jboolean verbose )
-{
- int trial = 2;
-
- while(trial>0)
- {
- switch(trial)
- {
- case 2:
- *gc = glXCreateContext( display, visual, gc_share, GL_TRUE );
- break;
- case 1:
- *gc = glXCreateContext( display, visual, gc_share, GL_FALSE );
- break;
- }
- trial--;
-
- /* check if the context could be created */
- if( *gc == NULL ) {
- continue;
- }
-
- /* associated the context with the X window */
- if( glXMakeCurrent( display, win, *gc ) == False) {
- glXDestroyContext( display, *gc );
- if(JNI_TRUE==verbose)
- {
- fprintf(stderr, "GL4Java: glXCreateContext trial %p\n", *gc);
- fprintf(stderr, "GL4Java: glXDestroyContext trial %p\n", *gc);
- }
- continue;
- } else {
- if(JNI_TRUE==verbose)
- fprintf(stderr, "GL4Java: glXCreateContext sure %p\n", *gc);
- return 0;
- }
- }
-
- return -2;
-}
-
-
-int LIBAPIENTRY setVisualAttribListByGLCapabilities(
- int visualAttribList[/*>=32*/],
- GLCapabilities *glCaps )
-{
- int i=0;
- visualAttribList[i++] = GLX_RED_SIZE;
- visualAttribList[i++] = 1;
- visualAttribList[i++] = GLX_GREEN_SIZE;
- visualAttribList[i++] = 1;
- visualAttribList[i++] = GLX_BLUE_SIZE;
- visualAttribList[i++] = 1;
- visualAttribList[i++] = GLX_DEPTH_SIZE;
- visualAttribList[i++] = 1;
- visualAttribList[i++] = GLX_ACCUM_RED_SIZE;
- visualAttribList[i++] = (glCaps->accumRedBits>0)?1:0;
- visualAttribList[i++] = GLX_ACCUM_GREEN_SIZE;
- visualAttribList[i++] = (glCaps->accumGreenBits>0)?1:0;
- visualAttribList[i++] = GLX_ACCUM_BLUE_SIZE;
- visualAttribList[i++] = (glCaps->accumBlueBits>0)?1:0;
-
- if(COLOR_RGBA == glCaps->color)
- {
- visualAttribList[i++] = GLX_RGBA;
- visualAttribList[i++] = GLX_ALPHA_SIZE;
- visualAttribList[i++] = (glCaps->alphaBits>0)?1:0;
- visualAttribList[i++] = GLX_ACCUM_ALPHA_SIZE;
- visualAttribList[i++] = (glCaps->accumAlphaBits>0)?1:0;
- }
- if(BUFFER_DOUBLE==glCaps->buffer)
- visualAttribList[i++] = GLX_DOUBLEBUFFER;
-
- if(STEREO_ON==glCaps->stereo)
- visualAttribList[i++] = GLX_STEREO;
-
- visualAttribList[i++] = GLX_STENCIL_SIZE;
- visualAttribList[i++] = glCaps->stencilBits;
- visualAttribList[i] = None;
- return i;
-}
-
-
-/**
- * Description for pWin:
- * if ownwin:
- * input: the parent window
- * output: the newly created window
- * else if ! ownwin:
- * i/o: the window itself
- */
-VisualGC LIBAPIENTRY findVisualGlX( Display *display,
- Window rootWin,
- Window * pWin,
- int width, int height,
- GLCapabilities * glCaps,
- jboolean * pOwnWin,
- GLXContext shareWith,
- jboolean offscreen,
- Pixmap *pix,
- jboolean verbose
- )
-{
- Window newWin = 0;
- int visualAttribList[64];
- int j=0;
- int done=0;
- VisualGC vgc = { NULL, 0, 0 };
- jboolean tryChooseVisual = JNI_TRUE;
- int gc_ret = 0;
-
- /**
- * The Visual seeked by Function: findVisualIdByFeature !
- */
- XVisualInfo * visualList=NULL; /* the visual list, to be XFree-ed */
-
- /* backup ... */
- GLCapabilities _glCaps = *glCaps;
-
- if(JNI_TRUE==verbose)
- {
- fprintf(stdout, "GL4Java findVisualGlX: input capabilities:\n");
- printGLCapabilities ( glCaps );
- }
-
- do {
- if(JNI_TRUE==verbose)
- {
- fprintf(stderr, "GL4Java: seeking visual loop# %d\n", j);
- }
-
- if(glCaps->nativeVisualID>=0)
- {
- vgc.visual = findVisualIdByID(&visualList,
- (int)(glCaps->nativeVisualID),
- display, *pWin, verbose);
- }
-
- if(vgc.visual==NULL)
- {
- glCaps->nativeVisualID=0;
- (void) setVisualAttribListByGLCapabilities(
- visualAttribList, glCaps);
- }
-
- if(tryChooseVisual==JNI_TRUE && vgc.visual==NULL)
- {
- vgc.visual = glXChooseVisual( display,
- DefaultScreen( display ),
- visualAttribList );
- if(JNI_TRUE==verbose)
- {
- if(vgc.visual!=NULL)
- {
- fprintf(stdout, "findVisualGlX.glXChooseVisual: found visual(ID:%d(0x%X))\n",
- (int) vgc.visual->visualid,
- (int) vgc.visual->visualid);
- } else {
- fprintf(stdout, "findVisualGlX.glXChooseVisual: no visual\n");
- }
- fflush(stdout);
- }
- }
-
- if(vgc.visual==NULL)
- {
- vgc.visual = findVisualIdByFeature( &visualList,
- display, *pWin,
- glCaps,
- verbose);
- }
-
- if( *pOwnWin == JNI_TRUE && vgc.visual!=NULL)
- {
- if(JNI_TRUE==verbose)
- {
- fprintf(stdout, "findVisualGlX: CREATING OWN WINDOW !\n");
- fflush(stdout);
- }
- newWin = createOwnOverlayWin(display,
- rootWin,
- *pWin /* the parent */,
- vgc.visual, width, height);
- }
-
- if( offscreen==JNI_TRUE && vgc.visual!=NULL)
- {
- if(*pix!=0)
- {
- XFreePixmap(display, *pix);
- }
- if(vgc.visual !=NULL)
- *pix = XCreatePixmap( display, rootWin, width, height,
- vgc.visual->depth);
- if(*pix!=0)
- {
- *pWin = glXCreateGLXPixmap( display, vgc.visual, *pix );
- if(*pWin==0)
- {
- XFreePixmap(display, *pix);
- *pix=0;
- fprintf(stderr, "GL4Java(%d): glXCreateGLXPixmap failed\n", j);
- fflush(stderr);
- }
- } else {
- fprintf(stderr, "GL4Java(%d): XCreatePixmap failed\n", j);
- fflush(stderr);
- *pWin = 0;
- }
- if(JNI_TRUE==verbose)
- {
- if(*pWin!=0)
- {
- fprintf(stderr, "GL4Java(%d): pixmap ok\n", j);
- fflush(stderr);
- }
- }
- }
-
- gc_ret = -100;
-
- if( *pOwnWin == JNI_TRUE && newWin!=0 &&
- (gc_ret=get_GC( display, newWin,
- vgc.visual, &(vgc.gc), shareWith, verbose)) == 0
- )
- {
- vgc.success=1;
- *pWin = newWin ;
- }
- else if( vgc.visual!=NULL && *pOwnWin == JNI_FALSE && *pWin!=0 &&
- (gc_ret=get_GC( display, *pWin,
- vgc.visual, &(vgc.gc), shareWith, verbose)) == 0
- )
- {
- vgc.success=1;
- } else
- {
- j++; /* trial counter */
- if(JNI_TRUE==verbose)
- {
- fprintf(stderr, "GL4Java(%d): Visual fetching failed (gc_get=%d)\n", j, gc_ret);
- fflush(stderr);
- }
-
- if(*pix!=0)
- {
- XFreePixmap(display, *pix);
- *pix=0;
- }
-
- if(visualList!=NULL)
- {
- XFree(visualList);
- visualList=NULL;
- vgc.visual=NULL;
- } else if(vgc.visual!=NULL)
- {
- XFree(vgc.visual);
- vgc.visual=NULL;
- }
-
- /**
- * Falling-Back the exact (min. requirement) parameters ..
- */
- if(*pOwnWin==JNI_FALSE && offscreen==JNI_FALSE) {
- *glCaps=_glCaps;
- *pOwnWin=JNI_TRUE;
- } else if( (glCaps->accumRedBits>0 ||
- glCaps->accumGreenBits>0 ||
- glCaps->accumBlueBits>0 ||
- glCaps->accumAlphaBits>0
- ) && offscreen==JNI_TRUE
- )
- {
- glCaps->accumRedBits=0;
- glCaps->accumGreenBits=0;
- glCaps->accumBlueBits=0;
- glCaps->accumAlphaBits=0;
- } else if(glCaps->buffer==BUFFER_SINGLE &&
- offscreen==JNI_TRUE)
- {
- glCaps->buffer=BUFFER_DOUBLE;
- } else if(glCaps->stereo==STEREO_ON) {
- glCaps->stereo=STEREO_OFF;
- } else if(glCaps->stencilBits>32) {
- glCaps->stencilBits=32;
- } else if(glCaps->stencilBits>16) {
- glCaps->stencilBits=16;
- } else if(glCaps->stencilBits>8) {
- glCaps->stencilBits=8;
- } else if(glCaps->stencilBits>0) {
- glCaps->stencilBits=0;
- } else if(glCaps->buffer==BUFFER_DOUBLE) {
- glCaps->buffer=BUFFER_SINGLE;
- } else if(tryChooseVisual==JNI_TRUE) {
- *glCaps=_glCaps;
- *pOwnWin=JNI_FALSE;
- tryChooseVisual=JNI_FALSE;
- } else done=1;
- }
- } while (vgc.success==0 && done==0) ;
-
- if(vgc.success==1 && JNI_TRUE==verbose)
- {
- (void) setGLCapabilities (display, vgc.visual, glCaps);
-
- fprintf(stderr, "\nfindVisualGlX results vi(ID:%d): \n screen %d, depth %d, class %d,\n clrmapsz %d, bitsPerRGB %d, shared with %d\n",
- (int)vgc.visual->visualid,
- (int)vgc.visual->screen,
- (int)vgc.visual->depth,
- (int)vgc.visual->class,
- (int)vgc.visual->colormap_size,
- (int)vgc.visual->bits_per_rgb,
- (int)shareWith);
- printVisualInfo ( display, vgc.visual);
- }
-
- return vgc;
-}
-
-
-void LIBAPIENTRY printVisualInfo ( Display *display, XVisualInfo * vi)
-{
- GLCapabilities glCaps;
-
- setGLCapabilities ( display, vi, &glCaps);
-
- fprintf(stdout, "\nvi(ID:%d(0x%X)): \n screen %d, depth %d, class %d,\n clrmapsz %d, bitsPerRGB %d\n",
- (int) vi->visualid,
- (int) vi->visualid,
- (int) vi->screen,
- (int) vi->depth,
- (int) vi->class,
- (int) vi->colormap_size,
- (int) vi->bits_per_rgb );
-
- printGLCapabilities ( &glCaps );
-}
-
-void LIBAPIENTRY printAllVisualInfo ( Display *disp, Window win, jboolean verbose)
-{
- XVisualInfo * visualInfo=0;
- XVisualInfo * vi=0;
- XVisualInfo viTemplate;
- int i, numReturns;
- XWindowAttributes xwa;
-
- if(XGetWindowAttributes(disp, win, &xwa) == 0)
- {
- fprintf(stderr, "\nERROR while fetching XWindowAttributes\n");
- fflush(stderr);
- return;
- }
-
- viTemplate.screen = DefaultScreen( disp );
- viTemplate.class = (xwa.visual)->class ;
- viTemplate.depth = xwa.depth;
-
- visualInfo = XGetVisualInfo( disp, VisualScreenMask,
- &viTemplate, &numReturns );
-
- if(JNI_TRUE==verbose)
- {
- fprintf(stderr, "\nNum of Visuals : %d\n", numReturns );
-
- for(i=0; i<numReturns; i++)
- {
- vi = &(visualInfo[i]);
- printVisualInfo ( disp, vi);
- }
- }
-
- XFree(visualInfo);
-}
-
-int LIBAPIENTRY testVisualInfo ( Display *display, XVisualInfo * vi,
- GLCapabilities *glCaps)
-{
- GLCapabilities _glCaps;
- setGLCapabilities ( display, vi, &_glCaps);
-
- if(_glCaps.buffer<glCaps->buffer) return 0;
-
- if(_glCaps.color<glCaps->color) return 0;
-
- if(_glCaps.stereo<glCaps->stereo) return 0;
-
- /*
- if(_glCaps.depthBits<glCaps->depthBits) return 0;
- */
-
- if(_glCaps.stencilBits<glCaps->stencilBits) return 0;
-
- /*
- if(_glCaps.redBits<glCaps->redBits) return 0;
-
- if(_glCaps.greenBits<glCaps->greenBits) return 0;
-
- if(_glCaps.blueBits<glCaps->blueBits) return 0;
- */
-
- if(_glCaps.accumRedBits<glCaps->accumRedBits) return 0;
-
- if(_glCaps.accumGreenBits<glCaps->accumGreenBits) return 0;
-
- if(_glCaps.accumBlueBits<glCaps->accumBlueBits) return 0;
-
- if(glCaps->color>0) {
- /*
- if(_glCaps.alphaBits<glCaps->alphaBits) return 0;
- */
- if(_glCaps.accumAlphaBits<glCaps->accumAlphaBits) return 0;
- }
-
- return 1;
-}
-
-
-XVisualInfo * LIBAPIENTRY findVisualIdByID( XVisualInfo ** visualList,
- int visualID, Display *disp,
- Window win, jboolean verbose)
-{
- XVisualInfo * vi=0;
- XVisualInfo viTemplate;
- int i, numReturns;
- XWindowAttributes xwa;
- int done=0;
-
- if(XGetWindowAttributes(disp, win, &xwa) == 0)
- {
- fprintf(stderr, "\nERROR while fetching XWindowAttributes\n");
- fflush(stderr);
- return 0;
- }
-
- viTemplate.screen = DefaultScreen( disp );
- viTemplate.class = (xwa.visual)->class ;
- viTemplate.depth = xwa.depth;
-
- *visualList = XGetVisualInfo( disp, VisualScreenMask,
- &viTemplate, &numReturns );
-
- for(i=0; done==0 && i<numReturns; i++)
- {
- vi = &((*visualList)[i]);
-
- if(vi->visualid==visualID)
- {
- if(JNI_TRUE==verbose)
- {
- fprintf(stderr, "findVisualIdByID: Found matching Visual:\n");
- printVisualInfo ( disp, vi);
- }
- return vi;
- }
- }
-
- if(JNI_TRUE==verbose)
- {
- if( numReturns==0 )
- fprintf(stderr, "findVisualIdByID: No available visuals. Exiting...\n" );
- else if( i>=numReturns )
- fprintf(stderr, "findVisualIdByID: No matching visualID found ...\n" );
- fflush(stderr);
- }
-
- XFree(*visualList);
- *visualList=NULL;
- return NULL;
-}
-XVisualInfo * LIBAPIENTRY findVisualIdByFeature( XVisualInfo ** visualList,
- Display *disp, Window win,
- GLCapabilities *glCaps,
- jboolean verbose)
-{
- XVisualInfo * vi=0;
- XVisualInfo viTemplate;
- int i, numReturns;
- XWindowAttributes xwa;
- int done=0;
-
- if(XGetWindowAttributes(disp, win, &xwa) == 0)
- {
- fprintf(stderr, "\nERROR while fetching XWindowAttributes\n");
- fflush(stderr);
- return 0;
- }
-
- viTemplate.screen = DefaultScreen( disp );
- viTemplate.class = (xwa.visual)->class ;
- viTemplate.depth = xwa.depth;
-
- *visualList = XGetVisualInfo( disp, VisualScreenMask,
- &viTemplate, &numReturns );
-
- for(i=0; done==0 && i<numReturns; i++)
- {
- vi = &((*visualList)[i]);
- if ( testVisualInfo ( disp, vi, glCaps ) )
- {
- if(JNI_TRUE==verbose)
- {
- fprintf(stderr, "findVisualIdByFeature: Found matching Visual:\n");
- printVisualInfo ( disp, vi);
- }
- return vi;
- }
- }
-
- if(JNI_TRUE==verbose)
- {
- if( numReturns==0 )
- fprintf(stderr, "findVisualIdByFeature: No available visuals. Exiting...\n" );
- else if( i>=numReturns )
- fprintf(stderr, "findVisualIdByFeature: No matching visual found ...\n" );
- fflush(stderr);
- }
-
- XFree(*visualList);
- *visualList=NULL;
- return NULL;
-}
-
-
jboolean LIBAPIENTRY testX11Java()
{
jboolean ret=JNI_TRUE;
@@ -612,165 +67,3 @@ jboolean LIBAPIENTRY testX11Java()
return ret;
}
-jboolean LIBAPIENTRY setGLCapabilities ( Display * disp,
- XVisualInfo * visual, GLCapabilities *glCaps)
-{
- int iValue=0;
- int iValue1=0;
- int iValue2=0;
- int iValue3=0;
-
- if(glXGetConfig( disp, visual, GLX_DOUBLEBUFFER, &iValue)==0)
- {
- glCaps->buffer=iValue?BUFFER_DOUBLE:BUFFER_SINGLE;
- } else {
- fprintf(stderr,"GL4Java: fetching doubleBuffer state failed\n");
- fflush(stderr);
- }
-
- if(glXGetConfig( disp, visual, GLX_RGBA, &iValue)==0)
- {
- glCaps->color=iValue?COLOR_RGBA:COLOR_INDEX;
- } else {
- fprintf(stderr,"GL4Java: fetching rgba state failed\n");
- fflush(stderr);
- }
-
- if(glXGetConfig( disp, visual, GLX_STEREO, &iValue)==0)
- {
- glCaps->stereo=iValue?STEREO_ON:STEREO_OFF;
- } else {
- fprintf(stderr,"GL4Java: fetching stereoView state failed\n");
- fflush(stderr);
- }
-
- if(glXGetConfig( disp, visual, GLX_DEPTH_SIZE, &iValue)==0)
- {
- glCaps->depthBits = iValue;
- } else {
- fprintf(stderr,"GL4Java: fetching depthBits state failed\n");
- fflush(stderr);
- }
-
- if(glXGetConfig( disp, visual, GLX_STENCIL_SIZE, &iValue)==0)
- {
- glCaps->stencilBits = iValue;
- } else {
- fprintf(stderr,"GL4Java: fetching stencilBits state failed\n");
- fflush(stderr);
- }
-
- if(glXGetConfig(disp,visual,GLX_RED_SIZE, &iValue)==0 &&
- glXGetConfig(disp,visual,GLX_GREEN_SIZE, &iValue1)==0 &&
- glXGetConfig(disp,visual,GLX_BLUE_SIZE, &iValue2)==0 &&
- glXGetConfig(disp,visual,GLX_ALPHA_SIZE, &iValue3)==0 )
- {
- glCaps->redBits = iValue;
- glCaps->greenBits= iValue1;
- glCaps->blueBits= iValue2;
- glCaps->alphaBits= iValue3;
- } else {
- fprintf(stderr,"GL4Java: fetching rgba Size states failed\n");
- fflush(stderr);
- }
-
- if(glXGetConfig(disp,visual,GLX_ACCUM_RED_SIZE, &iValue)==0 &&
- glXGetConfig(disp,visual,GLX_ACCUM_GREEN_SIZE, &iValue1)==0 &&
- glXGetConfig(disp,visual,GLX_ACCUM_BLUE_SIZE, &iValue2)==0 &&
- glXGetConfig(disp,visual,GLX_ACCUM_ALPHA_SIZE, &iValue3)==0 )
- {
- glCaps->accumRedBits = iValue;
- glCaps->accumGreenBits= iValue1;
- glCaps->accumBlueBits= iValue2;
- glCaps->accumAlphaBits= iValue3;
- } else {
- fprintf(stderr,"GL4Java: fetching rgba AccumSize states failed\n");
- fflush(stderr);
- }
- glCaps->nativeVisualID=(long)visual->visualid;
-
- return JNI_TRUE;
-}
-
-
-int LIBAPIENTRY x11gl_myErrorHandler(Display *pDisp, XErrorEvent *p_error)
-{
- char err_msg[80];
-
- XGetErrorText(pDisp, p_error->error_code, err_msg, 80);
- fprintf(stderr, "X11 Error detected.\n %s\n", err_msg);
- fprintf(stderr, " Protocol request: %d\n", p_error->request_code);
- fprintf(stderr, " Resource ID : 0x%x\n", (int)p_error->resourceid);
- fprintf(stderr, " \ntrying to continue ... \n");
- fflush(stderr);
- return 0;
-}
-
-int LIBAPIENTRY x11gl_myIOErrorHandler(Display *pDisp)
-{
- fprintf(stderr, "X11 I/O Error detected.\n");
- fprintf(stderr, " \ndo not know what to do ... \n");
- fflush(stderr);
- return 0;
-}
-
-Window LIBAPIENTRY createOwnOverlayWin(Display *display, Window rootwini, Window parentWin,
- XVisualInfo *visual, int width, int height)
-{
- /*
- //------------------------------------------------------------------------//
- // Some Systems (SGI) wont give up the window and so we have to create a //
- // window that fits on top of the Java Canvas. //
- //------------------------------------------------------------------------//
- */
- Window window=0;
- XSetWindowAttributes attribs ;
-
- /*
- //----------------------------------------------------------------------//
- // now we have the visual with the best depth so lets make a color map //
- // for it. we use allocnone because this is a true colour visual and //
- // the color map is read only anyway. This must be done because we //
- // cannot call XCreateSimpleWindow. //
- //----------------------------------------------------------------------//
- */
- int cmap = XCreateColormap ( display
- , rootwini
- , visual->visual
- , AllocNone
- );
-
- /*
- //----------------------------------------------------------------------//
- // Set up the window attributes. //
- //----------------------------------------------------------------------//
- */
- attribs.event_mask = ExposureMask ;
- attribs.border_pixel = BlackPixel(display, DefaultScreen(display)) ;
- attribs.colormap = cmap ;
- attribs.bit_gravity = SouthWestGravity ; ;
- attribs.background_pixel = 0xFF00FFFF ;
-
- /*
- //----------------------------------------------------------------------//
- // Create a window. //
- //----------------------------------------------------------------------//
- */
- window = XCreateWindow( display
- , parentWin
- , 0
- , 0
- , width
- , height
- , 0
- , visual->depth
- , InputOutput
- , visual->visual
- , CWBitGravity | CWColormap
- | CWBorderPixel | CWBackPixel
- , &attribs);
-
- return window;
-}
-
-
diff --git a/CNativeCode/OpenGL_X11_common.h b/CNativeCode/OpenGL_X11_common.h
index 1bb39c4..9a86f68 100644
--- a/CNativeCode/OpenGL_X11_common.h
+++ b/CNativeCode/OpenGL_X11_common.h
@@ -12,77 +12,12 @@
#include "OpenGL_misc.h"
- #include <X11/Xlib.h>
- #include <X11/Xutil.h>
-
- #include <GL/glx.h>
- #include <X11/Xatom.h>
-
- typedef struct {
- XVisualInfo * visual;
- GLXContext gc;
- int success; /* 1: OK, 0: ERROR */
- } VisualGC;
-
-
- /*
- * prototypes for functions local to this file scope
- */
- LIBAPI int LIBAPIENTRY get_GC( Display *display, Window win,
- XVisualInfo *visual,
- GLXContext *gc, GLXContext gc_share,
- jboolean verbose );
-
- LIBAPI int LIBAPIENTRY setVisualAttribListByGLCapabilities(
- int visualAttribList[/*>=32*/],
- GLCapabilities *glCaps );
+ #include "glxtool.h"
- LIBAPI VisualGC LIBAPIENTRY findVisualGlX( Display *display,
- Window rootWin,
- Window * pWin,
- int width, int height,
- GLCapabilities *glCaps,
- jboolean * pOwnWin,
- GLXContext shareWith,
- jboolean offscreen,
- Pixmap *pix,
- jboolean verbose
- );
-
- LIBAPI void LIBAPIENTRY printVisualInfo ( Display *display, XVisualInfo * vi);
- LIBAPI void LIBAPIENTRY printAllVisualInfo ( Display *disp, Window win,
- jboolean verbose);
-
- LIBAPI int LIBAPIENTRY testVisualInfo ( Display *display, XVisualInfo * vi,
- GLCapabilities *glCaps);
-
- LIBAPI XVisualInfo * LIBAPIENTRY findVisualIdByID( XVisualInfo ** visualList,
- int visualID, Display *disp,
- Window win, jboolean verbose);
-
- LIBAPI XVisualInfo * LIBAPIENTRY findVisualIdByFeature(
- XVisualInfo ** visualList,
- Display *disp, Window win,
- GLCapabilities *glCaps,
- jboolean verbose);
-
/* testX11Java does important implementation plattformspecific checks:
*
* o do fit X11-Vars in jint (because GLFrame stores 'em like that)
*/
LIBAPI jboolean LIBAPIENTRY testX11Java();
- LIBAPI jboolean LIBAPIENTRY setGLCapabilities ( Display * disp,
- XVisualInfo * visual, GLCapabilities *glCaps);
-
- LIBAPI int LIBAPIENTRY x11gl_myErrorHandler(
- Display *pDisp, XErrorEvent *p_error);
-
- LIBAPI int LIBAPIENTRY x11gl_myIOErrorHandler(Display *pDisp);
-
- LIBAPI Window LIBAPIENTRY createOwnOverlayWin(
- Display *display,
- Window rootwini, Window parentWin,
- XVisualInfo *visual, int width, int height);
-
#endif
diff --git a/CNativeCode/OpenGL_X11_jawt.c b/CNativeCode/OpenGL_X11_jawt.c
index 995e31a..bb91c5c 100644
--- a/CNativeCode/OpenGL_X11_jawt.c
+++ b/CNativeCode/OpenGL_X11_jawt.c
@@ -169,7 +169,8 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
jfieldID fcreatewinw = 0, fcreatewinh = 0;
jfieldID fshareWith = 0;
jboolean joffScreenRenderer=JNI_FALSE;
- jboolean jownwind = JNI_FALSE ;
+ jboolean jb_value;
+ int ownwind = 0 ;
jint jcreatewinw = 0, jcreatewinh = 0;
GLXContext jshareWith = 0;
@@ -275,7 +276,10 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
if(ret==JNI_TRUE) {
fownwind = (*env)->GetFieldID(env, cls, "createOwnWindow", "Z");
if (fownwind == 0) ret= JNI_FALSE;
- else jownwind =(*env)->GetBooleanField(env, obj, fownwind);
+ else {
+ jb_value =(*env)->GetBooleanField(env, obj, fownwind);
+ ownwind = (jb_value==JNI_TRUE)?1:0;
+ }
}
if(ret==JNI_TRUE) {
@@ -303,7 +307,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
if(joffScreenRenderer==JNI_TRUE)
{
- jownwind = JNI_FALSE;
+ ownwind = 0;
}
if(ret==JNI_TRUE) {
@@ -425,7 +429,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
/* Check to see if the Xserver supports OpenGL */
if(ret==JNI_TRUE) {
- if( !glXQueryExtension(display, (int *) 0, (int *) 0) ) {
+ if( !disp__glXQueryExtension(display, (int *) 0, (int *) 0) ) {
fprintf(stderr, "GL4Java ERROR: Can not query glx extension -> Server does not support OpenGL\n");
fflush(stderr);
jawt_free_close_unlock(env, &pData, JNI_FALSE);
@@ -433,8 +437,8 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
} else {
if (JNI_TRUE==verbose) {
fprintf(stdout, "GLX by %s Version %s\n",
- glXGetClientString(display, GLX_VENDOR),
- glXGetClientString(display, GLX_VERSION));
+ disp__glXGetClientString(display, GLX_VENDOR),
+ disp__glXGetClientString(display, GLX_VERSION));
fflush(stdout);
}
}
@@ -446,12 +450,14 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
screen = DefaultScreen( display );
rootwini = RootWindow(display,screen) ;
- glXMakeCurrent(display, None, NULL);
+ disp__glXMakeCurrent(display, None, NULL);
vgc = findVisualGlX( display, rootwini, &theWindow,
(int)jcreatewinw, (int)jcreatewinh,
- &glCaps,
- &jownwind, jshareWith,
+ &glCaps, &ownwind,
+ NULL /* pOwnWinAttr */,
+ 0 /* ownWinmask */,
+ jshareWith,
joffScreenRenderer, &pix, verbose);
if(vgc.success == 0 && glCaps.color==COLOR_RGBA)
@@ -464,8 +470,10 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
vgc = findVisualGlX( display, rootwini, &theWindow,
(int)jcreatewinw, (int)jcreatewinh,
- &glCaps,
- &jownwind, jshareWith,
+ &glCaps, &ownwind,
+ NULL /* pOwnWinAttr */,
+ 0 /* ownWinmask */,
+ jshareWith,
joffScreenRenderer, &pix, verbose);
}
@@ -474,7 +482,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
fprintf(stderr,"GL4Java ERROR: GETTING GC FAILED\n");
fflush(stderr);
- if(jownwind==JNI_TRUE && theWindow!=0)
+ if(ownwind && theWindow!=0)
XDestroyWindow( display, theWindow );
if(joffScreenRenderer==JNI_TRUE && pix!=0)
XFreePixmap(display, pix);
@@ -482,7 +490,7 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
jawt_free_close_unlock(env, &pData, JNI_FALSE);
ret = JNI_FALSE;
} else {
- if(jownwind==JNI_TRUE || joffScreenRenderer==JNI_TRUE)
+ if(ownwind || joffScreenRenderer==JNI_TRUE)
{
pData->dsi_win=(void *)(PointerHolder)theWindow;
pData->dsi_win_created=1;
@@ -536,7 +544,8 @@ Java_gl4java_GLContext_openOpenGLNative( JNIEnv *env, jobject obj,
}
if(ret==JNI_TRUE && fownwind) {
- (*env)->SetBooleanField(env, obj, fownwind, jownwind);
+ jb_value = ownwind?JNI_TRUE:JNI_FALSE;
+ (*env)->SetBooleanField(env, obj, fownwind, jb_value);
}
return ret;
@@ -552,7 +561,7 @@ Java_gl4java_GLContext_gljResizeNative( JNIEnv *env, jobject obj,
* by a native Thread .... So we have to try avoid gl* reentrance
* on the same GL-Context
*/
- glXWaitGL();
+ disp__glXWaitGL();
if(isOwnWindow)
{
@@ -628,11 +637,11 @@ Java_gl4java_GLContext_gljMakeCurrentNative( JNIEnv *env, jobject obj,
return ret;
}
- ctx = glXGetCurrentContext();
+ ctx = disp__glXGetCurrentContext();
if(ret==JNI_TRUE && ctx!=(GLXContext)((PointerHolder)glContext) )
{
- if( !glXMakeCurrent( GET_USED_DISPLAY(thisWin),
+ if( !disp__glXMakeCurrent( GET_USED_DISPLAY(thisWin),
GET_USED_WINDOW(thisWin),
(GLXContext)((PointerHolder)glContext) ) )
{
@@ -664,7 +673,7 @@ Java_gl4java_GLContext_gljFreeNative( JNIEnv *env, jobject obj,
if(ret==JNI_TRUE)
{
- if( !glXMakeCurrent( GET_USED_DISPLAY(thisWin),
+ if( !disp__glXMakeCurrent( GET_USED_DISPLAY(thisWin),
None, NULL))
{
fprintf(stderr, "GL4Java: gljFree failed\n");
@@ -683,7 +692,7 @@ Java_gl4java_GLContext_gljIsContextCurrentNative( JNIEnv *env, jobject obj,
jlong glContext
)
{
- GLXContext ctx = glXGetCurrentContext();
+ GLXContext ctx = disp__glXGetCurrentContext();
if(ctx==(GLXContext)((PointerHolder)glContext))
return JNI_TRUE;
@@ -794,7 +803,7 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
win = GET_USED_WINDOW(pData);
disp = GET_USED_DISPLAY(pData);
- glXWaitGL();
+ disp__glXWaitGL();
if(ret==JNI_TRUE)
{
@@ -806,7 +815,7 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
fflush(stderr);
}
}
- glXMakeCurrent( disp, None, NULL );
+ disp__glXMakeCurrent( disp, None, NULL );
if(ret==JNI_TRUE)
{
@@ -814,12 +823,12 @@ Java_gl4java_GLContext_gljDestroyNative( JNIEnv *env, jobject obj,
{
if(JNI_TRUE==verbose)
fprintf(stderr, "GL4Java: glXDestroyContext sure %p\n", gc);
- glXDestroyContext(disp, gc);
+ disp__glXDestroyContext(disp, gc);
}
if(pix!=0)
{
if(win!=0)
- glXDestroyGLXPixmap(disp, win);
+ disp__glXDestroyGLXPixmap(disp, win);
win=0;
pData->dsi_win = NULL;
pData->dsi_win_created = 0;
@@ -887,9 +896,9 @@ Java_gl4java_GLContext_gljSwapNative( JNIEnv *env, jobject obj,
if( doubleBuffer == JNI_FALSE ) {
/* don't double buffer */
- glXWaitGL();
+ disp__glXWaitGL();
} else {
- glXSwapBuffers( GET_USED_DISPLAY(thisWin),
+ disp__glXSwapBuffers( GET_USED_DISPLAY(thisWin),
GET_USED_WINDOW(thisWin) );
}
@@ -897,3 +906,4 @@ Java_gl4java_GLContext_gljSwapNative( JNIEnv *env, jobject obj,
}
+
diff --git a/CNativeCode/OpenGL_misc.c b/CNativeCode/OpenGL_misc.c
index 201a048..8d08843 100644
--- a/CNativeCode/OpenGL_misc.c
+++ b/CNativeCode/OpenGL_misc.c
@@ -5,11 +5,17 @@
#ifdef _X11_
#include <GL/glx.h>
#include <dlfcn.h>
+ #include "glxtool.h"
#endif
+
+#ifdef _WIN32_
+ #include "wgltool.h"
+#endif
-#ifdef macintosh
+#include <string.h>
+
+#ifdef _MAC_OS9_
#include <agl.h>
- #include <string.h>
#include <CodeFragments.h>
#include <Errors.h>
#include <TextUtils.h>
@@ -21,7 +27,7 @@
static const char * _lib_version_= __LIB_VERSION__ ;
-#ifdef macintosh
+#ifdef _MAC_OS9_
static const char * _lib_vendor_ = "Jausoft - Sven Goethel Software Development & Gerard Ziemski";
#else
static const char * _lib_vendor_ = "Jausoft - Sven Goethel Software Development";
@@ -31,6 +37,50 @@ static const char * _lib_version_= __LIB_VERSION__ ;
#define CALLBACK
#endif
+char libGLName[800] =
+#ifdef _X11_
+ "libGL.so"
+#endif
+#ifdef _WIN32_
+ "OPENGL32.DLL"
+#endif
+#ifdef _MAC_OS9_
+ "\pOpenGLLibrary"
+#endif
+#ifdef _MAC_OSX_
+ "libGL.so"
+#endif
+;
+
+char libGLUName[800] =
+#ifdef _X11_
+ "libGLU.so"
+#endif
+#ifdef _WIN32_
+ "GLU32.DLL"
+#endif
+#ifdef _MAC_OS9_
+ "\pOpenGLULibrary"
+#endif
+#ifdef _MAC_OSX_
+ "libGLU.so"
+#endif
+;
+
+#ifdef J_GET_BOOL_FIELD
+ #undef J_GET_BOOL_FIELD
+#endif
+#define J_GET_BOOL_FIELD(ATTRIBUTE_NAME, ATTRIBUTE_NAME_STR) if(ok==JNI_TRUE) { f ## ATTRIBUTE_NAME = (*env)->GetFieldID(env, cls, ATTRIBUTE_NAME_STR, "Z"); if ( f ## ATTRIBUTE_NAME == 0) ok= JNI_FALSE; }
+
+#ifdef J_GET_BOOL_FIELD_VAL
+ #undef J_GET_BOOL_FIELD_VAL
+#endif
+#define J_GET_BOOL_FIELD_VAL(ATTRIBUTE_NAME, ATTRIBUTE_NAME_STR) if(ok==JNI_TRUE) { f ## ATTRIBUTE_NAME = (*env)->GetFieldID(env, cls, ATTRIBUTE_NAME_STR, "Z"); if ( f ## ATTRIBUTE_NAME == 0) ok= JNI_FALSE; else glCaps-> ## ATTRIBUTE_NAME = (int) ((*env)->GetBooleanField(env, capsObj, f ## ATTRIBUTE_NAME)); }
+
+#ifdef J_SET_BOOL_FIELD_VAL
+ #undef J_SET_BOOL_FIELD_VAL
+#endif
+#define J_SET_BOOL_FIELD_VAL(ATTRIBUTE_NAME) if(ok==JNI_TRUE && f ## ATTRIBUTE_NAME!=0) { (*env)->SetBooleanField(env, capsObj, f ## ATTRIBUTE_NAME, (jboolean) glCaps-> ## ATTRIBUTE_NAME); }
#ifdef J_GET_INT_FIELD
#undef J_GET_INT_FIELD
@@ -141,6 +191,7 @@ jboolean LIBAPIENTRY javaGLCapabilities2NativeGLCapabilities
J_GET_INT_FIELD_VAL(accumBlueBits, "accumBlueBits")
J_GET_INT_FIELD_VAL(accumAlphaBits, "accumAlphaBits")
J_GET_LONG_FIELD_VAL(nativeVisualID, "nativeVisualID")
+ glCaps->gl_supported=1;
if(JNI_TRUE!=ok)
{
@@ -255,26 +306,6 @@ jboolean LIBAPIENTRY nativeGLCapabilities2JavaGLCapabilities
return JNI_TRUE;
}
-void LIBAPIENTRY printGLCapabilities ( GLCapabilities *glCaps )
-{
- fprintf(stdout, "\t doubleBuff: %d, ", (int)glCaps->buffer);
- fprintf(stdout, " rgba: %d, ", (int)glCaps->color);
- fprintf(stdout, " stereo: %d, ", (int)glCaps->stereo);
- fprintf(stdout, " depthSize: %d, ", (int)glCaps->depthBits);
- fprintf(stdout, " stencilSize: %d !\n", (int)glCaps->stencilBits);
- fprintf(stdout, "\t red: %d, ", (int)glCaps->redBits);
- fprintf(stdout, " green: %d, ", (int)glCaps->greenBits);
- fprintf(stdout, " blue: %d, ", (int)glCaps->blueBits);
- fprintf(stdout, " alpha: %d !\n", (int)glCaps->alphaBits);
- fprintf(stdout, "\t red accum: %d, ", (int)glCaps->accumRedBits);
- fprintf(stdout, " green accum: %d, ", (int)glCaps->accumGreenBits);
- fprintf(stdout, " blue accum: %d, ", (int)glCaps->accumBlueBits);
- fprintf(stdout, " alpha accum: %d !\n", (int)glCaps->accumAlphaBits);
- fprintf(stdout, "\t nativeVisualID: %ld !\n", (long)glCaps->nativeVisualID);
-
- fflush(stdout);
-}
-
jboolean LIBAPIENTRY testJavaGLTypes(jboolean verbose)
{
jboolean ret=JNI_TRUE;
@@ -509,58 +540,58 @@ Java_gl4java_GLContext_gljReadPixelGL2AWT__IIIIIII_3B (
&isCopiedArray);
/* Save current modes. */
- glGetIntegerv(GL_PACK_SWAP_BYTES, &swapbytes);
- glGetIntegerv(GL_PACK_LSB_FIRST, &lsbfirst);
- glGetIntegerv(GL_PACK_ROW_LENGTH, &rowlength);
- glGetIntegerv(GL_PACK_SKIP_ROWS, &skiprows);
- glGetIntegerv(GL_PACK_SKIP_PIXELS, &skippixels);
- glGetIntegerv(GL_PACK_ALIGNMENT, &alignment);
- glGetIntegerv(GL_UNPACK_SWAP_BYTES, &unswapbytes);
- glGetIntegerv(GL_UNPACK_LSB_FIRST, &unlsbfirst);
- glGetIntegerv(GL_UNPACK_ROW_LENGTH, &unrowlength);
- glGetIntegerv(GL_UNPACK_SKIP_ROWS, &unskiprows);
- glGetIntegerv(GL_UNPACK_SKIP_PIXELS, &unskippixels);
- glGetIntegerv(GL_UNPACK_ALIGNMENT, &unalignment);
+ disp__glGetIntegerv(GL_PACK_SWAP_BYTES, &swapbytes);
+ disp__glGetIntegerv(GL_PACK_LSB_FIRST, &lsbfirst);
+ disp__glGetIntegerv(GL_PACK_ROW_LENGTH, &rowlength);
+ disp__glGetIntegerv(GL_PACK_SKIP_ROWS, &skiprows);
+ disp__glGetIntegerv(GL_PACK_SKIP_PIXELS, &skippixels);
+ disp__glGetIntegerv(GL_PACK_ALIGNMENT, &alignment);
+ disp__glGetIntegerv(GL_UNPACK_SWAP_BYTES, &unswapbytes);
+ disp__glGetIntegerv(GL_UNPACK_LSB_FIRST, &unlsbfirst);
+ disp__glGetIntegerv(GL_UNPACK_ROW_LENGTH, &unrowlength);
+ disp__glGetIntegerv(GL_UNPACK_SKIP_ROWS, &unskiprows);
+ disp__glGetIntegerv(GL_UNPACK_SKIP_PIXELS, &unskippixels);
+ disp__glGetIntegerv(GL_UNPACK_ALIGNMENT, &unalignment);
/* Little endian machines (DEC Alpha, Inten X86, PPC(in LSB mode)...
for example) could benefit from setting
GL_PACK_LSB_FIRST to GL_TRUE
instead of GL_FALSE, but this would require changing the
generated bitmaps too. */
- glPixelStorei(GL_PACK_SWAP_BYTES, GL_FALSE);
- glPixelStorei(GL_PACK_LSB_FIRST, GL_TRUE);
- glPixelStorei(GL_PACK_ROW_LENGTH, width);
- glPixelStorei(GL_PACK_SKIP_ROWS, 0);
- glPixelStorei(GL_PACK_SKIP_PIXELS, 0);
- glPixelStorei(GL_PACK_ALIGNMENT, 1);
- glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_FALSE);
- glPixelStorei(GL_UNPACK_LSB_FIRST, GL_TRUE);
- glPixelStorei(GL_UNPACK_ROW_LENGTH, width);
- glPixelStorei(GL_UNPACK_SKIP_ROWS, 0);
- glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0);
- glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
+ disp__glPixelStorei(GL_PACK_SWAP_BYTES, GL_FALSE);
+ disp__glPixelStorei(GL_PACK_LSB_FIRST, GL_TRUE);
+ disp__glPixelStorei(GL_PACK_ROW_LENGTH, width);
+ disp__glPixelStorei(GL_PACK_SKIP_ROWS, 0);
+ disp__glPixelStorei(GL_PACK_SKIP_PIXELS, 0);
+ disp__glPixelStorei(GL_PACK_ALIGNMENT, 1);
+ disp__glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_FALSE);
+ disp__glPixelStorei(GL_UNPACK_LSB_FIRST, GL_TRUE);
+ disp__glPixelStorei(GL_UNPACK_ROW_LENGTH, width);
+ disp__glPixelStorei(GL_UNPACK_SKIP_ROWS, 0);
+ disp__glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0);
+ disp__glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
/* Actually read the pixels. */
- glReadBuffer(bufferName);
- glReadPixels(xpos, ypos, width, height, format, type,
+ disp__glReadBuffer(bufferName);
+ disp__glReadPixels(xpos, ypos, width, height, format, type,
pixelGLDestData);
/* Restore saved modes. */
- glPixelStorei(GL_PACK_SWAP_BYTES, swapbytes);
- glPixelStorei(GL_PACK_LSB_FIRST, lsbfirst);
- glPixelStorei(GL_PACK_ROW_LENGTH, rowlength);
- glPixelStorei(GL_PACK_SKIP_ROWS, skiprows);
- glPixelStorei(GL_PACK_SKIP_PIXELS, skippixels);
- glPixelStorei(GL_PACK_ALIGNMENT, alignment);
- glPixelStorei(GL_UNPACK_SWAP_BYTES, unswapbytes);
- glPixelStorei(GL_UNPACK_LSB_FIRST, unlsbfirst);
- glPixelStorei(GL_UNPACK_ROW_LENGTH, unrowlength);
- glPixelStorei(GL_UNPACK_SKIP_ROWS, unskiprows);
- glPixelStorei(GL_UNPACK_SKIP_PIXELS, unskippixels);
- glPixelStorei(GL_UNPACK_ALIGNMENT, unalignment);
-
- glFlush();
- glFinish();
+ disp__glPixelStorei(GL_PACK_SWAP_BYTES, swapbytes);
+ disp__glPixelStorei(GL_PACK_LSB_FIRST, lsbfirst);
+ disp__glPixelStorei(GL_PACK_ROW_LENGTH, rowlength);
+ disp__glPixelStorei(GL_PACK_SKIP_ROWS, skiprows);
+ disp__glPixelStorei(GL_PACK_SKIP_PIXELS, skippixels);
+ disp__glPixelStorei(GL_PACK_ALIGNMENT, alignment);
+ disp__glPixelStorei(GL_UNPACK_SWAP_BYTES, unswapbytes);
+ disp__glPixelStorei(GL_UNPACK_LSB_FIRST, unlsbfirst);
+ disp__glPixelStorei(GL_UNPACK_ROW_LENGTH, unrowlength);
+ disp__glPixelStorei(GL_UNPACK_SKIP_ROWS, unskiprows);
+ disp__glPixelStorei(GL_UNPACK_SKIP_PIXELS, unskippixels);
+ disp__glPixelStorei(GL_UNPACK_ALIGNMENT, unalignment);
+
+ disp__glFlush();
+ disp__glFinish();
(*env)->ReleaseByteArrayElements(env,
pixelGLDest, pixelGLDestData,
@@ -614,54 +645,54 @@ Java_gl4java_GLContext_gljReadPixelGL2AWT__IIIIIII_3B_3I (
&isCopiedArray1);
/* Save current modes. */
- glGetIntegerv(GL_PACK_SWAP_BYTES, &swapbytes);
- glGetIntegerv(GL_PACK_LSB_FIRST, &lsbfirst);
- glGetIntegerv(GL_PACK_ROW_LENGTH, &rowlength);
- glGetIntegerv(GL_PACK_SKIP_ROWS, &skiprows);
- glGetIntegerv(GL_PACK_SKIP_PIXELS, &skippixels);
- glGetIntegerv(GL_PACK_ALIGNMENT, &alignment);
- glGetIntegerv(GL_UNPACK_SWAP_BYTES, &unswapbytes);
- glGetIntegerv(GL_UNPACK_LSB_FIRST, &unlsbfirst);
- glGetIntegerv(GL_UNPACK_ROW_LENGTH, &unrowlength);
- glGetIntegerv(GL_UNPACK_SKIP_ROWS, &unskiprows);
- glGetIntegerv(GL_UNPACK_SKIP_PIXELS, &unskippixels);
- glGetIntegerv(GL_UNPACK_ALIGNMENT, &unalignment);
+ disp__glGetIntegerv(GL_PACK_SWAP_BYTES, &swapbytes);
+ disp__glGetIntegerv(GL_PACK_LSB_FIRST, &lsbfirst);
+ disp__glGetIntegerv(GL_PACK_ROW_LENGTH, &rowlength);
+ disp__glGetIntegerv(GL_PACK_SKIP_ROWS, &skiprows);
+ disp__glGetIntegerv(GL_PACK_SKIP_PIXELS, &skippixels);
+ disp__glGetIntegerv(GL_PACK_ALIGNMENT, &alignment);
+ disp__glGetIntegerv(GL_UNPACK_SWAP_BYTES, &unswapbytes);
+ disp__glGetIntegerv(GL_UNPACK_LSB_FIRST, &unlsbfirst);
+ disp__glGetIntegerv(GL_UNPACK_ROW_LENGTH, &unrowlength);
+ disp__glGetIntegerv(GL_UNPACK_SKIP_ROWS, &unskiprows);
+ disp__glGetIntegerv(GL_UNPACK_SKIP_PIXELS, &unskippixels);
+ disp__glGetIntegerv(GL_UNPACK_ALIGNMENT, &unalignment);
/* Little endian machines (DEC Alpha, Inten X86, PPC(in LSB mode)...
for example) could benefit from setting
GL_PACK_LSB_FIRST to GL_TRUE
instead of GL_FALSE, but this would require changing the
generated bitmaps too. */
- glPixelStorei(GL_PACK_SWAP_BYTES, GL_FALSE);
- glPixelStorei(GL_PACK_LSB_FIRST, GL_TRUE);
- glPixelStorei(GL_PACK_ROW_LENGTH, width);
- glPixelStorei(GL_PACK_SKIP_ROWS, 0);
- glPixelStorei(GL_PACK_SKIP_PIXELS, 0);
- glPixelStorei(GL_PACK_ALIGNMENT, 1);
- glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_FALSE);
- glPixelStorei(GL_UNPACK_LSB_FIRST, GL_TRUE);
- glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
- glPixelStorei(GL_UNPACK_SKIP_ROWS, 0);
- glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0);
- glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
+ disp__glPixelStorei(GL_PACK_SWAP_BYTES, GL_FALSE);
+ disp__glPixelStorei(GL_PACK_LSB_FIRST, GL_TRUE);
+ disp__glPixelStorei(GL_PACK_ROW_LENGTH, width);
+ disp__glPixelStorei(GL_PACK_SKIP_ROWS, 0);
+ disp__glPixelStorei(GL_PACK_SKIP_PIXELS, 0);
+ disp__glPixelStorei(GL_PACK_ALIGNMENT, 1);
+ disp__glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_FALSE);
+ disp__glPixelStorei(GL_UNPACK_LSB_FIRST, GL_TRUE);
+ disp__glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
+ disp__glPixelStorei(GL_UNPACK_SKIP_ROWS, 0);
+ disp__glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0);
+ disp__glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
/* Actually read the pixels. */
- glReadBuffer(bufferName);
- glReadPixels(xpos, ypos, width, height, format, type, pixelGLData);
+ disp__glReadBuffer(bufferName);
+ disp__glReadPixels(xpos, ypos, width, height, format, type, pixelGLData);
/* Restore saved modes. */
- glPixelStorei(GL_PACK_SWAP_BYTES, swapbytes);
- glPixelStorei(GL_PACK_LSB_FIRST, lsbfirst);
- glPixelStorei(GL_PACK_ROW_LENGTH, rowlength);
- glPixelStorei(GL_PACK_SKIP_ROWS, skiprows);
- glPixelStorei(GL_PACK_SKIP_PIXELS, skippixels);
- glPixelStorei(GL_PACK_ALIGNMENT, alignment);
- glPixelStorei(GL_UNPACK_SWAP_BYTES, unswapbytes);
- glPixelStorei(GL_UNPACK_LSB_FIRST, unlsbfirst);
- glPixelStorei(GL_UNPACK_ROW_LENGTH, unrowlength);
- glPixelStorei(GL_UNPACK_SKIP_ROWS, unskiprows);
- glPixelStorei(GL_UNPACK_SKIP_PIXELS, unskippixels);
- glPixelStorei(GL_UNPACK_ALIGNMENT, unalignment);
+ disp__glPixelStorei(GL_PACK_SWAP_BYTES, swapbytes);
+ disp__glPixelStorei(GL_PACK_LSB_FIRST, lsbfirst);
+ disp__glPixelStorei(GL_PACK_ROW_LENGTH, rowlength);
+ disp__glPixelStorei(GL_PACK_SKIP_ROWS, skiprows);
+ disp__glPixelStorei(GL_PACK_SKIP_PIXELS, skippixels);
+ disp__glPixelStorei(GL_PACK_ALIGNMENT, alignment);
+ disp__glPixelStorei(GL_UNPACK_SWAP_BYTES, unswapbytes);
+ disp__glPixelStorei(GL_UNPACK_LSB_FIRST, unlsbfirst);
+ disp__glPixelStorei(GL_UNPACK_ROW_LENGTH, unrowlength);
+ disp__glPixelStorei(GL_UNPACK_SKIP_ROWS, unskiprows);
+ disp__glPixelStorei(GL_UNPACK_SKIP_PIXELS, unskippixels);
+ disp__glPixelStorei(GL_UNPACK_ALIGNMENT, unalignment);
for(y_desc=height-1; y_desc>=0; y_desc--)
{
@@ -779,304 +810,59 @@ Java_gl4java_GLContext_gljCpyOffScrnImg2Buffer__III_3I
JNI_ABORT);
#endif
}
+
+JNIEXPORT jboolean JNICALL
+Java_gl4java_GLContext_gljFetchOSGLFunctions (
+ JNIEnv *env, jclass jclass,
+ jstring gllibname, jstring glulibname, jboolean force )
+{
+ const char * gllib;
+ const char * glulib;
+
+ gllib = (*env)->GetStringUTFChars(env, gllibname, 0);
+ glulib = (*env)->GetStringUTFChars(env, glulibname, 0);
+
+ strncpy (libGLName, gllib, 798);
+ strncpy (libGLUName, glulib, 798);
+ libGLName[799] = 0;
+ libGLUName[799] = 0;
+
+ (*env)->ReleaseStringUTFChars(env, gllibname, gllib);
+ (*env)->ReleaseStringUTFChars(env, glulibname, glulib);
+
+#ifdef _X11_
+ fetch_GLX_FUNCS (libGLName, libGLUName, (force==JNI_TRUE)?1:0);
+#endif
+
+#ifdef _WIN32_
+ fetch_WGL_FUNCS (libGLName, libGLUName, (force==JNI_TRUE)?1:0);
+#endif
+
+ return JNI_TRUE;
+}
-#ifdef macintosh
-
-#ifndef NDEBUG
-
-static void PrintSymbolNamesByConnection (CFragConnectionID myConnID)
-{
- long myIndex;
- long myCount; /*number of exported symbols in fragment*/
- OSErr myErr;
- Str255 myName; /*symbol name*/
- Ptr myAddr; /*symbol address*/
- CFragSymbolClass myClass; /*symbol class*/
- static char buffer[256];
-
- myErr = CountSymbols(myConnID, &myCount);
- if (!myErr)
- for (myIndex = 1; myIndex <= myCount; myIndex++)
- {
- myErr = GetIndSymbol(myConnID, myIndex, myName,
- &myAddr, &myClass);
- if (!myErr)
- {
- p2cstrcpy (buffer, myName);
-
- printf("%d/%d: class %d - name %s\n",
- myIndex, myCount, myClass, buffer);
- }
- }
-}
-
-static Ptr SeekSymbolNamesByConnection (CFragConnectionID myConnID, Str255 name)
-{
- long myIndex;
- long myCount; /*number of exported symbols in fragment*/
- OSErr myErr;
- Str255 myName; /*symbol name*/
- Ptr myAddr; /*symbol address*/
- CFragSymbolClass myClass; /*symbol class*/
-
- myErr = CountSymbols(myConnID, &myCount);
- if (!myErr)
- for (myIndex = 1; myIndex <= myCount; myIndex++)
- {
- myErr = GetIndSymbol(myConnID, myIndex, myName,
- &myAddr, &myClass);
- if (!myErr && EqualString (myName, name, true, true) == true )
- return myAddr;
- }
-}
-
-#endif /* ifndef NDEBUG */
-
-#endif /* ifdef macintosh */
-
-void * LIBAPIENTRY getGLProcAddressHelper(const char * func, int * method,
- int debug, int verbose )
+JNIEXPORT jboolean JNICALL
+Java_gl4java_GLContext_gljFetchGLFunctions (
+ JNIEnv *env, jclass jclass,
+ jstring gllibname, jstring glulibname, jboolean force )
{
- void * funcPtr=NULL;
- int lmethod;
-
-#ifdef _X11_
-
- void * libHandleGL;
-
- /*
- * void (*glXGetProcAddressARB(const GLubyte *procName))
- */
- static void * (CALLBACK *__glXGetProcAddress)
- (const GLubyte *procName) = NULL;
- static int __firstAccess = 1;
-
- if(__glXGetProcAddress==NULL && __firstAccess)
- {
- libHandleGL = dlopen("libGL.so", RTLD_LAZY|RTLD_GLOBAL);
- if(libHandleGL==NULL)
- {
- printf("cannot access OpenGL library libGL.so\n");
- fflush(NULL);
- } else {
- __glXGetProcAddress =
- dlsym(libHandleGL, "glXGetProcAddressARB");
-
- if(__glXGetProcAddress!=NULL && verbose) {
- printf("found glXGetProcAddressARB in libGL.so\n");
- fflush(NULL);
- }
-
- if(__glXGetProcAddress==NULL)
- {
- __glXGetProcAddress =
- dlsym(libHandleGL, "glXGetProcAddressEXT");
-
- if(__glXGetProcAddress!=NULL && verbose) {
- printf("found glXGetProcAddressEXT in libGL.so\n");
- fflush(NULL);
- }
- }
-
- if(__glXGetProcAddress==NULL)
- {
- __glXGetProcAddress =
- dlsym(libHandleGL, "glXGetProcAddress");
-
- if(__glXGetProcAddress!=NULL && verbose) {
- printf("found glXGetProcAddress in libGL.so\n");
- fflush(NULL);
- }
- }
-
- dlclose(libHandleGL);
- libHandleGL=NULL;
-
- if(__glXGetProcAddress==NULL)
- {
- printf("cannot find glXGetProcAddress* in OpenGL library libGL.so\n");
- fflush(NULL);
- libHandleGL = dlopen("libglx.so", RTLD_LAZY|RTLD_GLOBAL);
- if(libHandleGL==NULL)
- {
- printf("cannot access GLX library libglx.so\n");
- fflush(NULL);
- } else {
- __glXGetProcAddress =
- dlsym(libHandleGL, "glXGetProcAddressARB");
-
- if(__glXGetProcAddress!=NULL && verbose) {
- printf("found glXGetProcAddressARB in libglx.so\n");
- fflush(NULL);
- }
-
- if(__glXGetProcAddress==NULL) {
- __glXGetProcAddress =
- dlsym(libHandleGL, "glXGetProcAddressEXT");
-
- if(__glXGetProcAddress!=NULL && verbose) {
- printf("found glXGetProcAddressEXT in libglx.so\n");
- fflush(NULL);
- }
- }
-
- if(__glXGetProcAddress==NULL) {
- __glXGetProcAddress =
- dlsym(libHandleGL, "glXGetProcAddress");
-
- if(__glXGetProcAddress!=NULL && verbose) {
- printf("found glXGetProcAddress in libglx.so\n");
- fflush(NULL);
- }
- }
-
- dlclose(libHandleGL);
- libHandleGL=NULL;
- }
- }
- }
- }
- if(__glXGetProcAddress==NULL && __firstAccess)
- {
- printf("cannot find glXGetProcAddress* in GLX library libglx.so\n");
- fflush(NULL);
- }
- __firstAccess = 0;
-
- if(__glXGetProcAddress!=NULL)
- funcPtr = __glXGetProcAddress(func);
-
- if(funcPtr==NULL) {
- lmethod=2;
- libHandleGL = dlopen("libGL.so", RTLD_LAZY|RTLD_GLOBAL);
- if(libHandleGL==NULL)
- {
- printf("cannot access OpenGL library libGL.so\n");
- fflush(NULL);
- } else {
- funcPtr = dlsym(libHandleGL, func);
- dlclose(libHandleGL);
- }
- } else lmethod=1;
-#endif
-
-
-#ifdef _WIN32_
-
- HMODULE hDLL_OPENGL32 = 0;
+ const char * gllib;
+ const char * glulib;
+ gllib = (*env)->GetStringUTFChars(env, gllibname, 0);
+ glulib = (*env)->GetStringUTFChars(env, glulibname, 0);
+ strncpy (libGLName, gllib, 798);
+ strncpy (libGLUName, glulib, 798);
+ libGLName[799] = 0;
+ libGLUName[799] = 0;
- funcPtr = wglGetProcAddress(func);
- if(funcPtr==NULL)
- {
- lmethod=2;
-
-
- if(hDLL_OPENGL32==NULL)
-
- {
- hDLL_OPENGL32 = LoadLibrary ("OPENGL32.DLL");
-
- /* hDLL_OPENGL32 = GetModuleHandle ("OPENGL32.DLL"); */
-
- }
- if(hDLL_OPENGL32==NULL)
- {
- printf("cannot access OpenGL library OPENGL32.DLL\n");
- fflush(NULL);
- } else {
- funcPtr = GetProcAddress (hDLL_OPENGL32, func);
- FreeLibrary(hDLL_OPENGL32);
- }
- } else lmethod=1;
-#endif
-
-#ifdef macintosh
- Str255 errName;
- Str255 funcName;
- Ptr glLibMainAddr = 0;
- CFragConnectionID glLibConnectId = 0;
- CFragSymbolClass glLibSymClass = 0;
- OSErr returnError=fragNoErr;
- #ifndef NDEBUG
- static int firstTime = 1;
- #endif
-
- returnError =
- GetSharedLibrary("\pOpenGLLibrary",
- kPowerPCCFragArch,
- kReferenceCFrag,
- &glLibConnectId,
- &glLibMainAddr,
- errName);
-
- if (returnError != fragNoErr)
- {
- printf ("GetSharedLibrary Err(%d): Ahhh! Didn't find LIBRARY !\n",
- returnError);
- }
-
- if (returnError == fragNoErr)
- {
- c2pstrcpy ( funcName, func );
-
- #ifndef NDEBUG
- if(firstTime)
- {
- PrintSymbolNamesByConnection (glLibConnectId);
- firstTime=0;
- }
- funcPtr = (void *)
- SeekSymbolNamesByConnection (glLibConnectId, funcName);
- #endif
-
- if(funcPtr==NULL)
- {
- returnError =
- FindSymbol (glLibConnectId, funcName,
- &funcPtr, & glLibSymClass );
- lmethod=2;
- }
- #ifndef NDEBUG
- else lmethod=3;
- #endif
-
- if (returnError != fragNoErr)
- {
- printf ("GetSharedLibrary Err(%d): Ahhh! Didn't find SYMBOL: %s !\n",
- returnError, func);
- }
- returnError = fragNoErr; // fall back to ok mode ...
- }
-
- if (returnError == fragNoErr && glLibConnectId!=NULL)
- {
- returnError = CloseConnection(&glLibConnectId);
+ (*env)->ReleaseStringUTFChars(env, gllibname, gllib);
+ (*env)->ReleaseStringUTFChars(env, glulibname, glulib);
- if (returnError != fragNoErr)
- {
- printf ("GetSharedLibrary Err(%d): Ahhh! Didn't close LIBRARY !\n",
- returnError);
- }
- }
+ fetch_GL_FUNCS (libGLName, libGLUName, (force==JNI_TRUE)?1:0);
-
-#endif
-
- if(funcPtr==NULL)
- {
- if(debug||verbose)
- {
- printf("%s (%d): not implemented !\n", func, lmethod);
- fflush(NULL);
- }
- } else if(verbose) {
- printf("%s (%d): loaded !\n", func, lmethod);
- fflush(NULL);
- }
- if(method!=NULL) *method=lmethod;
- return funcPtr;
+ return JNI_TRUE;
}
JNIEXPORT jboolean JNICALL
@@ -1088,11 +874,12 @@ Java_gl4java_GLContext_gljTestGLProc (
const char *str = (*env)->GetStringUTFChars(env, name, 0);
- #ifdef macintosh
+ #ifdef _MAC_OS9_
InstallJavaConsole(env);
#endif
- res = ( getGLProcAddressHelper(str, &method, 0, verbose)!=NULL )?
+ res = ( getGLProcAddressHelper(libGLName, libGLUName,
+ str, &method, 0, verbose)!=NULL )?
JNI_TRUE:JNI_FALSE;
(*env)->ReleaseStringUTFChars(env, name, str);
@@ -1105,12 +892,12 @@ Java_gl4java_GLContext_gljGetCurrentContext(
JNIEnv *env, jobject obj )
{
#ifdef _WIN32_
- return (jint) wglGetCurrentContext();
+ return (jint) disp__wglGetCurrentContext();
#else
- #ifdef macintosh
+ #ifdef _MAC_OS9_
return (jint) aglGetCurrentContext();
#else
- return (jint) glXGetCurrentContext();
+ return (jint) disp__glXGetCurrentContext();
#endif
#endif
}
diff --git a/CNativeCode/OpenGL_misc.h b/CNativeCode/OpenGL_misc.h
index 1438877..8f307c4 100644
--- a/CNativeCode/OpenGL_misc.h
+++ b/CNativeCode/OpenGL_misc.h
@@ -12,52 +12,18 @@
#include <jni.h>
- #include<GL/gl.h>
- #include <GL/glu.h>
+ #include "gltool.h"
#ifndef LIBAPIENTRY
#define LIBAPIENTRY
#endif
#ifndef LIBAPI
- #define LIBAPI
+ #define LIBAPI extern
#endif
- #ifndef USE_64BIT_POINTER
- typedef int PointerHolder;
- #else
- typedef long PointerHolder;
- #endif
-
- /* to match the GLCapabilities values .. */
-
- #define BUFFER_SINGLE 0
- #define BUFFER_DOUBLE 1
-
- #define COLOR_INDEX 0
- #define COLOR_RGBA 1
-
- #define STEREO_OFF 0
- #define STEREO_ON 1
-
- typedef struct {
- jint buffer;
- jint color;
- jint stereo;
- jint depthBits;
- jint stencilBits;
-
- jint redBits;
- jint greenBits;
- jint blueBits;
- jint alphaBits;
- jint accumRedBits;
- jint accumGreenBits;
- jint accumBlueBits;
- jint accumAlphaBits;
+ LIBAPI char libGLName[/*800*/];
+ LIBAPI char libGLUName[/*800*/];
- jlong nativeVisualID;
- } GLCapabilities;
-
/**
* gets the capabilities outta java's GLCapabilities object 'capsObj'
* and puts those values to the C-Struct GLCapabilities !
@@ -77,19 +43,10 @@
GLCapabilities *glCaps );
- /**
- * prints the contents of the GLCapabilities to stdout !
- */
- LIBAPI void LIBAPIENTRY printGLCapabilities ( GLCapabilities *glCaps );
-
/* testJavaGLTypes does important implementation plattformspecific checks:
*
* o do fit the JNI <-> GL Variables-Type Mapping
* o IF ERROR OR VERBOSE -> DUMP JNI,GL Type-Length
*/
LIBAPI jboolean LIBAPIENTRY testJavaGLTypes(jboolean verbose);
-
- LIBAPI void * LIBAPIENTRY getGLProcAddressHelper
- (const char * func, int * method,
- int debug, int verbose );
#endif
diff --git a/CNativeCode/jawt_misc.c b/CNativeCode/jawt_misc.c
index d884406..dcdf4c3 100644
--- a/CNativeCode/jawt_misc.c
+++ b/CNativeCode/jawt_misc.c
@@ -271,7 +271,7 @@ jawt_lock (JNIEnv *env, JAWTDataHolder *pJData, jboolean ignoreSurfaceChanged,
#ifdef _X11_
( ((JAWT_X11DrawingSurfaceInfo *)(pJData->dsi_os))->drawable );
#endif
- #ifdef macintosh
+ #ifdef _MAC_OS9_
NULL;
#endif
#ifdef _WIN32_
@@ -285,7 +285,7 @@ jawt_lock (JNIEnv *env, JAWTDataHolder *pJData, jboolean ignoreSurfaceChanged,
#ifdef _X11_
( ((JAWT_X11DrawingSurfaceInfo *)(pJData->dsi_os))->display );
#endif
- #ifdef macintosh
+ #ifdef _MAC_OS9_
NULL;
#endif
#ifdef _WIN32_
diff --git a/Installer/GL4JInst.java b/Installer/GL4JInst.java
index 4d7ac42..887129d 100644
--- a/Installer/GL4JInst.java
+++ b/Installer/GL4JInst.java
@@ -697,6 +697,13 @@ public class GL4JInst
"\n" +
"You should now be able to run 3D web\n" +
"applets which use GL4Java.");
+ if (mctrl.isUnix)
+ {
+ statustextarea.setText
+ (statustextarea.getText() +
+ "\n" +
+ "ROOT may have to run 'ldconfig' !\n");
+ }
statustextarea.setCaretPosition(Integer.MAX_VALUE);
if(isAnApplet)
showStatus("Installation complete! Please restart your browser!");
diff --git a/Installer/GL4JInst_cacert_ns.html b/Installer/GL4JInst_cacert_ns.html
index a04af37..53bc95a 100644
--- a/Installer/GL4JInst_cacert_ns.html
+++ b/Installer/GL4JInst_cacert_ns.html
@@ -49,7 +49,7 @@ Certificate Authority" box comes up:
IS AN EXTRA SECURITY PRECAUTION.
<p>When asked for a name, enter the following name, exactly as shown: GL4Java
<br>
-<p><b><a href="x509.crt">Click here to import the signing certificate.</a> </b> Valid from <b> Thu Feb 22, 2001 to Tue May 22, 2001 </b>
+<p><b><a href="x509.crt">Click here to import the signing certificate.</a> </b> Valid from <b> Fri Apr 06, 2001 to Fri Jul 06, 2001 </b>
<br>
<p>After you have imported the certificate, <b><a href="GL4JInst_ns.html">Click
here to begin the GL4Java installation.</a></b>
diff --git a/Installer/makeNetscapeSignedJar-Unix.sh b/Installer/makeNetscapeSignedJar-Unix.sh
index 2a1f385..bc58a4b 100755
--- a/Installer/makeNetscapeSignedJar-Unix.sh
+++ b/Installer/makeNetscapeSignedJar-Unix.sh
@@ -5,9 +5,9 @@
# The Netscape signing keys were created using the Netscape signtool
# utility, as follows:
# copy key3.db and cert7.db from one of the users directories.
-# signtool -d . -G GL4JInst205
+# signtool -d . -G GL4JInst207
# Enter the following information:
-# certificate common name: GL4JInst205
+# certificate common name: GL4JInst207
# organization: GL4Java Development Team
# organization unit: GL4JInst
# state or province: NRW
@@ -27,7 +27,7 @@ javac -classpath ".:../capsapi_classes.zip" *.java
. versionundef.sh
rm -rf META-INF
-signtool -d . -e .class -k GL4JInst206b -Z GL4JInst_ns.jar -c9 --norecurse .
+signtool -d . -e .class -k GL4JInst270 -Z GL4JInst_ns.jar -c9 --norecurse .
rm -rf META-INF
rm -f key3.db cert7.db *.class
diff --git a/Installer/versiondef.sh b/Installer/versiondef.sh
index 79a6461..f5fb6b6 100644
--- a/Installer/versiondef.sh
+++ b/Installer/versiondef.sh
@@ -1,5 +1,5 @@
MAJV=2
-MINV=6
+MINV=7
BUGV=0
RELV=0
diff --git a/LINKS.html b/LINKS.html
index d9fedad..3ead97a 100644
--- a/LINKS.html
+++ b/LINKS.html
@@ -13,81 +13,63 @@
</HEAD>
<BODY bgcolor="#e6e6ff">
<HR>
-<P ALIGN=CENTER><B><U>Some places ....</U></B>
-</P>
-<P ALIGN=CENTER><FONT COLOR="#000080"><A HREF="http://java.sun.com/"><FONT COLOR="#000080"><IMG SRC="docs/html/images/j2j.gif" NAME="Grafik1" ALT="Jump2Java" ALIGN=BOTTOM HSPACE=20 WIDTH=80 HEIGHT=80 BORDER=1></FONT></A></FONT>
-<FONT COLOR="#000080">
-<A HREF="http://www.opengl.org/"><FONT COLOR="#000080"><IMG SRC="docs/html/images/ogla.gif" NAME="Grafik2" ALT="OpenGL" ALIGN=BOTTOM HSPACE=20 WIDTH=140 HEIGHT=80 BORDER=1></FONT></A></FONT>
+<P ALIGN=CENTER><FONT COLOR="#000080"><A HREF="http://java.sun.com/" TARGET="_blank"><FONT COLOR="#000080"><IMG SRC="docs/html/images/j2j.gif" NAME="Grafik1" ALT="Jump2Java" ALIGN=BOTTOM HSPACE=20 WIDTH=80 HEIGHT=80 BORDER=1></FONT></A></FONT>
<FONT COLOR="#000080">
-<A HREF="http://www.gamelan.com/"><FONT COLOR="#000080"><IMG SRC="docs/html/images/gamelanbutton.gif" NAME="Grafik3" ALT="Gamelan" ALIGN=BOTTOM HSPACE=20 WIDTH=197 HEIGHT=43 BORDER=1></FONT></A></FONT>
+<A HREF="http://www.opengl.org/" TARGET="_blank"><FONT COLOR="#000080"><IMG SRC="docs/html/images/ogla.gif" NAME="Grafik2" ALT="OpenGL" ALIGN=BOTTOM HSPACE=20 WIDTH=140 HEIGHT=80 BORDER=1></FONT></A></FONT>
<FONT COLOR="#000080">
-<A HREF="http://jars.developer.com/jarssearch.html"><FONT COLOR="#800000"><IMG SRC="docs/html/images/jarswebsearch.gif" NAME="Grafik4" ALT="JARS" ALIGN=BOTTOM HSPACE=20 WIDTH=75 HEIGHT=38 BORDER=1></FONT></A></FONT>
+<A HREF="http://jars.developer.com/jarssearch.html" TARGET="_blank"><FONT COLOR="#800000"><IMG SRC="docs/html/images/jarswebsearch.gif" NAME="Grafik4" ALT="JARS" ALIGN=BOTTOM HSPACE=20 WIDTH=75 HEIGHT=38 BORDER=1></FONT></A></FONT>
</P>
<HR>
-<P ALIGN=CENTER><B><U>Some Java OpenGL places ...</U></B>
-</P>
<P>GL4Java
</P>
-<P><A HREF="http://www.jausoft.com/gl4java.html">http://www.jausoft.com/gl4java.html</A></P>
+<P><A HREF="http://www.jausoft.com/gl4java/" TARGET="_blank">http://www.jausoft.com/gl4java/</A></P>
+<P>GLMame
</P>
-<P><A HREF="http://members.home.net/gziemski/pages/projects/GL4Java.html">http://members.home.net/gziemski/pages/projects/GL4Java.html
-<SPAN STYLE="text-decoration: none">(Macintosh port of GL4Java)</SPAN></A></P>
-<P><A HREF="http://www.jausoft.com/Files/Java/1.1.X/GL4JavaApps">http://www.jausoft.com/Files/Java/1.1.X/GL4JavaApps</A><SPAN STYLE="text-decoration: none"><A HREF="http://members.home.net/gziemski/pages/projects/GL4Java.html">
- (<SPAN STYLE="text-decoration: none"> GL4Java-Applications:
-</SPAN></A>GLLandScape<A HREF="http://members.home.net/gziemski/pages/projects/GL4Java.html">)
-</A></SPAN><BR>&nbsp;
-</P>
-<P>Jogl
-</P>
-<P><A HREF="http://www.pajato.com/jogl">http://www.pajato.com/jogl</A>
-<BR>&nbsp;
+<P><A HREF="http://www.jausoft.com/glmame.html" TARGET="_blank">http://www.jausoft.com/glmame.html</A></P>
+
+<HR>
+
+<P>Mesa3D includes glut now)</P>
+<P><A HREF="http://mesa3d.sourceforge.net/" TARGET="_blank">http://mesa3d.sourceforge.net/</A>
</P>
-<P>OpenGL4Java
+
+<P>Direct Rendering Infrastructure (DRI)</P>
+<P><A HREF="http://dri.sourceforge.net/" TARGET="_blank">http://dri.sourceforge.net/</A>
</P>
-<P><A HREF="http://www.magma.ca/%7Eaking/java">http://www.magma.ca/%7Eaking/java</A>
+<P>XFree86</P>
+<P><A HREF="http://www.xfree86.org/" TARGET="_blank">http://www.xfree86.org/</A>
</P>
-<P><A HREF="http://ftp.cgl.uwaterloo.ca/pub/software/meta/OpenGL4java.html">http://ftp.cgl.uwaterloo.ca/pub/software/meta/OpenGL4java.html</A>
-<BR>&nbsp;
+
+<HR>
+
+<P>OpenGL
</P>
-<P ALIGN=CENTER><B><U>Some OpenGL places ....</U></B>
+<P><A HREF="http://www.opengl.org/" TARGET="_blank">http://www.opengl.org</A>
</P>
-<P>Gateway to OpenGL Info
+
+<P>OpenGL WWW Center
</P>
-<P><A HREF="http://reality.sgi.com/mjk_asd/opengl-links.html">http://reality.sgi.com/mjk_asd/opengl-links.html</A>
-<BR>&nbsp;
+<P><A HREF="http://www.sgi.com/software/opengl/" TARGET="_blank">http://www.sgi.com/software/opengl/</A>
</P>
+
<P>glx Specification
</P>
-<P><A HREF="http://reality.sgi.com/mjk_asd/glxspec/glxspec.html">http://reality.sgi.com/mjk_asd/glxspec/glxspec.html</A>
-<BR>&nbsp;
-</P>
-<P>OpenGL WWW Center
+<P><A HREF="http://reality.sgi.com/mjk_asd/glxspec/glxspec.html" TARGET="_blank">http://reality.sgi.com/mjk_asd/glxspec/glxspec.html</A>
</P>
-<P><A HREF="http://www.sgi.com/Technology/openGL">http://www.sgi.com/Technology/openGL</A>
+<P>GLUT 3
</P>
-<P>OpenGL
-</P>
-<P><A HREF="http://www.opengl.org/">http://www.opengl.org</A>
+<P><A HREF="http://reality.sgi.com/mjk_asd/glut3/glut3.html" TARGET="_blank">http://reality.sgi.com/mjk_asd/glut3/glut3.html</A>
</P>
-<P>MESA 3.0 (includes glut now)</P>
-<P><A HREF="http://www.ssec.wisc.edu/~brianp/Mesa.html">http://www.ssec.wisc.edu/~brianp/Mesa.html</A>
-</P>
-<P>GLUT 3.5
-</P>
-<P><A HREF="http://reality.sgi.com/employees/mjk_asd/glut3/glut3.html">http://reality.sgi.com/employees/mjk_asd/glut3/glut3.html</A>
-<BR>&nbsp;
-</P>
-<P ALIGN=CENTER><B><U>Some Java places ....</U></B>
-<BR>&nbsp;
-</P>
+<HR>
+
<P>JavaCC
</P>
-<P><A HREF="http://www.metamata.com/JavaCC/">http://www.metamata.com/JavaCC/</A>
+<P><A HREF="http://www.webgain.com/products/metamata/java_doc.html" TARGET="_blank">http://www.webgain.com/products/metamata/java_doc.html</A>
<BR>&nbsp;
</P>
<P ALIGN=CENTER STYLE="margin-bottom: 0.00cm">... hope that helps
diff --git a/Win32VC6/GL4JavaJauGljJNI/GL4JavaJauGljJNI.dsp b/Win32VC6/GL4JavaJauGljJNI/GL4JavaJauGljJNI.dsp
index 43aa508..62ce5d8 100755
--- a/Win32VC6/GL4JavaJauGljJNI/GL4JavaJauGljJNI.dsp
+++ b/Win32VC6/GL4JavaJauGljJNI/GL4JavaJauGljJNI.dsp
@@ -49,7 +49,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib opengl32.lib /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
# SUBTRACT LINK32 /pdb:none /incremental:yes /debug
# Begin Target
@@ -60,10 +60,26 @@ SOURCE=..\..\CNativeCode\GLCallbackHelperJNI.c
# End Source File
# Begin Source File
+SOURCE=..\..\CNativeCode\glcaps.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\gltool.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLUCallbackJNI.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\CNativeCode\jnitools.c
# End Source File
# Begin Source File
+SOURCE=..\..\CNativeCode\OpenGL_JauJNI_funcs.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\CNativeCode\OpenGL_misc.c
# End Source File
# Begin Source File
@@ -78,5 +94,13 @@ SOURCE=..\..\CNativeCode\OpenGL_Win32_common.c
SOURCE=..\..\CNativeCode\OpenGL_Win32_common.h
# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGLU_JauJNI_funcs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\wgltool.c
+# End Source File
# End Target
# End Project
diff --git a/Win32VC6/GL4JavaJauGljJNI12/GL4JavaJauGljJNI12.dsp b/Win32VC6/GL4JavaJauGljJNI12/GL4JavaJauGljJNI12.dsp
index 28faec0..7a398aa 100755
--- a/Win32VC6/GL4JavaJauGljJNI12/GL4JavaJauGljJNI12.dsp
+++ b/Win32VC6/GL4JavaJauGljJNI12/GL4JavaJauGljJNI12.dsp
@@ -49,7 +49,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib opengl32.lib /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
# SUBTRACT LINK32 /pdb:none /incremental:yes /debug
# Begin Target
@@ -60,10 +60,26 @@ SOURCE=..\..\CNativeCode\GLCallbackHelperJNI.c
# End Source File
# Begin Source File
+SOURCE=..\..\CNativeCode\glcaps.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\gltool.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLUCallbackJNI.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\CNativeCode\jni12tools.c
# End Source File
# Begin Source File
+SOURCE=..\..\CNativeCode\OpenGL_JauJNI12_funcs.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\CNativeCode\OpenGL_misc.c
# End Source File
# Begin Source File
@@ -74,5 +90,13 @@ SOURCE=..\..\CNativeCode\OpenGL_Win32.c
SOURCE=..\..\CNativeCode\OpenGL_Win32_common.c
# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGLU_JauJNI12_funcs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\wgltool.c
+# End Source File
# End Target
# End Project
diff --git a/Win32VC6/GL4JavaJauGljJNI13/GL4JavaJauGljJNI13.dsp b/Win32VC6/GL4JavaJauGljJNI13/GL4JavaJauGljJNI13.dsp
index 5569e4a..ea407ca 100755
--- a/Win32VC6/GL4JavaJauGljJNI13/GL4JavaJauGljJNI13.dsp
+++ b/Win32VC6/GL4JavaJauGljJNI13/GL4JavaJauGljJNI13.dsp
@@ -49,8 +49,8 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib opengl32.lib jawt.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"d:\java2\lib"
-# SUBTRACT LINK32 /pdb:none
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib jawt.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"d:\java2\lib"
+# SUBTRACT LINK32 /pdb:none /debug
# Begin Target
# Name "GL4JavaJauGljJNI13 - Win32 Release"
@@ -60,10 +60,22 @@ SOURCE=..\..\CNativeCode\GLCallbackHelperJNI.c
# End Source File
# Begin Source File
+SOURCE=..\..\CNativeCode\glcaps.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\CNativeCode\GLDrawableFactory_Win32_SunJDK13.c
# End Source File
# Begin Source File
+SOURCE=..\..\CNativeCode\gltool.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLUCallbackJNI.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\CNativeCode\jawt_misc.c
# End Source File
# Begin Source File
@@ -72,6 +84,10 @@ SOURCE=..\..\CNativeCode\jni12tools.c
# End Source File
# Begin Source File
+SOURCE=..\..\CNativeCode\OpenGL_JauJNI12_funcs.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\CNativeCode\OpenGL_misc.c
# End Source File
# Begin Source File
@@ -82,5 +98,13 @@ SOURCE=..\..\CNativeCode\OpenGL_Win32_common.c
SOURCE=..\..\CNativeCode\OpenGL_Win32_jawt.c
# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGLU_JauJNI12_funcs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\wgltool.c
+# End Source File
# End Target
# End Project
diff --git a/Win32VC6/GL4JavaMSJDirect/GL4JavaMSJDirect.dsp b/Win32VC6/GL4JavaMSJDirect/GL4JavaMSJDirect.dsp
index 8471a8d..172725a 100755
--- a/Win32VC6/GL4JavaMSJDirect/GL4JavaMSJDirect.dsp
+++ b/Win32VC6/GL4JavaMSJDirect/GL4JavaMSJDirect.dsp
@@ -40,7 +40,6 @@ RSC=rc.exe
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /I "d:\java2\include" /I "d:\java2\include\win32" /I "..\..\CCLassHeaders" /I "..\..\CNativeCode" /D "NO_VSNPRINTF" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WIN32_" /D "_MSVC_" /D "_MT" /D "_GL_DYNAMIC_BINDING_" /FD /c
-# SUBTRACT CPP /Z<none>
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x407 /d "NDEBUG"
@@ -50,7 +49,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib opengl32.lib glu32.lib ../libs/GL4JavaJauGljJNI.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../libs/GL4JavaGljMSJDirect.dll"
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ../libs/GL4JavaJauGljJNI.lib /nologo /subsystem:windows /dll /machine:I386 /out:"../libs/GL4JavaGljMSJDirect.dll"
# SUBTRACT LINK32 /pdb:none /incremental:yes /map /debug
# Begin Target
diff --git a/Win32VC6/Win32VC6.dsw b/Win32VC6/Win32VC6.dsw
index bee10b8..819f100 100755
--- a/Win32VC6/Win32VC6.dsw
+++ b/Win32VC6/Win32VC6.dsw
@@ -3,52 +3,7 @@ Microsoft Developer Studio Workspace File, Format Version 6.00
###############################################################################
-Project: "GL4JavaJauGLJNI"=.\GL4JavaJauGLJNI\GL4JavaJauGLJNI.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "GL4JavaJauGLJNI12"=.\GL4JavaJauGLJNI12\GL4JavaJauGLJNI12.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI12
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "GL4JavaJauGLJNI12tst"=.\GL4JavaJauGLJNI12tst\GL4JavaJauGLJNI12tst.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI12
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "GL4JavaJauGLJNInf"=.\GL4JavaJauGLJNInf\GL4JavaJauGLJNInf.dsp - Package Owner=<4>
+Project: "GL4JavaJauGljJNI"=.\GL4JavaJauGljJNI\GL4JavaJauGljJNI.dsp - Package Owner=<4>
Package=<5>
{{{
@@ -56,29 +11,11 @@ Package=<5>
Package=<4>
{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI
- End Project Dependency
}}}
###############################################################################
-Project: "GL4JavaJauGLJNItst"=.\GL4JavaJauGLJNItst\GL4JavaJauGLJNItst.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "GL4JavaJauGLUJNI"=.\GL4JavaJauGLUJNI\GL4JavaJauGLUJNI.dsp - Package Owner=<4>
+Project: "GL4JavaJauGljJNI12"=.\GL4JavaJauGljJNI12\GL4JavaJauGljJNI12.dsp - Package Owner=<4>
Package=<5>
{{{
@@ -86,14 +23,11 @@ Package=<5>
Package=<4>
{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI
- End Project Dependency
}}}
###############################################################################
-Project: "GL4JavaJauGLUJNI12"=.\GL4JavaJauGLUJNI12\GL4JavaJauGLUJNI12.dsp - Package Owner=<4>
+Project: "GL4JavaJauGljJNI13"=.\GL4JavaJauGljJNI13\GL4JavaJauGljJNI13.dsp - Package Owner=<4>
Package=<5>
{{{
@@ -101,14 +35,11 @@ Package=<5>
Package=<4>
{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI12
- End Project Dependency
}}}
###############################################################################
-Project: "GL4JavaJauGLUJNI12tst"=.\GL4JavaJauGLUJNI12tst\GL4JavaJauGLUJNI12tst.dsp - Package Owner=<4>
+Project: "GL4JavaJauGljJNI13nf"=.\GL4JavaJauGljJNI13nf\GL4JavaJauGljJNI13nf.dsp - Package Owner=<4>
Package=<5>
{{{
@@ -116,14 +47,11 @@ Package=<5>
Package=<4>
{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI12
- End Project Dependency
}}}
###############################################################################
-Project: "GL4JavaJauGLUJNInf"=.\GL4JavaJauGLUJNInf\GL4JavaJauGLUJNI.dsp - Package Owner=<4>
+Project: "GL4JavaJauGljJNI13tst"=.\GL4JavaJauGljJNI13tst\GL4JavaJauGljJNI13tst.dsp - Package Owner=<4>
Package=<5>
{{{
@@ -131,14 +59,11 @@ Package=<5>
Package=<4>
{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI
- End Project Dependency
}}}
###############################################################################
-Project: "GL4JavaJauGLUJNItst"=.\GL4JavaJauGLUJNItst\GL4JavaJauGLUJNItst.dsp - Package Owner=<4>
+Project: "GL4JavaMSJDirect"=.\GL4JavaMSJDirect\GL4JavaMSJDirect.dsp - Package Owner=<4>
Package=<5>
{{{
@@ -153,19 +78,7 @@ Package=<4>
###############################################################################
-Project: "GL4JavaJauGljJNI"=.\GL4JavaJauGljJNI\GL4JavaJauGljJNI.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "GL4JavaJauGljJNI12"=.\GL4JavaJauGljJNI12\GL4JavaJauGljJNI12.dsp - Package Owner=<4>
+Project: "invokejvm"=.\invokejvm\invokejvm.dsp - Package Owner=<4>
Package=<5>
{{{
@@ -177,33 +90,6 @@ Package=<4>
###############################################################################
-Project: "GL4JavaJauGljJNI13"=.\GL4JavaJauGljJNI13\GL4JavaJauGljJNI13.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "GL4JavaMSJDirect"=.\GL4JavaMSJDirect\GL4JavaMSJDirect.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name GL4JavaJauGljJNI
- End Project Dependency
-}}}
-
-###############################################################################
-
Global:
Package=<5>
diff --git a/demos/MiscDemos/gears.java b/demos/MiscDemos/gears.java
index 8775c6e..3626a6b 100644
--- a/demos/MiscDemos/gears.java
+++ b/demos/MiscDemos/gears.java
@@ -52,6 +52,9 @@ public class gears extends SimpleGLAnimApplet1
String gluLib = null;
boolean perftest=false;
+ GLContext.gljNativeDebug = true;
+ GLContext.gljClassDebug = true;
+
while(args.length>i)
{
if(args[i].equals("-perftest"))
diff --git a/demos/MiscDemos/morph3d.java b/demos/MiscDemos/morph3d.java
index 6669163..37a9663 100755
--- a/demos/MiscDemos/morph3d.java
+++ b/demos/MiscDemos/morph3d.java
@@ -169,6 +169,11 @@ public class morph3d extends SimpleGLAnimApplet1
boolean isAnApplet = true;
+ public morph3d()
+ {
+ super();
+ }
+
public void init()
{
super.init();
diff --git a/gl4java/GLCapabilities.java b/gl4java/GLCapabilities.java
index f3beb79..b65ba01 100755
--- a/gl4java/GLCapabilities.java
+++ b/gl4java/GLCapabilities.java
@@ -284,7 +284,6 @@ public class GLCapabilities
public long getNativeVisualID()
{ return nativeVisualID ; }
-
public String toString()
{
return "GLCapabilities ["+
diff --git a/gl4java/GLContext.java.skel b/gl4java/GLContext.java.skel
index 69a63a5..a8fc53d 100644
--- a/gl4java/GLContext.java.skel
+++ b/gl4java/GLContext.java.skel
@@ -64,15 +64,9 @@ import java.lang.reflect.*;
* <pre>
The default native library's are:
<p>
- GLContext: GL4JavaJauGljJNI (jdk ==1.1),
- GL4JavaJauGljJNI12 (jdk ==1.2),
- GL4JavaJauGljJNI13 (jdk >=1.3)
-
- GLFuncJauJNI: GL4JavaJauGLJNI (jdk ==1.1),
- GL4JavaJauGLJNI12 (jdk >=1.2)
-
- GLUFuncJauJNI: GL4JavaJauGLUJNI (jdk ==1.1),
- GL4JavaJauGLUJNI12 (jdk >=1.2)
+ GL4JavaJauGljJNI (jdk ==1.1),
+ GL4JavaJauGljJNI12 (jdk ==1.2),
+ GL4JavaJauGljJNI13 (jdk >=1.3)
<p>
To check wich version and vendors are currently used,
just call while a GLContext is created :
@@ -183,16 +177,16 @@ public class GLContext extends Object
protected static boolean libsLoaded = false;
/**
- * The default GLContext native library for Windows 95/NT && MS-JVM
+ * The default extra native library for Windows 95/NT && MS-JVM
*
*/
- public static final String defGljMSWinLib = "GL4JavaGljMSJDirect" ;
+ public final static String defGljMSWinLib = "GL4JavaGljMSJDirect" ;
/**
- * The default GLContext native library for all
+ * The default GLContext/GLFunc/GLUFunc native library for all
*
*/
- public static final String defGljLib = "GL4JavaJauGljJNI" ;
+ public final static String defGljLib = "GL4JavaJauGljJNI" ;
/**
* The default GLFunc implementation
@@ -201,21 +195,51 @@ public class GLContext extends Object
public static final String defGLFuncClass = "GLFuncJauJNI" ;
/**
- * The default GLFunc native library for all
- */
- public static final String defGLFuncLib = "GL4JavaJauGLJNI" ;
-
- /**
* The default GLUFunc implementation
*
*/
public static final String defGLUFuncClass = "GLUFuncJauJNI" ;
/**
- * The default GLUFunc native library for all
+ * The default native GL library ... for X11
+ */
+ public final static String defNativeGLLibX11 = "libGL.so";
+
+ /**
+ * The default native GL library ... for MacOS9
+ */
+ public final static String defNativeGLLibMacOS9 = "\\pOpenGLLibrary";
+
+ /**
+ * The default native GL library ... for MacOSX
+ */
+ public final static String defNativeGLLibMacOSX = "libGL.so";
+
+ /**
+ * The default native GL library ... for Win32
+ */
+ public final static String defNativeGLLibWin32 = "OPENGL32.DLL";
+
+
+ /**
+ * The default native GLU library ... for X11
*/
- public static final String defGLUFuncLib = "GL4JavaJauGLUJNI" ;
+ public final static String defNativeGLULibX11 = "libGLU.so";
+ /**
+ * The default native GLU library ... for MacOS9
+ */
+ public final static String defNativeGLULibMacOS9 = "\\pOpenGLULibrary";
+
+ /**
+ * The default native GLU library ... for MacOSX
+ */
+ public final static String defNativeGLULibMacOSX = "libGLU.so";
+
+ /**
+ * The default native GLU library ... for Win32
+ */
+ public final static String defNativeGLULibWin32 = "GLU32.DLL";
/**
* the version of this java-class
@@ -224,7 +248,7 @@ public class GLContext extends Object
*
* Each <Value> is dezimal !
*/
- public static final String version = __SED_CLASS_VERSION__ ;
+ public final static String version = __SED_CLASS_VERSION__ ;
/**
* Flag's to enable/disable verbose Information.
@@ -374,11 +398,12 @@ public class GLContext extends Object
*
* Ok - lets give one to the Max :-)
*/
- public static final int
+ public final static int
OsWindoof = -1,
OsUnknown = 0,
OsX11 = 1,
- OsMac = 2; // for Gerard Ziemski's port
+ OsMac9 = 2, // for Gerard Ziemski's port
+ OsMacX = 3; // for Gerard Ziemski's port
private static int osType=OsUnknown;
@@ -392,8 +417,7 @@ public class GLContext extends Object
private static int jvmVersionMinor = 1; // min. defaults
private static String osName = null;
- private static String jniEXTsuff_gl_glu = "";
- private static String jniEXTsuff_glj = "";
+ private static String jniEXTsuff = "";
/**
* Get the native GL Context !
@@ -402,7 +426,7 @@ public class GLContext extends Object
*/
public final long getNativeGLContext() { return glContext; }
- public static final int getNativeGLContextNumber()
+ public final static int getNativeGLContextNumber()
{ return glContextNumber; }
/**
@@ -428,7 +452,8 @@ public class GLContext extends Object
* @see gl4java.GLContext#OsWindoof
* @see gl4java.GLContext#OsUnknown
* @see gl4java.GLContext#OsX11
- * @see gl4java.GLContext#OsMac
+ * @see gl4java.GLContext#OsMac9
+ * @see gl4java.GLContext#OsMacX
*/
public static int getNativeOSType() { return osType; }
@@ -512,8 +537,9 @@ public class GLContext extends Object
/**
* Support of loading the native library seperatly.
*
- * Link with the native OpenGL library. If we cannot link, an exception
- * is thrown.
+ * Link with the default native OpenGL library.
+ * If we cannot link, an exception is thrown.
+ *
* The name of the library is named e.g.: "GL4JavaJauGljJNI" at the
* Java level, or "libGL4JavaJauGljJNI.so" at the solaris level,
* or "GL4JavaJauGljJNI.dll" at the win32 level :-).
@@ -529,28 +555,88 @@ public class GLContext extends Object
}
* </pre>
*
- * @param gljLibName The name of the GLContex native library.
+ * @param gljLibName The name of the GLContex/GLFunc/GLUFunc
+ * native library.
* If gljLibName==null, the default library will be used !
*
- * @param glLibName The name of the GLFunc native library.
- * If glLibName==null, the default library will be used !
+ * @param glLibName deprecated
*
- * @param gluLibName The name of the GLUFunc native library.
- * If gluLibName==null, the default library will be used !
+ * @param gluLibName deprecated
*
* @return boolean, true if succesfull !
*
* @see gl4java.GLContext#defGljLib
*
- * @see gl4java.GLContext#defGLFuncLib
- *
- * @see gl4java.GLContext#defGLUFuncLib
+ * @deprecated The arguments glLibName and gluLibName are obsolete,
+ * because all glj/gl/glu stuff resides within
+ * the gljLib !
+ * Now you can use doLoadNativeLibraries !
*/
- public static boolean loadNativeLibraries ( String gljLibName,
+ public final static boolean loadNativeLibraries ( String gljLibName,
String glLibName,
String gluLibName
)
{
+ return doLoadNativeLibraries(gljLibName, null, null);
+ }
+
+ /**
+ * Support of loading the native library seperatly.
+ *
+ * Link with the given OpenGL library.
+ * If we cannot link, an exception is thrown.
+ *
+ * You can also specify the OpenGL and GLU library by
+ * the environment variables:
+ * <pre>
+ GLTOOL_USE_GLLIB - OpenGL library name
+ GLTOOL_USE_GLULIB - GLU library name
+ * </pre>
+ * these environment variables does _always_ overrides
+ * any given ones at this point !!
+ *
+ * The name of the library is named e.g.: "GL4JavaJauGljJNI" at the
+ * Java level, or "libGL4JavaJauGljJNI.so" at the solaris level,
+ * or "GL4JavaJauGljJNI.dll" at the win32 level :-).
+ *
+ * <p>
+ *
+ * The user must call loadNativeLibrary !
+ * E.g. he can add the default loader like this:
+ * <pre>
+ static {
+ if(GLContext.doLoadNativeLibraries(null, null, null)==false)
+ System.out.println("could not load def. native libs.");
+ }
+ * </pre>
+ *
+ * @param gljLibName The name of the GLContex/GLFunc/GLUFunc
+ * native library.
+ * If gljLibName==null, the default library will be used !
+ *
+ * @param nativeGLLibName The name of the native GL library.
+ * If nativeGLLibName==null, the default library will be used !
+ *
+ * @param nativeGLULibName The name of the native GLU library.
+ * If nativeGLULibName==null, the default library will be used !
+ *
+ * @return boolean, true if succesfull !
+ *
+ * @see gl4java.GLContext#defGljLib
+ * @see gl4java.GLContext#defNativeGLLibX11
+ * @see gl4java.GLContext#defNativeGLLibMacOS9
+ * @see gl4java.GLContext#defNativeGLLibMacOSX
+ * @see gl4java.GLContext#defNativeGLLibWin32
+ * @see gl4java.GLContext#defNativeGLULibX11
+ * @see gl4java.GLContext#defNativeGLULibMacOS9
+ * @see gl4java.GLContext#defNativeGLULibMacOSX
+ * @see gl4java.GLContext#defNativeGLULibWin32
+ */
+ public final static boolean doLoadNativeLibraries ( String gljLibName,
+ String nativeGLLibName,
+ String nativeGLULibName
+ )
+ {
if(libsLoaded) return true;
if(gljClassDebug)
@@ -607,8 +693,10 @@ public class GLContext extends Object
osName = System.getProperty( "os.name" );
if( osName.startsWith( "Wind" ) )
osType = OsWindoof;
+ else if( osName.startsWith( "Mac OS X" ) )
+ osType = OsMacX;
else if( osName.startsWith( "Mac OS" ) )
- osType = OsMac;
+ osType = OsMac9;
else /* oops - lets guess unix/x11 :-) */
osType = OsX11;
@@ -616,8 +704,7 @@ public class GLContext extends Object
( jvmVersionMajor==1 && jvmVersionMinor>=4 )
)
{
- jniEXTsuff_gl_glu = "12";
- jniEXTsuff_glj = "13";
+ jniEXTsuff = "13";
}
else
@@ -626,50 +713,63 @@ public class GLContext extends Object
&& !isIBMJvm && !isMicrosoftJvm
)
{
- jniEXTsuff_gl_glu = "12";
- jniEXTsuff_glj = "13";
+ jniEXTsuff = "13";
}
else
if( jvmVersionMajor==1 && jvmVersionMinor>=2 )
{
- jniEXTsuff_gl_glu = "12";
- jniEXTsuff_glj = "12";
+ jniEXTsuff = "12";
}
else
{
- jniEXTsuff_gl_glu = "";
- jniEXTsuff_glj = "";
+ jniEXTsuff = "";
}
if(gljLibName==null)
- gljLibName = defGljLib+jniEXTsuff_glj;
- if(glLibName==null)
- glLibName = defGLFuncLib+jniEXTsuff_gl_glu;
- if(gluLibName==null)
- gluLibName = defGLUFuncLib+jniEXTsuff_gl_glu;
+ gljLibName = defGljLib+jniEXTsuff;
+
+ if(nativeGLLibName==null)
+ {
+ if ( osType==OsWindoof )
+ nativeGLLibName = defNativeGLLibWin32;
+ else if ( osType==OsMac9 )
+ nativeGLLibName = defNativeGLLibMacOS9;
+ else if ( osType==OsMacX )
+ nativeGLLibName = defNativeGLLibMacOSX;
+ else
+ nativeGLLibName = defNativeGLLibX11;
+ }
+
+ if(nativeGLULibName==null)
+ {
+ if ( osType==OsWindoof )
+ nativeGLULibName = defNativeGLULibWin32;
+ else if ( osType==OsMac9 )
+ nativeGLULibName = defNativeGLULibMacOS9;
+ else if ( osType==OsMacX )
+ nativeGLULibName = defNativeGLULibMacOSX;
+ else
+ nativeGLULibName = defNativeGLULibX11;
+ }
if ( (osType==OsWindoof) && (isMicrosoftJvm) )
{
// JDirect loads the GL libraries automatically,
// so we don't have to.
- libNames = new String[4];
+ libNames = new String[2];
libNames[0]= gljLibName;
- libNames[1]= glLibName;
- libNames[2]= gluLibName;
- libNames[3]= defGljMSWinLib;
+ libNames[1]= defGljMSWinLib;
useMSJDirect = true;
} else {
/* For MAC, Win32+SunJVM, Unices ...
*/
- libNames = new String[3];
+ libNames = new String[1];
libNames[0]= gljLibName;
- libNames[1]= glLibName;
- libNames[2]= gluLibName;
useMSJDirect = false;
}
@@ -732,9 +832,28 @@ public class GLContext extends Object
}
if(libNumber==libNames.length)
{
- libsLoaded=true;
+ /**
+ * load the GL/GLU libs natively first, so
+ * the OS can use the dynamic loader to
+ * solve the symbol names ..
+ */
+ if(gljClassDebug)
+ System.out.println("fetching GL/GLU functions ...");
+ if(gljFetchGLFunctions
+ (nativeGLLibName, nativeGLULibName, true)
+ )
+ {
+ System.out.println("fetched GL/GLU functions succesfully !");
+ libsLoaded=true;
+ } else {
+ System.out.println("GL4Java-ERROR: can't fetch GL/GLU functions !");
+ }
+
}
+ if(!libsLoaded)
+ System.exit(1);
+
return libsLoaded;
}
@@ -745,9 +864,9 @@ public class GLContext extends Object
*
* @param args, a list of args,
*
+ * -GLLib <OpenGL libname>
+ * -GLULib <GLU libname>
* -gljlib <glj-libname> gl4java-glj-lib native library
- * -gllib <gl-libname> gl4java-gl-lib native library
- * -glulib <glu-libname> gl4java-glu-lib native library
* -glclass <gl-class> gl4java-gl-class java GLFunc implementation
* -gluclass <glu-class> gl4java-glu-class java GLUFunc implementation
* -info creates a GLContext and prints all avaiable information of GL/GLU and GL4Java
@@ -757,9 +876,9 @@ public class GLContext extends Object
*/
public static void main( String args[] )
{
+ String nativeGLLib = null;
+ String nativeGLULib = null;
String gljLibName = null;
- String glLibName = null;
- String gluLibName = null;
String glName = defGLFuncClass;
String gluName = defGLUFuncClass;
boolean info=false;
@@ -771,11 +890,11 @@ public class GLContext extends Object
if(args.length==0)
{
System.out.println("usage: java gl4java.GLContext <options>, where options can be: ");
- System.out.println(" -gljlib <glj-libname> \t choose a custom the gl4java-glj-lib native library (default: GL4JavaJauGljJNI)");
- System.out.println(" -gllib <gl-libname> \t choose a custom the gl4java-gl-lib native library (default: GL4JavaJauGLJNI)");
- System.out.println(" -glulib <glu-libname> \t choose a custom the gl4java-glu-lib native library (default: GL4JavaJauGLUJNI");
- System.out.println(" -glclass <gl-class> \t choose a custom the gl4java-gl-class java GLFunc implementation (default: GLFuncJauJNI)");
- System.out.println(" -gluclass <glu-class> \t choose a custom the gl4java-glu-class java GLUFunc implementation (default: GLUFuncJauJNI)");
+ System.out.println(" -GLLib <OpenGL Libname> \t choose a custom OpenGL native library (default: libGL, or OPENGL32, ..)");
+ System.out.println(" -GLULib <GLU Libname> \t choose a custom GLU native library (default: libGLU, or GLU32, ..)");
+ System.out.println(" -gljlib <glj-libname> \t choose a custom gl4java-glj-lib native library (default: GL4JavaJauGljJNI)");
+ System.out.println(" -glclass <gl-class> \t choose a custom gl4java-gl-class java GLFunc implementation (default: GLFuncJauJNI)");
+ System.out.println(" -gluclass <glu-class> \t choose a custom gl4java-glu-class java GLUFunc implementation (default: GLUFuncJauJNI)");
System.out.println(" -info \t creates a GLContext and prints all avaiable information of GL/GLU and GL4Java");
System.out.println(" -infotxt \t like -info, but exits straight after -info !");
System.out.println(" -noFactory \t creates a GLContext without the new GLDrawableFactory API");
@@ -784,12 +903,12 @@ public class GLContext extends Object
while(args.length>i)
{
- if(args[i].equals("-gljlib")) {
+ if(args[i].equals("-GLLib")) {
+ if(args.length>++i) nativeGLLib=args[i];
+ } else if(args[i].equals("-GLULib")) {
+ if(args.length>++i) nativeGLULib=args[i];
+ } else if(args[i].equals("-gljlib")) {
if(args.length>++i) gljLibName=args[i];
- } else if(args[i].equals("-gllib")) {
- if(args.length>++i) glLibName=args[i];
- } else if(args[i].equals("-glulib")) {
- if(args.length>++i) gluLibName=args[i];
} else if(args[i].equals("-glclass")) {
if(args.length>++i) glName=args[i];
} else if(args[i].equals("-gluclass")) {
@@ -814,7 +933,10 @@ public class GLContext extends Object
GLFunc gl = null;
GLUFunc glu = null;
- if(GLContext.loadNativeLibraries(gljLibName, glLibName, gluLibName))
+ if(GLContext.doLoadNativeLibraries(gljLibName,
+ nativeGLLib, nativeGLULib
+ )
+ )
System.out.println("native Libraries loaded succesfull");
else {
System.out.println("native library NOT loaded complete");
@@ -1379,7 +1501,7 @@ public class GLContext extends Object
*
* @return the created offscreen context
*/
- public static final GLContext createOffScreenCtx
+ public final static GLContext createOffScreenCtx
( Component comp, GLFunc glf, GLUFunc gluf,
boolean _stereoView,
boolean _rgba,
@@ -1421,7 +1543,7 @@ public class GLContext extends Object
*
* @return the created offscreen context
*/
- public static final GLContext createOffScreenCtx
+ public final static GLContext createOffScreenCtx
( Component comp, GLFunc glf, GLUFunc gluf,
boolean _stereoView,
boolean _rgba,
@@ -1492,7 +1614,7 @@ public class GLContext extends Object
*
* @see gl4java.GLContext#defGLFuncClass
*/
- public static final GLFunc createGLFunc(String vendorClass)
+ public final static GLFunc createGLFunc(String vendorClass)
{
String access_name = "gl4java.";
GLFunc gl = null;
@@ -1537,7 +1659,7 @@ public class GLContext extends Object
*
* @see gl4java.GLContext#defGLUFuncClass
*/
- public static final GLUFunc createGLUFunc(String vendorClass)
+ public final static GLUFunc createGLUFunc(String vendorClass)
{
String access_name = "gl4java.";
GLUFunc glu = null;
@@ -1707,7 +1829,7 @@ public class GLContext extends Object
pData = win_access.getWinHandle(_compHeavy, g);
windowHandle = pData;
}
- else if(osType==OsMac && !useJAWT())
+ else if((osType==OsMac9 || osType==OsMacX) && !useJAWT())
{
win_access = (WinHandleAccess)
Class.forName(
@@ -1974,12 +2096,12 @@ public class GLContext extends Object
* X11-connection to our AIX host ;-))
* So a call to this function is not needed !
*/
- public static final boolean gljCheckGLTypes()
+ public final static boolean gljCheckGLTypes()
{
return gljCheckGLTypesNative();
}
- private static final native boolean gljCheckGLTypesNative();
+ private final static native boolean gljCheckGLTypesNative();
public final boolean gljCheckGL()
{
@@ -2178,7 +2300,7 @@ public class GLContext extends Object
return gljMakeCurrent();
}
- private static final native boolean gljMakeCurrentNative(
+ private final static native boolean gljMakeCurrentNative(
Component canvas,
long disp,
long thisWin,
@@ -2191,7 +2313,7 @@ public class GLContext extends Object
*
* @return int
*/
- public static final native int gljGetCurrentContext();
+ public final static native int gljGetCurrentContext();
/**
*
@@ -2301,7 +2423,7 @@ public class GLContext extends Object
return result;
}
- private static final native boolean gljFreeNative( Component canvas,
+ private final static native boolean gljFreeNative( Component canvas,
long disp,
long thisWin,
long glContext );
@@ -2319,7 +2441,7 @@ public class GLContext extends Object
glCaps.getDoubleBuffered());
}
- private static final native boolean gljSwapNative( long disp,
+ private final static native boolean gljSwapNative( long disp,
long thisWin,
long glContext,
boolean doubleBuffer );
@@ -2359,6 +2481,18 @@ public class GLContext extends Object
}
/**
+ * This functions fetches/dispatches the GL/GLU functions,
+ * which must be allready loaded via the loadNativeLibraries
+ * function !
+ *
+ * @see gl4java.GLContext#loadNativeLibraries
+ */
+ public final static native boolean gljFetchOSGLFunctions
+ ( String gllibname, String glulibname, boolean force );
+ public final static native boolean gljFetchGLFunctions
+ ( String gllibname, String glulibname, boolean force );
+
+ /**
* This functions checks the existence of
* the GL functions !
*/
@@ -2528,9 +2662,9 @@ public class GLContext extends Object
if(h==null) break;
if(gljTestGLProc (h, verbose))
- tmp= "OK : "+h+"\n";
+ tmp= "#"+i+" OK : "+h+"\n";
else
- tmp= "NOPE: "+h+"\n";
+ tmp= "#"+i+" NOPE : "+h+"\n";
info3 += tmp;
}
diff --git a/gl4java/GLEnum.java b/gl4java/GLEnum.java
index a096e56..1acec60 100644
--- a/gl4java/GLEnum.java
+++ b/gl4java/GLEnum.java
@@ -25,7 +25,7 @@ public interface GLEnum
public static final boolean GL_TRUE = true;
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-enum-auto.orig.h . . .
* Destination-Class: gl4java_GLEnum !
@@ -1340,8 +1340,8 @@ public interface GLEnum
public static final int GL_ZERO = 0x0;
public static final int GL_ZOOM_X = 0x0D16;
public static final int GL_ZOOM_Y = 0x0D17;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/GLFunc.java b/gl4java/GLFunc.java
index 896f7ca..b89c863 100644
--- a/gl4java/GLFunc.java
+++ b/gl4java/GLFunc.java
@@ -31,7 +31,7 @@ public String getClassVersion ( ) ;
public static final String[] GL_PROC_NAMES = {
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -474,11 +474,11 @@ public static final String[] GL_PROC_NAMES = {
"glMultiTexCoord4ivARB",
"glMultiTexCoord4sARB",
"glMultiTexCoord4svARB",
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
+/* C2J Parser Version 2.0: Java program parsed successfully. */
null
};
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -7431,8 +7431,8 @@ public static final String[] GL_PROC_NAMES = {
short[] v
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/GLFuncJauJNI.java b/gl4java/GLFuncJauJNI.java
index b8ee949..dd7854a 100644
--- a/gl4java/GLFuncJauJNI.java
+++ b/gl4java/GLFuncJauJNI.java
@@ -32,12 +32,12 @@ public final String getClassVendor ( )
{ return "Jausoft - Sven Goethel Software Development"; }
public final String getClassVersion ( )
-{ return "2.4.1.0"; }
+{ return "2.7.0.0"; }
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -6990,8 +6990,8 @@ public final String getClassVersion ( )
short[] v
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/GLFuncJauJNInf.java b/gl4java/GLFuncJauJNInf.java
index 68a5b8d..30475b6 100644
--- a/gl4java/GLFuncJauJNInf.java
+++ b/gl4java/GLFuncJauJNInf.java
@@ -1,6997 +1,6997 @@
-/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
-
- DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
-*/
-
-
-/**
- * @(#) GLFuncJauJNInf.java
- */
-
-
-package gl4java;
-
-/**
- * The default implementation class for OpenGL native function mapping
- *
- * @version 2.00, 21. April 1999
- * @author Sven Goethel
- */
-public class GLFuncJauJNInf
- implements GLFunc
-{
-
-
-
-public native String glGetString ( int name ) ;
-
-public native String getNativeVendor ( ) ;
-public native String getNativeVersion ( ) ;
-
-public String getClassVendor ( )
-{ return "Jausoft - Sven Goethel Software Development"; }
-
-public String getClassVersion ( )
-{ return "2.4.1.0"; }
-
-
-
-/**
- * C2J Parser Version 1.5 Beta
- * Jausoft - Sven Goethel Software Development
- * Reading from file: gl-proto-auto.orig.h . . .
- * Destination-Class: gl4java_GLFuncJauJNInf !
- */
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClearIndex ( GLfloat c ) ;
- * </pre>
- */
- public native void glClearIndex (
- float c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
- * </pre>
- */
- public native void glClearColor (
- float red,
- float green,
- float blue,
- float alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClear ( GLbitfield mask ) ;
- * </pre>
- */
- public native void glClear (
- int mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexMask ( GLuint mask ) ;
- * </pre>
- */
- public native void glIndexMask (
- int mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
- * </pre>
- */
- public native void glColorMask (
- boolean red,
- boolean green,
- boolean blue,
- boolean alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
- * </pre>
- */
- public native void glAlphaFunc (
- int func,
- float ref
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
- * </pre>
- */
- public native void glBlendFunc (
- int sfactor,
- int dfactor
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLogicOp ( GLenum opcode ) ;
- * </pre>
- */
- public native void glLogicOp (
- int opcode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCullFace ( GLenum mode ) ;
- * </pre>
- */
- public native void glCullFace (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFrontFace ( GLenum mode ) ;
- * </pre>
- */
- public native void glFrontFace (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPointSize ( GLfloat size ) ;
- * </pre>
- */
- public native void glPointSize (
- float size
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLineWidth ( GLfloat width ) ;
- * </pre>
- */
- public native void glLineWidth (
- float width
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLineStipple ( GLint factor , GLushort pattern ) ;
- * </pre>
- */
- public native void glLineStipple (
- int factor,
- short pattern
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPolygonMode ( GLenum face , GLenum mode ) ;
- * </pre>
- */
- public native void glPolygonMode (
- int face,
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
- * </pre>
- */
- public native void glPolygonOffset (
- float factor,
- float units
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPolygonStipple ( const GLubyte * mask ) ;
- * </pre>
- */
- public native void glPolygonStipple (
- byte[] mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetPolygonStipple ( GLubyte * mask ) ;
- * </pre>
- */
- public native void glGetPolygonStipple (
- byte[] mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEdgeFlag ( GLboolean flag ) ;
- * </pre>
- */
- public native void glEdgeFlag (
- boolean flag
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEdgeFlagv ( const GLboolean * flag ) ;
- * </pre>
- */
- public native void glEdgeFlagv (
- boolean[] flag
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
- * </pre>
- */
- public native void glScissor (
- int x,
- int y,
- int width,
- int height
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
- * </pre>
- */
- public native void glClipPlane (
- int plane,
- double[] equation
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
- * </pre>
- */
- public native void glGetClipPlane (
- int plane,
- double[] equation
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDrawBuffer ( GLenum mode ) ;
- * </pre>
- */
- public native void glDrawBuffer (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glReadBuffer ( GLenum mode ) ;
- * </pre>
- */
- public native void glReadBuffer (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEnable ( GLenum cap ) ;
- * </pre>
- */
- public native void glEnable (
- int cap
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDisable ( GLenum cap ) ;
- * </pre>
- */
- public native void glDisable (
- int cap
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLboolean glIsEnabled ( GLenum cap ) ;
- * </pre>
- */
- public native boolean glIsEnabled (
- int cap
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEnableClientState ( GLenum cap ) ;
- * </pre>
- */
- public native void glEnableClientState (
- int cap
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDisableClientState ( GLenum cap ) ;
- * </pre>
- */
- public native void glDisableClientState (
- int cap
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
- * </pre>
- */
- public native void glGetBooleanv (
- int pname,
- boolean[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
- * </pre>
- */
- public native void glGetDoublev (
- int pname,
- double[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetFloatv (
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetIntegerv (
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPushAttrib ( GLbitfield mask ) ;
- * </pre>
- */
- public native void glPushAttrib (
- int mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPopAttrib ( void ) ;
- * </pre>
- */
- public native void glPopAttrib (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPushClientAttrib ( GLbitfield mask ) ;
- * </pre>
- */
- public native void glPushClientAttrib (
- int mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPopClientAttrib ( void ) ;
- * </pre>
- */
- public native void glPopClientAttrib (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint glRenderMode ( GLenum mode ) ;
- * </pre>
- */
- public native int glRenderMode (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLenum glGetError ( void ) ;
- * </pre>
- */
- public native int glGetError (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFinish ( void ) ;
- * </pre>
- */
- public native void glFinish (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFlush ( void ) ;
- * </pre>
- */
- public native void glFlush (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glHint ( GLenum target , GLenum mode ) ;
- * </pre>
- */
- public native void glHint (
- int target,
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClearDepth ( GLclampd depth ) ;
- * </pre>
- */
- public native void glClearDepth (
- double depth
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDepthFunc ( GLenum func ) ;
- * </pre>
- */
- public native void glDepthFunc (
- int func
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDepthMask ( GLboolean flag ) ;
- * </pre>
- */
- public native void glDepthMask (
- boolean flag
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
- * </pre>
- */
- public native void glDepthRange (
- double near_val,
- double far_val
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
- * </pre>
- */
- public native void glClearAccum (
- float red,
- float green,
- float blue,
- float alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glAccum ( GLenum op , GLfloat value ) ;
- * </pre>
- */
- public native void glAccum (
- int op,
- float value
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMatrixMode ( GLenum mode ) ;
- * </pre>
- */
- public native void glMatrixMode (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
- * </pre>
- */
- public native void glOrtho (
- double left,
- double right,
- double bottom,
- double top,
- double near_val,
- double far_val
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
- * </pre>
- */
- public native void glFrustum (
- double left,
- double right,
- double bottom,
- double top,
- double near_val,
- double far_val
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
- * </pre>
- */
- public native void glViewport (
- int x,
- int y,
- int width,
- int height
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPushMatrix ( void ) ;
- * </pre>
- */
- public native void glPushMatrix (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPopMatrix ( void ) ;
- * </pre>
- */
- public native void glPopMatrix (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLoadIdentity ( void ) ;
- * </pre>
- */
- public native void glLoadIdentity (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLoadMatrixd ( const GLdouble * m ) ;
- * </pre>
- */
- public native void glLoadMatrixd (
- double[] m
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLoadMatrixf ( const GLfloat * m ) ;
- * </pre>
- */
- public native void glLoadMatrixf (
- float[] m
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultMatrixd ( const GLdouble * m ) ;
- * </pre>
- */
- public native void glMultMatrixd (
- double[] m
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultMatrixf ( const GLfloat * m ) ;
- * </pre>
- */
- public native void glMultMatrixf (
- float[] m
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- public native void glRotated (
- double angle,
- double x,
- double y,
- double z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
- * </pre>
- */
- public native void glRotatef (
- float angle,
- float x,
- float y,
- float z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- public native void glScaled (
- double x,
- double y,
- double z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
- * </pre>
- */
- public native void glScalef (
- float x,
- float y,
- float z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- public native void glTranslated (
- double x,
- double y,
- double z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
- * </pre>
- */
- public native void glTranslatef (
- float x,
- float y,
- float z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLboolean glIsList ( GLuint list ) ;
- * </pre>
- */
- public native boolean glIsList (
- int list
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDeleteLists ( GLuint list , GLsizei range ) ;
- * </pre>
- */
- public native void glDeleteLists (
- int list,
- int range
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLuint glGenLists ( GLsizei range ) ;
- * </pre>
- */
- public native int glGenLists (
- int range
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNewList ( GLuint list , GLenum mode ) ;
- * </pre>
- */
- public native void glNewList (
- int list,
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEndList ( void ) ;
- * </pre>
- */
- public native void glEndList (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCallList ( GLuint list ) ;
- * </pre>
- */
- public native void glCallList (
- int list
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
- * </pre>
- */
- public native void glCallLists (
- int n,
- int type,
- byte[] lists
- ) ;
- public native void glCallLists (
- int n,
- int type,
- short[] lists
- ) ;
- public native void glCallLists (
- int n,
- int type,
- int[] lists
- ) ;
- public native void glCallLists (
- int n,
- int type,
- float[] lists
- ) ;
- public native void glCallLists (
- int n,
- int type,
- double[] lists
- ) ;
- public native void glCallLists (
- int n,
- int type,
- boolean[] lists
- ) ;
- public native void glCallLists (
- int n,
- int type,
- long[] lists
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glListBase ( GLuint base ) ;
- * </pre>
- */
- public native void glListBase (
- int base
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBegin ( GLenum mode ) ;
- * </pre>
- */
- public native void glBegin (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEnd ( void ) ;
- * </pre>
- */
- public native void glEnd (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2d ( GLdouble x , GLdouble y ) ;
- * </pre>
- */
- public native void glVertex2d (
- double x,
- double y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2f ( GLfloat x , GLfloat y ) ;
- * </pre>
- */
- public native void glVertex2f (
- float x,
- float y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2i ( GLint x , GLint y ) ;
- * </pre>
- */
- public native void glVertex2i (
- int x,
- int y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2s ( GLshort x , GLshort y ) ;
- * </pre>
- */
- public native void glVertex2s (
- short x,
- short y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- public native void glVertex3d (
- double x,
- double y,
- double z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
- * </pre>
- */
- public native void glVertex3f (
- float x,
- float y,
- float z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
- * </pre>
- */
- public native void glVertex3i (
- int x,
- int y,
- int z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
- * </pre>
- */
- public native void glVertex3s (
- short x,
- short y,
- short z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
- * </pre>
- */
- public native void glVertex4d (
- double x,
- double y,
- double z,
- double w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
- * </pre>
- */
- public native void glVertex4f (
- float x,
- float y,
- float z,
- float w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
- * </pre>
- */
- public native void glVertex4i (
- int x,
- int y,
- int z,
- int w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
- * </pre>
- */
- public native void glVertex4s (
- short x,
- short y,
- short z,
- short w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glVertex2dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glVertex2fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glVertex2iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex2sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glVertex2sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glVertex3dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glVertex3fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glVertex3iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex3sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glVertex3sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glVertex4dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glVertex4fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glVertex4iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertex4sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glVertex4sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
- * </pre>
- */
- public native void glNormal3b (
- byte nx,
- byte ny,
- byte nz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
- * </pre>
- */
- public native void glNormal3d (
- double nx,
- double ny,
- double nz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
- * </pre>
- */
- public native void glNormal3f (
- float nx,
- float ny,
- float nz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
- * </pre>
- */
- public native void glNormal3i (
- int nx,
- int ny,
- int nz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
- * </pre>
- */
- public native void glNormal3s (
- short nx,
- short ny,
- short nz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3bv ( const GLbyte * v ) ;
- * </pre>
- */
- public native void glNormal3bv (
- byte[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glNormal3dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glNormal3fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glNormal3iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormal3sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glNormal3sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexd ( GLdouble c ) ;
- * </pre>
- */
- public native void glIndexd (
- double c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexf ( GLfloat c ) ;
- * </pre>
- */
- public native void glIndexf (
- float c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexi ( GLint c ) ;
- * </pre>
- */
- public native void glIndexi (
- int c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexs ( GLshort c ) ;
- * </pre>
- */
- public native void glIndexs (
- short c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexub ( GLubyte c ) ;
- * </pre>
- */
- public native void glIndexub (
- byte c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexdv ( const GLdouble * c ) ;
- * </pre>
- */
- public native void glIndexdv (
- double[] c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexfv ( const GLfloat * c ) ;
- * </pre>
- */
- public native void glIndexfv (
- float[] c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexiv ( const GLint * c ) ;
- * </pre>
- */
- public native void glIndexiv (
- int[] c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexsv ( const GLshort * c ) ;
- * </pre>
- */
- public native void glIndexsv (
- short[] c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexubv ( const GLubyte * c ) ;
- * </pre>
- */
- public native void glIndexubv (
- byte[] c
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
- * </pre>
- */
- public native void glColor3b (
- byte red,
- byte green,
- byte blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
- * </pre>
- */
- public native void glColor3d (
- double red,
- double green,
- double blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
- * </pre>
- */
- public native void glColor3f (
- float red,
- float green,
- float blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
- * </pre>
- */
- public native void glColor3i (
- int red,
- int green,
- int blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
- * </pre>
- */
- public native void glColor3s (
- short red,
- short green,
- short blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
- * </pre>
- */
- public native void glColor3ub (
- byte red,
- byte green,
- byte blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
- * </pre>
- */
- public native void glColor3ui (
- int red,
- int green,
- int blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
- * </pre>
- */
- public native void glColor3us (
- short red,
- short green,
- short blue
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
- * </pre>
- */
- public native void glColor4b (
- byte red,
- byte green,
- byte blue,
- byte alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
- * </pre>
- */
- public native void glColor4d (
- double red,
- double green,
- double blue,
- double alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
- * </pre>
- */
- public native void glColor4f (
- float red,
- float green,
- float blue,
- float alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
- * </pre>
- */
- public native void glColor4i (
- int red,
- int green,
- int blue,
- int alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
- * </pre>
- */
- public native void glColor4s (
- short red,
- short green,
- short blue,
- short alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
- * </pre>
- */
- public native void glColor4ub (
- byte red,
- byte green,
- byte blue,
- byte alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
- * </pre>
- */
- public native void glColor4ui (
- int red,
- int green,
- int blue,
- int alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
- * </pre>
- */
- public native void glColor4us (
- short red,
- short green,
- short blue,
- short alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3bv ( const GLbyte * v ) ;
- * </pre>
- */
- public native void glColor3bv (
- byte[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glColor3dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glColor3fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glColor3iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glColor3sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3ubv ( const GLubyte * v ) ;
- * </pre>
- */
- public native void glColor3ubv (
- byte[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3uiv ( const GLuint * v ) ;
- * </pre>
- */
- public native void glColor3uiv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor3usv ( const GLushort * v ) ;
- * </pre>
- */
- public native void glColor3usv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4bv ( const GLbyte * v ) ;
- * </pre>
- */
- public native void glColor4bv (
- byte[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glColor4dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glColor4fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glColor4iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glColor4sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4ubv ( const GLubyte * v ) ;
- * </pre>
- */
- public native void glColor4ubv (
- byte[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4uiv ( const GLuint * v ) ;
- * </pre>
- */
- public native void glColor4uiv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColor4usv ( const GLushort * v ) ;
- * </pre>
- */
- public native void glColor4usv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1d ( GLdouble s ) ;
- * </pre>
- */
- public native void glTexCoord1d (
- double s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1f ( GLfloat s ) ;
- * </pre>
- */
- public native void glTexCoord1f (
- float s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1i ( GLint s ) ;
- * </pre>
- */
- public native void glTexCoord1i (
- int s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1s ( GLshort s ) ;
- * </pre>
- */
- public native void glTexCoord1s (
- short s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
- * </pre>
- */
- public native void glTexCoord2d (
- double s,
- double t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
- * </pre>
- */
- public native void glTexCoord2f (
- float s,
- float t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2i ( GLint s , GLint t ) ;
- * </pre>
- */
- public native void glTexCoord2i (
- int s,
- int t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2s ( GLshort s , GLshort t ) ;
- * </pre>
- */
- public native void glTexCoord2s (
- short s,
- short t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
- * </pre>
- */
- public native void glTexCoord3d (
- double s,
- double t,
- double r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
- * </pre>
- */
- public native void glTexCoord3f (
- float s,
- float t,
- float r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
- * </pre>
- */
- public native void glTexCoord3i (
- int s,
- int t,
- int r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
- * </pre>
- */
- public native void glTexCoord3s (
- short s,
- short t,
- short r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
- * </pre>
- */
- public native void glTexCoord4d (
- double s,
- double t,
- double r,
- double q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
- * </pre>
- */
- public native void glTexCoord4f (
- float s,
- float t,
- float r,
- float q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
- * </pre>
- */
- public native void glTexCoord4i (
- int s,
- int t,
- int r,
- int q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
- * </pre>
- */
- public native void glTexCoord4s (
- short s,
- short t,
- short r,
- short q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glTexCoord1dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glTexCoord1fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glTexCoord1iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord1sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glTexCoord1sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glTexCoord2dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glTexCoord2fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glTexCoord2iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord2sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glTexCoord2sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glTexCoord3dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glTexCoord3fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glTexCoord3iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord3sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glTexCoord3sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glTexCoord4dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glTexCoord4fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glTexCoord4iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoord4sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glTexCoord4sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
- * </pre>
- */
- public native void glRasterPos2d (
- double x,
- double y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
- * </pre>
- */
- public native void glRasterPos2f (
- float x,
- float y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2i ( GLint x , GLint y ) ;
- * </pre>
- */
- public native void glRasterPos2i (
- int x,
- int y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2s ( GLshort x , GLshort y ) ;
- * </pre>
- */
- public native void glRasterPos2s (
- short x,
- short y
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- public native void glRasterPos3d (
- double x,
- double y,
- double z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
- * </pre>
- */
- public native void glRasterPos3f (
- float x,
- float y,
- float z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
- * </pre>
- */
- public native void glRasterPos3i (
- int x,
- int y,
- int z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
- * </pre>
- */
- public native void glRasterPos3s (
- short x,
- short y,
- short z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
- * </pre>
- */
- public native void glRasterPos4d (
- double x,
- double y,
- double z,
- double w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
- * </pre>
- */
- public native void glRasterPos4f (
- float x,
- float y,
- float z,
- float w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
- * </pre>
- */
- public native void glRasterPos4i (
- int x,
- int y,
- int z,
- int w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
- * </pre>
- */
- public native void glRasterPos4s (
- short x,
- short y,
- short z,
- short w
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glRasterPos2dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glRasterPos2fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glRasterPos2iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos2sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glRasterPos2sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glRasterPos3dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glRasterPos3fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glRasterPos3iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos3sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glRasterPos3sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4dv ( const GLdouble * v ) ;
- * </pre>
- */
- public native void glRasterPos4dv (
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4fv ( const GLfloat * v ) ;
- * </pre>
- */
- public native void glRasterPos4fv (
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4iv ( const GLint * v ) ;
- * </pre>
- */
- public native void glRasterPos4iv (
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRasterPos4sv ( const GLshort * v ) ;
- * </pre>
- */
- public native void glRasterPos4sv (
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
- * </pre>
- */
- public native void glRectd (
- double x1,
- double y1,
- double x2,
- double y2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
- * </pre>
- */
- public native void glRectf (
- float x1,
- float y1,
- float x2,
- float y2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
- * </pre>
- */
- public native void glRecti (
- int x1,
- int y1,
- int x2,
- int y2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
- * </pre>
- */
- public native void glRects (
- short x1,
- short y1,
- short x2,
- short y2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
- * </pre>
- */
- public native void glRectdv (
- double[] v1,
- double[] v2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
- * </pre>
- */
- public native void glRectfv (
- float[] v1,
- float[] v2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
- * </pre>
- */
- public native void glRectiv (
- int[] v1,
- int[] v2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
- * </pre>
- */
- public native void glRectsv (
- short[] v1,
- short[] v2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glVertexPointer (
- int size,
- int type,
- int stride,
- byte[] ptr
- ) ;
- public native void glVertexPointer (
- int size,
- int type,
- int stride,
- short[] ptr
- ) ;
- public native void glVertexPointer (
- int size,
- int type,
- int stride,
- int[] ptr
- ) ;
- public native void glVertexPointer (
- int size,
- int type,
- int stride,
- float[] ptr
- ) ;
- public native void glVertexPointer (
- int size,
- int type,
- int stride,
- double[] ptr
- ) ;
- public native void glVertexPointer (
- int size,
- int type,
- int stride,
- boolean[] ptr
- ) ;
- public native void glVertexPointer (
- int size,
- int type,
- int stride,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glNormalPointer (
- int type,
- int stride,
- byte[] ptr
- ) ;
- public native void glNormalPointer (
- int type,
- int stride,
- short[] ptr
- ) ;
- public native void glNormalPointer (
- int type,
- int stride,
- int[] ptr
- ) ;
- public native void glNormalPointer (
- int type,
- int stride,
- float[] ptr
- ) ;
- public native void glNormalPointer (
- int type,
- int stride,
- double[] ptr
- ) ;
- public native void glNormalPointer (
- int type,
- int stride,
- boolean[] ptr
- ) ;
- public native void glNormalPointer (
- int type,
- int stride,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glColorPointer (
- int size,
- int type,
- int stride,
- byte[] ptr
- ) ;
- public native void glColorPointer (
- int size,
- int type,
- int stride,
- short[] ptr
- ) ;
- public native void glColorPointer (
- int size,
- int type,
- int stride,
- int[] ptr
- ) ;
- public native void glColorPointer (
- int size,
- int type,
- int stride,
- float[] ptr
- ) ;
- public native void glColorPointer (
- int size,
- int type,
- int stride,
- double[] ptr
- ) ;
- public native void glColorPointer (
- int size,
- int type,
- int stride,
- boolean[] ptr
- ) ;
- public native void glColorPointer (
- int size,
- int type,
- int stride,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glIndexPointer (
- int type,
- int stride,
- byte[] ptr
- ) ;
- public native void glIndexPointer (
- int type,
- int stride,
- short[] ptr
- ) ;
- public native void glIndexPointer (
- int type,
- int stride,
- int[] ptr
- ) ;
- public native void glIndexPointer (
- int type,
- int stride,
- float[] ptr
- ) ;
- public native void glIndexPointer (
- int type,
- int stride,
- double[] ptr
- ) ;
- public native void glIndexPointer (
- int type,
- int stride,
- boolean[] ptr
- ) ;
- public native void glIndexPointer (
- int type,
- int stride,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glTexCoordPointer (
- int size,
- int type,
- int stride,
- byte[] ptr
- ) ;
- public native void glTexCoordPointer (
- int size,
- int type,
- int stride,
- short[] ptr
- ) ;
- public native void glTexCoordPointer (
- int size,
- int type,
- int stride,
- int[] ptr
- ) ;
- public native void glTexCoordPointer (
- int size,
- int type,
- int stride,
- float[] ptr
- ) ;
- public native void glTexCoordPointer (
- int size,
- int type,
- int stride,
- double[] ptr
- ) ;
- public native void glTexCoordPointer (
- int size,
- int type,
- int stride,
- boolean[] ptr
- ) ;
- public native void glTexCoordPointer (
- int size,
- int type,
- int stride,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glEdgeFlagPointer (
- int stride,
- byte[] ptr
- ) ;
- public native void glEdgeFlagPointer (
- int stride,
- short[] ptr
- ) ;
- public native void glEdgeFlagPointer (
- int stride,
- int[] ptr
- ) ;
- public native void glEdgeFlagPointer (
- int stride,
- float[] ptr
- ) ;
- public native void glEdgeFlagPointer (
- int stride,
- double[] ptr
- ) ;
- public native void glEdgeFlagPointer (
- int stride,
- boolean[] ptr
- ) ;
- public native void glEdgeFlagPointer (
- int stride,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetPointerv ( GLenum pname , void * * params ) ;
- * </pre>
- */
- public native void glGetPointerv (
- int pname,
- byte[][] params
- ) ;
- public native void glGetPointerv (
- int pname,
- short[][] params
- ) ;
- public native void glGetPointerv (
- int pname,
- int[][] params
- ) ;
- public native void glGetPointerv (
- int pname,
- float[][] params
- ) ;
- public native void glGetPointerv (
- int pname,
- double[][] params
- ) ;
- public native void glGetPointerv (
- int pname,
- boolean[][] params
- ) ;
- public native void glGetPointerv (
- int pname,
- long[][] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glArrayElement ( GLint i ) ;
- * </pre>
- */
- public native void glArrayElement (
- int i
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
- * </pre>
- */
- public native void glDrawArrays (
- int mode,
- int first,
- int count
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
- * </pre>
- */
- public native void glDrawElements (
- int mode,
- int count,
- int type,
- byte[] indices
- ) ;
- public native void glDrawElements (
- int mode,
- int count,
- int type,
- short[] indices
- ) ;
- public native void glDrawElements (
- int mode,
- int count,
- int type,
- int[] indices
- ) ;
- public native void glDrawElements (
- int mode,
- int count,
- int type,
- float[] indices
- ) ;
- public native void glDrawElements (
- int mode,
- int count,
- int type,
- double[] indices
- ) ;
- public native void glDrawElements (
- int mode,
- int count,
- int type,
- boolean[] indices
- ) ;
- public native void glDrawElements (
- int mode,
- int count,
- int type,
- long[] indices
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
- * </pre>
- */
- public native void glInterleavedArrays (
- int format,
- int stride,
- byte[] pointer
- ) ;
- public native void glInterleavedArrays (
- int format,
- int stride,
- short[] pointer
- ) ;
- public native void glInterleavedArrays (
- int format,
- int stride,
- int[] pointer
- ) ;
- public native void glInterleavedArrays (
- int format,
- int stride,
- float[] pointer
- ) ;
- public native void glInterleavedArrays (
- int format,
- int stride,
- double[] pointer
- ) ;
- public native void glInterleavedArrays (
- int format,
- int stride,
- boolean[] pointer
- ) ;
- public native void glInterleavedArrays (
- int format,
- int stride,
- long[] pointer
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glShadeModel ( GLenum mode ) ;
- * </pre>
- */
- public native void glShadeModel (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glLightf (
- int light,
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glLighti (
- int light,
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glLightfv (
- int light,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glLightiv (
- int light,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetLightfv (
- int light,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetLightiv (
- int light,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLightModelf ( GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glLightModelf (
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLightModeli ( GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glLightModeli (
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glLightModelfv (
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glLightModeliv (
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glMaterialf (
- int face,
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glMateriali (
- int face,
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glMaterialfv (
- int face,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glMaterialiv (
- int face,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetMaterialfv (
- int face,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetMaterialiv (
- int face,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorMaterial ( GLenum face , GLenum mode ) ;
- * </pre>
- */
- public native void glColorMaterial (
- int face,
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
- * </pre>
- */
- public native void glPixelZoom (
- float xfactor,
- float yfactor
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glPixelStoref (
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelStorei ( GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glPixelStorei (
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glPixelTransferf (
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelTransferi ( GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glPixelTransferi (
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
- * </pre>
- */
- public native void glPixelMapfv (
- int map,
- int mapsize,
- float[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
- * </pre>
- */
- public native void glPixelMapuiv (
- int map,
- int mapsize,
- int[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
- * </pre>
- */
- public native void glPixelMapusv (
- int map,
- int mapsize,
- short[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
- * </pre>
- */
- public native void glGetPixelMapfv (
- int map,
- float[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
- * </pre>
- */
- public native void glGetPixelMapuiv (
- int map,
- int[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
- * </pre>
- */
- public native void glGetPixelMapusv (
- int map,
- short[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
- * </pre>
- */
- public native void glBitmap (
- int width,
- int height,
- float xorig,
- float yorig,
- float xmove,
- float ymove,
- byte[] bitmap
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
- * </pre>
- */
- public native void glReadPixels (
- int x,
- int y,
- int width,
- int height,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glReadPixels (
- int x,
- int y,
- int width,
- int height,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glReadPixels (
- int x,
- int y,
- int width,
- int height,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glReadPixels (
- int x,
- int y,
- int width,
- int height,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glReadPixels (
- int x,
- int y,
- int width,
- int height,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glReadPixels (
- int x,
- int y,
- int width,
- int height,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glReadPixels (
- int x,
- int y,
- int width,
- int height,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glDrawPixels (
- int width,
- int height,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glDrawPixels (
- int width,
- int height,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glDrawPixels (
- int width,
- int height,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glDrawPixels (
- int width,
- int height,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glDrawPixels (
- int width,
- int height,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glDrawPixels (
- int width,
- int height,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glDrawPixels (
- int width,
- int height,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
- * </pre>
- */
- public native void glCopyPixels (
- int x,
- int y,
- int width,
- int height,
- int type
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
- * </pre>
- */
- public native void glStencilFunc (
- int func,
- int ref,
- int mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glStencilMask ( GLuint mask ) ;
- * </pre>
- */
- public native void glStencilMask (
- int mask
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
- * </pre>
- */
- public native void glStencilOp (
- int fail,
- int zfail,
- int zpass
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClearStencil ( GLint s ) ;
- * </pre>
- */
- public native void glClearStencil (
- int s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
- * </pre>
- */
- public native void glTexGend (
- int coord,
- int pname,
- double param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glTexGenf (
- int coord,
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glTexGeni (
- int coord,
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
- * </pre>
- */
- public native void glTexGendv (
- int coord,
- int pname,
- double[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glTexGenfv (
- int coord,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glTexGeniv (
- int coord,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
- * </pre>
- */
- public native void glGetTexGendv (
- int coord,
- int pname,
- double[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetTexGenfv (
- int coord,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetTexGeniv (
- int coord,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glTexEnvf (
- int target,
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glTexEnvi (
- int target,
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glTexEnvfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glTexEnviv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetTexEnvfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetTexEnviv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glTexParameterf (
- int target,
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glTexParameteri (
- int target,
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glTexParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glTexParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetTexParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetTexParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetTexLevelParameterfv (
- int target,
- int level,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetTexLevelParameteriv (
- int target,
- int level,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexImage1D (
- int target,
- int level,
- int internalFormat,
- int width,
- int border,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexImage1D (
- int target,
- int level,
- int internalFormat,
- int width,
- int border,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexImage1D (
- int target,
- int level,
- int internalFormat,
- int width,
- int border,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexImage1D (
- int target,
- int level,
- int internalFormat,
- int width,
- int border,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexImage1D (
- int target,
- int level,
- int internalFormat,
- int width,
- int border,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexImage1D (
- int target,
- int level,
- int internalFormat,
- int width,
- int border,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexImage1D (
- int target,
- int level,
- int internalFormat,
- int width,
- int border,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexImage2D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int border,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexImage2D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int border,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexImage2D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int border,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexImage2D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int border,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexImage2D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int border,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexImage2D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int border,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexImage2D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int border,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
- * </pre>
- */
- public native void glGetTexImage (
- int target,
- int level,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glGetTexImage (
- int target,
- int level,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glGetTexImage (
- int target,
- int level,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glGetTexImage (
- int target,
- int level,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glGetTexImage (
- int target,
- int level,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glGetTexImage (
- int target,
- int level,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glGetTexImage (
- int target,
- int level,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
- * </pre>
- */
- public native void glGenTextures (
- int n,
- int[] textures
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
- * </pre>
- */
- public native void glDeleteTextures (
- int n,
- int[] textures
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBindTexture ( GLenum target , GLuint texture ) ;
- * </pre>
- */
- public native void glBindTexture (
- int target,
- int texture
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
- * </pre>
- */
- public native void glPrioritizeTextures (
- int n,
- int[] textures,
- float[] priorities
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
- * </pre>
- */
- public native boolean glAreTexturesResident (
- int n,
- int[] textures,
- boolean[] residences
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLboolean glIsTexture ( GLuint texture ) ;
- * </pre>
- */
- public native boolean glIsTexture (
- int texture
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int width,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int width,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int width,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int width,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int width,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int width,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int width,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int width,
- int height,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int width,
- int height,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int width,
- int height,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int width,
- int height,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int width,
- int height,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int width,
- int height,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int width,
- int height,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
- * </pre>
- */
- public native void glCopyTexImage1D (
- int target,
- int level,
- int internalformat,
- int x,
- int y,
- int width,
- int border
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
- * </pre>
- */
- public native void glCopyTexImage2D (
- int target,
- int level,
- int internalformat,
- int x,
- int y,
- int width,
- int height,
- int border
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
- * </pre>
- */
- public native void glCopyTexSubImage1D (
- int target,
- int level,
- int xoffset,
- int x,
- int y,
- int width
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
- * </pre>
- */
- public native void glCopyTexSubImage2D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int x,
- int y,
- int width,
- int height
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
- * </pre>
- */
- public native void glMap1d (
- int target,
- double u1,
- double u2,
- int stride,
- int order,
- double[] points
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
- * </pre>
- */
- public native void glMap1f (
- int target,
- float u1,
- float u2,
- int stride,
- int order,
- float[] points
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
- * </pre>
- */
- public native void glMap2d (
- int target,
- double u1,
- double u2,
- int ustride,
- int uorder,
- double v1,
- double v2,
- int vstride,
- int vorder,
- double[] points
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
- * </pre>
- */
- public native void glMap2f (
- int target,
- float u1,
- float u2,
- int ustride,
- int uorder,
- float v1,
- float v2,
- int vstride,
- int vorder,
- float[] points
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
- * </pre>
- */
- public native void glGetMapdv (
- int target,
- int query,
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
- * </pre>
- */
- public native void glGetMapfv (
- int target,
- int query,
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
- * </pre>
- */
- public native void glGetMapiv (
- int target,
- int query,
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord1d ( GLdouble u ) ;
- * </pre>
- */
- public native void glEvalCoord1d (
- double u
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord1f ( GLfloat u ) ;
- * </pre>
- */
- public native void glEvalCoord1f (
- float u
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord1dv ( const GLdouble * u ) ;
- * </pre>
- */
- public native void glEvalCoord1dv (
- double[] u
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord1fv ( const GLfloat * u ) ;
- * </pre>
- */
- public native void glEvalCoord1fv (
- float[] u
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
- * </pre>
- */
- public native void glEvalCoord2d (
- double u,
- double v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
- * </pre>
- */
- public native void glEvalCoord2f (
- float u,
- float v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord2dv ( const GLdouble * u ) ;
- * </pre>
- */
- public native void glEvalCoord2dv (
- double[] u
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalCoord2fv ( const GLfloat * u ) ;
- * </pre>
- */
- public native void glEvalCoord2fv (
- float[] u
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
- * </pre>
- */
- public native void glMapGrid1d (
- int un,
- double u1,
- double u2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
- * </pre>
- */
- public native void glMapGrid1f (
- int un,
- float u1,
- float u2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
- * </pre>
- */
- public native void glMapGrid2d (
- int un,
- double u1,
- double u2,
- int vn,
- double v1,
- double v2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
- * </pre>
- */
- public native void glMapGrid2f (
- int un,
- float u1,
- float u2,
- int vn,
- float v1,
- float v2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalPoint1 ( GLint i ) ;
- * </pre>
- */
- public native void glEvalPoint1 (
- int i
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalPoint2 ( GLint i , GLint j ) ;
- * </pre>
- */
- public native void glEvalPoint2 (
- int i,
- int j
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
- * </pre>
- */
- public native void glEvalMesh1 (
- int mode,
- int i1,
- int i2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
- * </pre>
- */
- public native void glEvalMesh2 (
- int mode,
- int i1,
- int i2,
- int j1,
- int j2
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFogf ( GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glFogf (
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFogi ( GLenum pname , GLint param ) ;
- * </pre>
- */
- public native void glFogi (
- int pname,
- int param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glFogfv (
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFogiv ( GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glFogiv (
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
- * </pre>
- */
- public native void glFeedbackBuffer (
- int size,
- int type,
- float[] buffer
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPassThrough ( GLfloat token ) ;
- * </pre>
- */
- public native void glPassThrough (
- float token
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
- * </pre>
- */
- public native void glSelectBuffer (
- int size,
- int[] buffer
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glInitNames ( void ) ;
- * </pre>
- */
- public native void glInitNames (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLoadName ( GLuint name ) ;
- * </pre>
- */
- public native void glLoadName (
- int name
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPushName ( GLuint name ) ;
- * </pre>
- */
- public native void glPushName (
- int name
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPopName ( void ) ;
- * </pre>
- */
- public native void glPopName (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
- * </pre>
- */
- public native void glDrawRangeElements (
- int mode,
- int start,
- int end,
- int count,
- int type,
- byte[] indices
- ) ;
- public native void glDrawRangeElements (
- int mode,
- int start,
- int end,
- int count,
- int type,
- short[] indices
- ) ;
- public native void glDrawRangeElements (
- int mode,
- int start,
- int end,
- int count,
- int type,
- int[] indices
- ) ;
- public native void glDrawRangeElements (
- int mode,
- int start,
- int end,
- int count,
- int type,
- float[] indices
- ) ;
- public native void glDrawRangeElements (
- int mode,
- int start,
- int end,
- int count,
- int type,
- double[] indices
- ) ;
- public native void glDrawRangeElements (
- int mode,
- int start,
- int end,
- int count,
- int type,
- boolean[] indices
- ) ;
- public native void glDrawRangeElements (
- int mode,
- int start,
- int end,
- int count,
- int type,
- long[] indices
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexImage3D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexImage3D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexImage3D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexImage3D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexImage3D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexImage3D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexImage3D (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
- * </pre>
- */
- public native void glCopyTexSubImage3D (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int x,
- int y,
- int width,
- int height
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
- * </pre>
- */
- public native void glColorTable (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- byte[] table
- ) ;
- public native void glColorTable (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- short[] table
- ) ;
- public native void glColorTable (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- int[] table
- ) ;
- public native void glColorTable (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- float[] table
- ) ;
- public native void glColorTable (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- double[] table
- ) ;
- public native void glColorTable (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- boolean[] table
- ) ;
- public native void glColorTable (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- long[] table
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
- * </pre>
- */
- public native void glColorSubTable (
- int target,
- int start,
- int count,
- int format,
- int type,
- byte[] data
- ) ;
- public native void glColorSubTable (
- int target,
- int start,
- int count,
- int format,
- int type,
- short[] data
- ) ;
- public native void glColorSubTable (
- int target,
- int start,
- int count,
- int format,
- int type,
- int[] data
- ) ;
- public native void glColorSubTable (
- int target,
- int start,
- int count,
- int format,
- int type,
- float[] data
- ) ;
- public native void glColorSubTable (
- int target,
- int start,
- int count,
- int format,
- int type,
- double[] data
- ) ;
- public native void glColorSubTable (
- int target,
- int start,
- int count,
- int format,
- int type,
- boolean[] data
- ) ;
- public native void glColorSubTable (
- int target,
- int start,
- int count,
- int format,
- int type,
- long[] data
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glColorTableParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glColorTableParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
- * </pre>
- */
- public native void glCopyColorSubTable (
- int target,
- int start,
- int x,
- int y,
- int width
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
- * </pre>
- */
- public native void glCopyColorTable (
- int target,
- int internalformat,
- int x,
- int y,
- int width
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
- * </pre>
- */
- public native void glGetColorTable (
- int target,
- int format,
- int type,
- byte[] table
- ) ;
- public native void glGetColorTable (
- int target,
- int format,
- int type,
- short[] table
- ) ;
- public native void glGetColorTable (
- int target,
- int format,
- int type,
- int[] table
- ) ;
- public native void glGetColorTable (
- int target,
- int format,
- int type,
- float[] table
- ) ;
- public native void glGetColorTable (
- int target,
- int format,
- int type,
- double[] table
- ) ;
- public native void glGetColorTable (
- int target,
- int format,
- int type,
- boolean[] table
- ) ;
- public native void glGetColorTable (
- int target,
- int format,
- int type,
- long[] table
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetColorTableParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetColorTableParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBlendEquation ( GLenum mode ) ;
- * </pre>
- */
- public native void glBlendEquation (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
- * </pre>
- */
- public native void glBlendColor (
- float red,
- float green,
- float blue,
- float alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
- * </pre>
- */
- public native void glHistogram (
- int target,
- int width,
- int internalformat,
- boolean sink
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glResetHistogram ( GLenum target ) ;
- * </pre>
- */
- public native void glResetHistogram (
- int target
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
- * </pre>
- */
- public native void glGetHistogram (
- int target,
- boolean reset,
- int format,
- int type,
- byte[] values
- ) ;
- public native void glGetHistogram (
- int target,
- boolean reset,
- int format,
- int type,
- short[] values
- ) ;
- public native void glGetHistogram (
- int target,
- boolean reset,
- int format,
- int type,
- int[] values
- ) ;
- public native void glGetHistogram (
- int target,
- boolean reset,
- int format,
- int type,
- float[] values
- ) ;
- public native void glGetHistogram (
- int target,
- boolean reset,
- int format,
- int type,
- double[] values
- ) ;
- public native void glGetHistogram (
- int target,
- boolean reset,
- int format,
- int type,
- boolean[] values
- ) ;
- public native void glGetHistogram (
- int target,
- boolean reset,
- int format,
- int type,
- long[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetHistogramParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetHistogramParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
- * </pre>
- */
- public native void glMinmax (
- int target,
- int internalformat,
- boolean sink
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glResetMinmax ( GLenum target ) ;
- * </pre>
- */
- public native void glResetMinmax (
- int target
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
- * </pre>
- */
- public native void glGetMinmax (
- int target,
- boolean reset,
- int format,
- int types,
- byte[] values
- ) ;
- public native void glGetMinmax (
- int target,
- boolean reset,
- int format,
- int types,
- short[] values
- ) ;
- public native void glGetMinmax (
- int target,
- boolean reset,
- int format,
- int types,
- int[] values
- ) ;
- public native void glGetMinmax (
- int target,
- boolean reset,
- int format,
- int types,
- float[] values
- ) ;
- public native void glGetMinmax (
- int target,
- boolean reset,
- int format,
- int types,
- double[] values
- ) ;
- public native void glGetMinmax (
- int target,
- boolean reset,
- int format,
- int types,
- boolean[] values
- ) ;
- public native void glGetMinmax (
- int target,
- boolean reset,
- int format,
- int types,
- long[] values
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetMinmaxParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetMinmaxParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
- * </pre>
- */
- public native void glConvolutionFilter1D (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- byte[] image
- ) ;
- public native void glConvolutionFilter1D (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- short[] image
- ) ;
- public native void glConvolutionFilter1D (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- int[] image
- ) ;
- public native void glConvolutionFilter1D (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- float[] image
- ) ;
- public native void glConvolutionFilter1D (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- double[] image
- ) ;
- public native void glConvolutionFilter1D (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- boolean[] image
- ) ;
- public native void glConvolutionFilter1D (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- long[] image
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
- * </pre>
- */
- public native void glConvolutionFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- byte[] image
- ) ;
- public native void glConvolutionFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- short[] image
- ) ;
- public native void glConvolutionFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- int[] image
- ) ;
- public native void glConvolutionFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- float[] image
- ) ;
- public native void glConvolutionFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- double[] image
- ) ;
- public native void glConvolutionFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- boolean[] image
- ) ;
- public native void glConvolutionFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- long[] image
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
- * </pre>
- */
- public native void glConvolutionParameterf (
- int target,
- int pname,
- float params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glConvolutionParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
- * </pre>
- */
- public native void glConvolutionParameteri (
- int target,
- int pname,
- int params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
- * </pre>
- */
- public native void glConvolutionParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
- * </pre>
- */
- public native void glCopyConvolutionFilter1D (
- int target,
- int internalformat,
- int x,
- int y,
- int width
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
- * </pre>
- */
- public native void glCopyConvolutionFilter2D (
- int target,
- int internalformat,
- int x,
- int y,
- int width,
- int height
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
- * </pre>
- */
- public native void glGetConvolutionFilter (
- int target,
- int format,
- int type,
- byte[] image
- ) ;
- public native void glGetConvolutionFilter (
- int target,
- int format,
- int type,
- short[] image
- ) ;
- public native void glGetConvolutionFilter (
- int target,
- int format,
- int type,
- int[] image
- ) ;
- public native void glGetConvolutionFilter (
- int target,
- int format,
- int type,
- float[] image
- ) ;
- public native void glGetConvolutionFilter (
- int target,
- int format,
- int type,
- double[] image
- ) ;
- public native void glGetConvolutionFilter (
- int target,
- int format,
- int type,
- boolean[] image
- ) ;
- public native void glGetConvolutionFilter (
- int target,
- int format,
- int type,
- long[] image
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetConvolutionParameterfv (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetConvolutionParameteriv (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
- * </pre>
- */
- public native void glSeparableFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- byte[] row,
- byte[] column
- ) ;
- public native void glSeparableFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- short[] row,
- short[] column
- ) ;
- public native void glSeparableFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- int[] row,
- int[] column
- ) ;
- public native void glSeparableFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- float[] row,
- float[] column
- ) ;
- public native void glSeparableFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- double[] row,
- double[] column
- ) ;
- public native void glSeparableFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- boolean[] row,
- boolean[] column
- ) ;
- public native void glSeparableFilter2D (
- int target,
- int internalformat,
- int width,
- int height,
- int format,
- int type,
- long[] row,
- long[] column
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
- * </pre>
- */
- public native void glGetSeparableFilter (
- int target,
- int format,
- int type,
- byte[] row,
- byte[] column,
- byte[] span
- ) ;
- public native void glGetSeparableFilter (
- int target,
- int format,
- int type,
- short[] row,
- short[] column,
- short[] span
- ) ;
- public native void glGetSeparableFilter (
- int target,
- int format,
- int type,
- int[] row,
- int[] column,
- int[] span
- ) ;
- public native void glGetSeparableFilter (
- int target,
- int format,
- int type,
- float[] row,
- float[] column,
- float[] span
- ) ;
- public native void glGetSeparableFilter (
- int target,
- int format,
- int type,
- double[] row,
- double[] column,
- double[] span
- ) ;
- public native void glGetSeparableFilter (
- int target,
- int format,
- int type,
- boolean[] row,
- boolean[] column,
- boolean[] span
- ) ;
- public native void glGetSeparableFilter (
- int target,
- int format,
- int type,
- long[] row,
- long[] column,
- long[] span
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
- * </pre>
- */
- public native void glBlendColorEXT (
- float red,
- float green,
- float blue,
- float alpha
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
- * </pre>
- */
- public native void glPolygonOffsetEXT (
- float factor,
- float bias
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexImage3DEXT (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexImage3DEXT (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexImage3DEXT (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexImage3DEXT (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexImage3DEXT (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexImage3DEXT (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexImage3DEXT (
- int target,
- int level,
- int internalFormat,
- int width,
- int height,
- int depth,
- int border,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
- * </pre>
- */
- public native void glTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- byte[] pixels
- ) ;
- public native void glTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- short[] pixels
- ) ;
- public native void glTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- int[] pixels
- ) ;
- public native void glTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- float[] pixels
- ) ;
- public native void glTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- double[] pixels
- ) ;
- public native void glTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- boolean[] pixels
- ) ;
- public native void glTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int width,
- int height,
- int depth,
- int format,
- int type,
- long[] pixels
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
- * </pre>
- */
- public native void glCopyTexSubImage3DEXT (
- int target,
- int level,
- int xoffset,
- int yoffset,
- int zoffset,
- int x,
- int y,
- int width,
- int height
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
- * </pre>
- */
- public native void glGenTexturesEXT (
- int n,
- int[] textures
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
- * </pre>
- */
- public native void glDeleteTexturesEXT (
- int n,
- int[] textures
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
- * </pre>
- */
- public native void glBindTextureEXT (
- int target,
- int texture
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
- * </pre>
- */
- public native void glPrioritizeTexturesEXT (
- int n,
- int[] textures,
- float[] priorities
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
- * </pre>
- */
- public native boolean glAreTexturesResidentEXT (
- int n,
- int[] textures,
- boolean[] residences
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLboolean glIsTextureEXT ( GLuint texture ) ;
- * </pre>
- */
- public native boolean glIsTextureEXT (
- int texture
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glVertexPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- byte[] ptr
- ) ;
- public native void glVertexPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- short[] ptr
- ) ;
- public native void glVertexPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- int[] ptr
- ) ;
- public native void glVertexPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- float[] ptr
- ) ;
- public native void glVertexPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- double[] ptr
- ) ;
- public native void glVertexPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- boolean[] ptr
- ) ;
- public native void glVertexPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glNormalPointerEXT (
- int type,
- int stride,
- int count,
- byte[] ptr
- ) ;
- public native void glNormalPointerEXT (
- int type,
- int stride,
- int count,
- short[] ptr
- ) ;
- public native void glNormalPointerEXT (
- int type,
- int stride,
- int count,
- int[] ptr
- ) ;
- public native void glNormalPointerEXT (
- int type,
- int stride,
- int count,
- float[] ptr
- ) ;
- public native void glNormalPointerEXT (
- int type,
- int stride,
- int count,
- double[] ptr
- ) ;
- public native void glNormalPointerEXT (
- int type,
- int stride,
- int count,
- boolean[] ptr
- ) ;
- public native void glNormalPointerEXT (
- int type,
- int stride,
- int count,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glColorPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- byte[] ptr
- ) ;
- public native void glColorPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- short[] ptr
- ) ;
- public native void glColorPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- int[] ptr
- ) ;
- public native void glColorPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- float[] ptr
- ) ;
- public native void glColorPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- double[] ptr
- ) ;
- public native void glColorPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- boolean[] ptr
- ) ;
- public native void glColorPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glIndexPointerEXT (
- int type,
- int stride,
- int count,
- byte[] ptr
- ) ;
- public native void glIndexPointerEXT (
- int type,
- int stride,
- int count,
- short[] ptr
- ) ;
- public native void glIndexPointerEXT (
- int type,
- int stride,
- int count,
- int[] ptr
- ) ;
- public native void glIndexPointerEXT (
- int type,
- int stride,
- int count,
- float[] ptr
- ) ;
- public native void glIndexPointerEXT (
- int type,
- int stride,
- int count,
- double[] ptr
- ) ;
- public native void glIndexPointerEXT (
- int type,
- int stride,
- int count,
- boolean[] ptr
- ) ;
- public native void glIndexPointerEXT (
- int type,
- int stride,
- int count,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
- * </pre>
- */
- public native void glTexCoordPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- byte[] ptr
- ) ;
- public native void glTexCoordPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- short[] ptr
- ) ;
- public native void glTexCoordPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- int[] ptr
- ) ;
- public native void glTexCoordPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- float[] ptr
- ) ;
- public native void glTexCoordPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- double[] ptr
- ) ;
- public native void glTexCoordPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- boolean[] ptr
- ) ;
- public native void glTexCoordPointerEXT (
- int size,
- int type,
- int stride,
- int count,
- long[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
- * </pre>
- */
- public native void glEdgeFlagPointerEXT (
- int stride,
- int count,
- boolean[] ptr
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
- * </pre>
- */
- public native void glGetPointervEXT (
- int pname,
- byte[][] params
- ) ;
- public native void glGetPointervEXT (
- int pname,
- short[][] params
- ) ;
- public native void glGetPointervEXT (
- int pname,
- int[][] params
- ) ;
- public native void glGetPointervEXT (
- int pname,
- float[][] params
- ) ;
- public native void glGetPointervEXT (
- int pname,
- double[][] params
- ) ;
- public native void glGetPointervEXT (
- int pname,
- boolean[][] params
- ) ;
- public native void glGetPointervEXT (
- int pname,
- long[][] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glArrayElementEXT ( GLint i ) ;
- * </pre>
- */
- public native void glArrayElementEXT (
- int i
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
- * </pre>
- */
- public native void glDrawArraysEXT (
- int mode,
- int first,
- int count
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glBlendEquationEXT ( GLenum mode ) ;
- * </pre>
- */
- public native void glBlendEquationEXT (
- int mode
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
- * </pre>
- */
- public native void glPointParameterfEXT (
- int pname,
- float param
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
- * </pre>
- */
- public native void glPointParameterfvEXT (
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
- * </pre>
- */
- public native void glColorTableEXT (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- byte[] table
- ) ;
- public native void glColorTableEXT (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- short[] table
- ) ;
- public native void glColorTableEXT (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- int[] table
- ) ;
- public native void glColorTableEXT (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- float[] table
- ) ;
- public native void glColorTableEXT (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- double[] table
- ) ;
- public native void glColorTableEXT (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- boolean[] table
- ) ;
- public native void glColorTableEXT (
- int target,
- int internalformat,
- int width,
- int format,
- int type,
- long[] table
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
- * </pre>
- */
- public native void glColorSubTableEXT (
- int target,
- int start,
- int count,
- int format,
- int type,
- byte[] data
- ) ;
- public native void glColorSubTableEXT (
- int target,
- int start,
- int count,
- int format,
- int type,
- short[] data
- ) ;
- public native void glColorSubTableEXT (
- int target,
- int start,
- int count,
- int format,
- int type,
- int[] data
- ) ;
- public native void glColorSubTableEXT (
- int target,
- int start,
- int count,
- int format,
- int type,
- float[] data
- ) ;
- public native void glColorSubTableEXT (
- int target,
- int start,
- int count,
- int format,
- int type,
- double[] data
- ) ;
- public native void glColorSubTableEXT (
- int target,
- int start,
- int count,
- int format,
- int type,
- boolean[] data
- ) ;
- public native void glColorSubTableEXT (
- int target,
- int start,
- int count,
- int format,
- int type,
- long[] data
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
- * </pre>
- */
- public native void glGetColorTableEXT (
- int target,
- int format,
- int type,
- byte[] table
- ) ;
- public native void glGetColorTableEXT (
- int target,
- int format,
- int type,
- short[] table
- ) ;
- public native void glGetColorTableEXT (
- int target,
- int format,
- int type,
- int[] table
- ) ;
- public native void glGetColorTableEXT (
- int target,
- int format,
- int type,
- float[] table
- ) ;
- public native void glGetColorTableEXT (
- int target,
- int format,
- int type,
- double[] table
- ) ;
- public native void glGetColorTableEXT (
- int target,
- int format,
- int type,
- boolean[] table
- ) ;
- public native void glGetColorTableEXT (
- int target,
- int format,
- int type,
- long[] table
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
- * </pre>
- */
- public native void glGetColorTableParameterfvEXT (
- int target,
- int pname,
- float[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
- * </pre>
- */
- public native void glGetColorTableParameterivEXT (
- int target,
- int pname,
- int[] params
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
- * </pre>
- */
- public native void glLockArraysEXT (
- int first,
- int count
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glUnlockArraysEXT ( void ) ;
- * </pre>
- */
- public native void glUnlockArraysEXT (
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glActiveTextureARB ( GLenum texture ) ;
- * </pre>
- */
- public native void glActiveTextureARB (
- int texture
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glClientActiveTextureARB ( GLenum texture ) ;
- * </pre>
- */
- public native void glClientActiveTextureARB (
- int texture
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
- * </pre>
- */
- public native void glMultiTexCoord1dARB (
- int target,
- double s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord1dvARB (
- int target,
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
- * </pre>
- */
- public native void glMultiTexCoord1fARB (
- int target,
- float s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord1fvARB (
- int target,
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
- * </pre>
- */
- public native void glMultiTexCoord1iARB (
- int target,
- int s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord1ivARB (
- int target,
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
- * </pre>
- */
- public native void glMultiTexCoord1sARB (
- int target,
- short s
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord1svARB (
- int target,
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
- * </pre>
- */
- public native void glMultiTexCoord2dARB (
- int target,
- double s,
- double t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord2dvARB (
- int target,
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
- * </pre>
- */
- public native void glMultiTexCoord2fARB (
- int target,
- float s,
- float t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord2fvARB (
- int target,
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
- * </pre>
- */
- public native void glMultiTexCoord2iARB (
- int target,
- int s,
- int t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord2ivARB (
- int target,
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
- * </pre>
- */
- public native void glMultiTexCoord2sARB (
- int target,
- short s,
- short t
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord2svARB (
- int target,
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
- * </pre>
- */
- public native void glMultiTexCoord3dARB (
- int target,
- double s,
- double t,
- double r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord3dvARB (
- int target,
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
- * </pre>
- */
- public native void glMultiTexCoord3fARB (
- int target,
- float s,
- float t,
- float r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord3fvARB (
- int target,
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
- * </pre>
- */
- public native void glMultiTexCoord3iARB (
- int target,
- int s,
- int t,
- int r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord3ivARB (
- int target,
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
- * </pre>
- */
- public native void glMultiTexCoord3sARB (
- int target,
- short s,
- short t,
- short r
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord3svARB (
- int target,
- short[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
- * </pre>
- */
- public native void glMultiTexCoord4dARB (
- int target,
- double s,
- double t,
- double r,
- double q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord4dvARB (
- int target,
- double[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
- * </pre>
- */
- public native void glMultiTexCoord4fARB (
- int target,
- float s,
- float t,
- float r,
- float q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord4fvARB (
- int target,
- float[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
- * </pre>
- */
- public native void glMultiTexCoord4iARB (
- int target,
- int s,
- int t,
- int r,
- int q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord4ivARB (
- int target,
- int[] v
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
- * </pre>
- */
- public native void glMultiTexCoord4sARB (
- int target,
- short s,
- short t,
- short r,
- short q
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
- * </pre>
- */
- public native void glMultiTexCoord4svARB (
- int target,
- short[] v
- ) ;
-
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
+
+ DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
+*/
+
+
+/**
+ * @(#) GLFuncJauJNInf.java
+ */
+
+
+package gl4java;
+
+/**
+ * The default implementation class for OpenGL native function mapping
+ *
+ * @version 2.00, 21. April 1999
+ * @author Sven Goethel
+ */
+public class GLFuncJauJNInf
+ implements GLFunc
+{
+
+
+
+public native String glGetString ( int name ) ;
+
+public native String getNativeVendor ( ) ;
+public native String getNativeVersion ( ) ;
+
+public String getClassVendor ( )
+{ return "Jausoft - Sven Goethel Software Development"; }
+
+public String getClassVersion ( )
+{ return "2.7.0.0"; }
+
+
+
+/**
+ * C2J Parser Version 2.0
+ * Jausoft - Sven Goethel Software Development
+ * Reading from file: gl-proto-auto.orig.h . . .
+ * Destination-Class: gl4java_GLFuncJauJNInf !
+ */
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearIndex ( GLfloat c ) ;
+ * </pre>
+ */
+ public native void glClearIndex (
+ float c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * </pre>
+ */
+ public native void glClearColor (
+ float red,
+ float green,
+ float blue,
+ float alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClear ( GLbitfield mask ) ;
+ * </pre>
+ */
+ public native void glClear (
+ int mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexMask ( GLuint mask ) ;
+ * </pre>
+ */
+ public native void glIndexMask (
+ int mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * </pre>
+ */
+ public native void glColorMask (
+ boolean red,
+ boolean green,
+ boolean blue,
+ boolean alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * </pre>
+ */
+ public native void glAlphaFunc (
+ int func,
+ float ref
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * </pre>
+ */
+ public native void glBlendFunc (
+ int sfactor,
+ int dfactor
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLogicOp ( GLenum opcode ) ;
+ * </pre>
+ */
+ public native void glLogicOp (
+ int opcode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCullFace ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glCullFace (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFrontFace ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glFrontFace (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPointSize ( GLfloat size ) ;
+ * </pre>
+ */
+ public native void glPointSize (
+ float size
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLineWidth ( GLfloat width ) ;
+ * </pre>
+ */
+ public native void glLineWidth (
+ float width
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * </pre>
+ */
+ public native void glLineStipple (
+ int factor,
+ short pattern
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * </pre>
+ */
+ public native void glPolygonMode (
+ int face,
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * </pre>
+ */
+ public native void glPolygonOffset (
+ float factor,
+ float units
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * </pre>
+ */
+ public native void glPolygonStipple (
+ byte[] mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * </pre>
+ */
+ public native void glGetPolygonStipple (
+ byte[] mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlag ( GLboolean flag ) ;
+ * </pre>
+ */
+ public native void glEdgeFlag (
+ boolean flag
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * </pre>
+ */
+ public native void glEdgeFlagv (
+ boolean[] flag
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ public native void glScissor (
+ int x,
+ int y,
+ int width,
+ int height
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * </pre>
+ */
+ public native void glClipPlane (
+ int plane,
+ double[] equation
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * </pre>
+ */
+ public native void glGetClipPlane (
+ int plane,
+ double[] equation
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawBuffer ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glDrawBuffer (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glReadBuffer ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glReadBuffer (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEnable ( GLenum cap ) ;
+ * </pre>
+ */
+ public native void glEnable (
+ int cap
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDisable ( GLenum cap ) ;
+ * </pre>
+ */
+ public native void glDisable (
+ int cap
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * </pre>
+ */
+ public native boolean glIsEnabled (
+ int cap
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEnableClientState ( GLenum cap ) ;
+ * </pre>
+ */
+ public native void glEnableClientState (
+ int cap
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDisableClientState ( GLenum cap ) ;
+ * </pre>
+ */
+ public native void glDisableClientState (
+ int cap
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * </pre>
+ */
+ public native void glGetBooleanv (
+ int pname,
+ boolean[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * </pre>
+ */
+ public native void glGetDoublev (
+ int pname,
+ double[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetFloatv (
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetIntegerv (
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushAttrib ( GLbitfield mask ) ;
+ * </pre>
+ */
+ public native void glPushAttrib (
+ int mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopAttrib ( void ) ;
+ * </pre>
+ */
+ public native void glPopAttrib (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * </pre>
+ */
+ public native void glPushClientAttrib (
+ int mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopClientAttrib ( void ) ;
+ * </pre>
+ */
+ public native void glPopClientAttrib (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint glRenderMode ( GLenum mode ) ;
+ * </pre>
+ */
+ public native int glRenderMode (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLenum glGetError ( void ) ;
+ * </pre>
+ */
+ public native int glGetError (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFinish ( void ) ;
+ * </pre>
+ */
+ public native void glFinish (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFlush ( void ) ;
+ * </pre>
+ */
+ public native void glFlush (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glHint ( GLenum target , GLenum mode ) ;
+ * </pre>
+ */
+ public native void glHint (
+ int target,
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearDepth ( GLclampd depth ) ;
+ * </pre>
+ */
+ public native void glClearDepth (
+ double depth
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDepthFunc ( GLenum func ) ;
+ * </pre>
+ */
+ public native void glDepthFunc (
+ int func
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDepthMask ( GLboolean flag ) ;
+ * </pre>
+ */
+ public native void glDepthMask (
+ boolean flag
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * </pre>
+ */
+ public native void glDepthRange (
+ double near_val,
+ double far_val
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * </pre>
+ */
+ public native void glClearAccum (
+ float red,
+ float green,
+ float blue,
+ float alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glAccum ( GLenum op , GLfloat value ) ;
+ * </pre>
+ */
+ public native void glAccum (
+ int op,
+ float value
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMatrixMode ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glMatrixMode (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * </pre>
+ */
+ public native void glOrtho (
+ double left,
+ double right,
+ double bottom,
+ double top,
+ double near_val,
+ double far_val
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * </pre>
+ */
+ public native void glFrustum (
+ double left,
+ double right,
+ double bottom,
+ double top,
+ double near_val,
+ double far_val
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ public native void glViewport (
+ int x,
+ int y,
+ int width,
+ int height
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushMatrix ( void ) ;
+ * </pre>
+ */
+ public native void glPushMatrix (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopMatrix ( void ) ;
+ * </pre>
+ */
+ public native void glPopMatrix (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadIdentity ( void ) ;
+ * </pre>
+ */
+ public native void glLoadIdentity (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * </pre>
+ */
+ public native void glLoadMatrixd (
+ double[] m
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * </pre>
+ */
+ public native void glLoadMatrixf (
+ float[] m
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultMatrixd ( const GLdouble * m ) ;
+ * </pre>
+ */
+ public native void glMultMatrixd (
+ double[] m
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultMatrixf ( const GLfloat * m ) ;
+ * </pre>
+ */
+ public native void glMultMatrixf (
+ float[] m
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ public native void glRotated (
+ double angle,
+ double x,
+ double y,
+ double z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ public native void glRotatef (
+ float angle,
+ float x,
+ float y,
+ float z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ public native void glScaled (
+ double x,
+ double y,
+ double z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ public native void glScalef (
+ float x,
+ float y,
+ float z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ public native void glTranslated (
+ double x,
+ double y,
+ double z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ public native void glTranslatef (
+ float x,
+ float y,
+ float z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsList ( GLuint list ) ;
+ * </pre>
+ */
+ public native boolean glIsList (
+ int list
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * </pre>
+ */
+ public native void glDeleteLists (
+ int list,
+ int range
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLuint glGenLists ( GLsizei range ) ;
+ * </pre>
+ */
+ public native int glGenLists (
+ int range
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNewList ( GLuint list , GLenum mode ) ;
+ * </pre>
+ */
+ public native void glNewList (
+ int list,
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEndList ( void ) ;
+ * </pre>
+ */
+ public native void glEndList (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCallList ( GLuint list ) ;
+ * </pre>
+ */
+ public native void glCallList (
+ int list
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * </pre>
+ */
+ public native void glCallLists (
+ int n,
+ int type,
+ byte[] lists
+ ) ;
+ public native void glCallLists (
+ int n,
+ int type,
+ short[] lists
+ ) ;
+ public native void glCallLists (
+ int n,
+ int type,
+ int[] lists
+ ) ;
+ public native void glCallLists (
+ int n,
+ int type,
+ float[] lists
+ ) ;
+ public native void glCallLists (
+ int n,
+ int type,
+ double[] lists
+ ) ;
+ public native void glCallLists (
+ int n,
+ int type,
+ boolean[] lists
+ ) ;
+ public native void glCallLists (
+ int n,
+ int type,
+ long[] lists
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glListBase ( GLuint base ) ;
+ * </pre>
+ */
+ public native void glListBase (
+ int base
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBegin ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glBegin (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEnd ( void ) ;
+ * </pre>
+ */
+ public native void glEnd (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * </pre>
+ */
+ public native void glVertex2d (
+ double x,
+ double y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * </pre>
+ */
+ public native void glVertex2f (
+ float x,
+ float y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2i ( GLint x , GLint y ) ;
+ * </pre>
+ */
+ public native void glVertex2i (
+ int x,
+ int y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * </pre>
+ */
+ public native void glVertex2s (
+ short x,
+ short y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ public native void glVertex3d (
+ double x,
+ double y,
+ double z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ public native void glVertex3f (
+ float x,
+ float y,
+ float z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * </pre>
+ */
+ public native void glVertex3i (
+ int x,
+ int y,
+ int z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * </pre>
+ */
+ public native void glVertex3s (
+ short x,
+ short y,
+ short z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * </pre>
+ */
+ public native void glVertex4d (
+ double x,
+ double y,
+ double z,
+ double w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * </pre>
+ */
+ public native void glVertex4f (
+ float x,
+ float y,
+ float z,
+ float w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * </pre>
+ */
+ public native void glVertex4i (
+ int x,
+ int y,
+ int z,
+ int w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * </pre>
+ */
+ public native void glVertex4s (
+ short x,
+ short y,
+ short z,
+ short w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glVertex2dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glVertex2fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glVertex2iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glVertex2sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glVertex3dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glVertex3fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glVertex3iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glVertex3sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glVertex4dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glVertex4fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glVertex4iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glVertex4sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * </pre>
+ */
+ public native void glNormal3b (
+ byte nx,
+ byte ny,
+ byte nz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * </pre>
+ */
+ public native void glNormal3d (
+ double nx,
+ double ny,
+ double nz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * </pre>
+ */
+ public native void glNormal3f (
+ float nx,
+ float ny,
+ float nz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * </pre>
+ */
+ public native void glNormal3i (
+ int nx,
+ int ny,
+ int nz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * </pre>
+ */
+ public native void glNormal3s (
+ short nx,
+ short ny,
+ short nz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3bv ( const GLbyte * v ) ;
+ * </pre>
+ */
+ public native void glNormal3bv (
+ byte[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glNormal3dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glNormal3fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glNormal3iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glNormal3sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexd ( GLdouble c ) ;
+ * </pre>
+ */
+ public native void glIndexd (
+ double c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexf ( GLfloat c ) ;
+ * </pre>
+ */
+ public native void glIndexf (
+ float c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexi ( GLint c ) ;
+ * </pre>
+ */
+ public native void glIndexi (
+ int c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexs ( GLshort c ) ;
+ * </pre>
+ */
+ public native void glIndexs (
+ short c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexub ( GLubyte c ) ;
+ * </pre>
+ */
+ public native void glIndexub (
+ byte c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexdv ( const GLdouble * c ) ;
+ * </pre>
+ */
+ public native void glIndexdv (
+ double[] c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexfv ( const GLfloat * c ) ;
+ * </pre>
+ */
+ public native void glIndexfv (
+ float[] c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexiv ( const GLint * c ) ;
+ * </pre>
+ */
+ public native void glIndexiv (
+ int[] c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexsv ( const GLshort * c ) ;
+ * </pre>
+ */
+ public native void glIndexsv (
+ short[] c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexubv ( const GLubyte * c ) ;
+ * </pre>
+ */
+ public native void glIndexubv (
+ byte[] c
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * </pre>
+ */
+ public native void glColor3b (
+ byte red,
+ byte green,
+ byte blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * </pre>
+ */
+ public native void glColor3d (
+ double red,
+ double green,
+ double blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * </pre>
+ */
+ public native void glColor3f (
+ float red,
+ float green,
+ float blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * </pre>
+ */
+ public native void glColor3i (
+ int red,
+ int green,
+ int blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * </pre>
+ */
+ public native void glColor3s (
+ short red,
+ short green,
+ short blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * </pre>
+ */
+ public native void glColor3ub (
+ byte red,
+ byte green,
+ byte blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * </pre>
+ */
+ public native void glColor3ui (
+ int red,
+ int green,
+ int blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * </pre>
+ */
+ public native void glColor3us (
+ short red,
+ short green,
+ short blue
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * </pre>
+ */
+ public native void glColor4b (
+ byte red,
+ byte green,
+ byte blue,
+ byte alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * </pre>
+ */
+ public native void glColor4d (
+ double red,
+ double green,
+ double blue,
+ double alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * </pre>
+ */
+ public native void glColor4f (
+ float red,
+ float green,
+ float blue,
+ float alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * </pre>
+ */
+ public native void glColor4i (
+ int red,
+ int green,
+ int blue,
+ int alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * </pre>
+ */
+ public native void glColor4s (
+ short red,
+ short green,
+ short blue,
+ short alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * </pre>
+ */
+ public native void glColor4ub (
+ byte red,
+ byte green,
+ byte blue,
+ byte alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * </pre>
+ */
+ public native void glColor4ui (
+ int red,
+ int green,
+ int blue,
+ int alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * </pre>
+ */
+ public native void glColor4us (
+ short red,
+ short green,
+ short blue,
+ short alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3bv ( const GLbyte * v ) ;
+ * </pre>
+ */
+ public native void glColor3bv (
+ byte[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glColor3dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glColor3fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glColor3iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glColor3sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3ubv ( const GLubyte * v ) ;
+ * </pre>
+ */
+ public native void glColor3ubv (
+ byte[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3uiv ( const GLuint * v ) ;
+ * </pre>
+ */
+ public native void glColor3uiv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3usv ( const GLushort * v ) ;
+ * </pre>
+ */
+ public native void glColor3usv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4bv ( const GLbyte * v ) ;
+ * </pre>
+ */
+ public native void glColor4bv (
+ byte[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glColor4dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glColor4fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glColor4iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glColor4sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4ubv ( const GLubyte * v ) ;
+ * </pre>
+ */
+ public native void glColor4ubv (
+ byte[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4uiv ( const GLuint * v ) ;
+ * </pre>
+ */
+ public native void glColor4uiv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4usv ( const GLushort * v ) ;
+ * </pre>
+ */
+ public native void glColor4usv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1d ( GLdouble s ) ;
+ * </pre>
+ */
+ public native void glTexCoord1d (
+ double s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1f ( GLfloat s ) ;
+ * </pre>
+ */
+ public native void glTexCoord1f (
+ float s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1i ( GLint s ) ;
+ * </pre>
+ */
+ public native void glTexCoord1i (
+ int s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1s ( GLshort s ) ;
+ * </pre>
+ */
+ public native void glTexCoord1s (
+ short s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * </pre>
+ */
+ public native void glTexCoord2d (
+ double s,
+ double t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * </pre>
+ */
+ public native void glTexCoord2f (
+ float s,
+ float t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * </pre>
+ */
+ public native void glTexCoord2i (
+ int s,
+ int t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * </pre>
+ */
+ public native void glTexCoord2s (
+ short s,
+ short t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * </pre>
+ */
+ public native void glTexCoord3d (
+ double s,
+ double t,
+ double r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * </pre>
+ */
+ public native void glTexCoord3f (
+ float s,
+ float t,
+ float r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * </pre>
+ */
+ public native void glTexCoord3i (
+ int s,
+ int t,
+ int r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * </pre>
+ */
+ public native void glTexCoord3s (
+ short s,
+ short t,
+ short r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * </pre>
+ */
+ public native void glTexCoord4d (
+ double s,
+ double t,
+ double r,
+ double q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * </pre>
+ */
+ public native void glTexCoord4f (
+ float s,
+ float t,
+ float r,
+ float q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * </pre>
+ */
+ public native void glTexCoord4i (
+ int s,
+ int t,
+ int r,
+ int q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * </pre>
+ */
+ public native void glTexCoord4s (
+ short s,
+ short t,
+ short r,
+ short q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord1dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord1fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord1iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord1sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord2dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord2fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord2iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord2sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord3dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord3fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord3iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord3sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord4dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord4fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord4iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glTexCoord4sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * </pre>
+ */
+ public native void glRasterPos2d (
+ double x,
+ double y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * </pre>
+ */
+ public native void glRasterPos2f (
+ float x,
+ float y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * </pre>
+ */
+ public native void glRasterPos2i (
+ int x,
+ int y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * </pre>
+ */
+ public native void glRasterPos2s (
+ short x,
+ short y
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ public native void glRasterPos3d (
+ double x,
+ double y,
+ double z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ public native void glRasterPos3f (
+ float x,
+ float y,
+ float z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * </pre>
+ */
+ public native void glRasterPos3i (
+ int x,
+ int y,
+ int z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * </pre>
+ */
+ public native void glRasterPos3s (
+ short x,
+ short y,
+ short z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * </pre>
+ */
+ public native void glRasterPos4d (
+ double x,
+ double y,
+ double z,
+ double w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * </pre>
+ */
+ public native void glRasterPos4f (
+ float x,
+ float y,
+ float z,
+ float w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * </pre>
+ */
+ public native void glRasterPos4i (
+ int x,
+ int y,
+ int z,
+ int w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * </pre>
+ */
+ public native void glRasterPos4s (
+ short x,
+ short y,
+ short z,
+ short w
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos2dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos2fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos2iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos2sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos3dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos3fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos3iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos3sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos4dv (
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos4fv (
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos4iv (
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glRasterPos4sv (
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * </pre>
+ */
+ public native void glRectd (
+ double x1,
+ double y1,
+ double x2,
+ double y2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * </pre>
+ */
+ public native void glRectf (
+ float x1,
+ float y1,
+ float x2,
+ float y2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * </pre>
+ */
+ public native void glRecti (
+ int x1,
+ int y1,
+ int x2,
+ int y2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * </pre>
+ */
+ public native void glRects (
+ short x1,
+ short y1,
+ short x2,
+ short y2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * </pre>
+ */
+ public native void glRectdv (
+ double[] v1,
+ double[] v2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * </pre>
+ */
+ public native void glRectfv (
+ float[] v1,
+ float[] v2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * </pre>
+ */
+ public native void glRectiv (
+ int[] v1,
+ int[] v2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * </pre>
+ */
+ public native void glRectsv (
+ short[] v1,
+ short[] v2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glVertexPointer (
+ int size,
+ int type,
+ int stride,
+ byte[] ptr
+ ) ;
+ public native void glVertexPointer (
+ int size,
+ int type,
+ int stride,
+ short[] ptr
+ ) ;
+ public native void glVertexPointer (
+ int size,
+ int type,
+ int stride,
+ int[] ptr
+ ) ;
+ public native void glVertexPointer (
+ int size,
+ int type,
+ int stride,
+ float[] ptr
+ ) ;
+ public native void glVertexPointer (
+ int size,
+ int type,
+ int stride,
+ double[] ptr
+ ) ;
+ public native void glVertexPointer (
+ int size,
+ int type,
+ int stride,
+ boolean[] ptr
+ ) ;
+ public native void glVertexPointer (
+ int size,
+ int type,
+ int stride,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glNormalPointer (
+ int type,
+ int stride,
+ byte[] ptr
+ ) ;
+ public native void glNormalPointer (
+ int type,
+ int stride,
+ short[] ptr
+ ) ;
+ public native void glNormalPointer (
+ int type,
+ int stride,
+ int[] ptr
+ ) ;
+ public native void glNormalPointer (
+ int type,
+ int stride,
+ float[] ptr
+ ) ;
+ public native void glNormalPointer (
+ int type,
+ int stride,
+ double[] ptr
+ ) ;
+ public native void glNormalPointer (
+ int type,
+ int stride,
+ boolean[] ptr
+ ) ;
+ public native void glNormalPointer (
+ int type,
+ int stride,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glColorPointer (
+ int size,
+ int type,
+ int stride,
+ byte[] ptr
+ ) ;
+ public native void glColorPointer (
+ int size,
+ int type,
+ int stride,
+ short[] ptr
+ ) ;
+ public native void glColorPointer (
+ int size,
+ int type,
+ int stride,
+ int[] ptr
+ ) ;
+ public native void glColorPointer (
+ int size,
+ int type,
+ int stride,
+ float[] ptr
+ ) ;
+ public native void glColorPointer (
+ int size,
+ int type,
+ int stride,
+ double[] ptr
+ ) ;
+ public native void glColorPointer (
+ int size,
+ int type,
+ int stride,
+ boolean[] ptr
+ ) ;
+ public native void glColorPointer (
+ int size,
+ int type,
+ int stride,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glIndexPointer (
+ int type,
+ int stride,
+ byte[] ptr
+ ) ;
+ public native void glIndexPointer (
+ int type,
+ int stride,
+ short[] ptr
+ ) ;
+ public native void glIndexPointer (
+ int type,
+ int stride,
+ int[] ptr
+ ) ;
+ public native void glIndexPointer (
+ int type,
+ int stride,
+ float[] ptr
+ ) ;
+ public native void glIndexPointer (
+ int type,
+ int stride,
+ double[] ptr
+ ) ;
+ public native void glIndexPointer (
+ int type,
+ int stride,
+ boolean[] ptr
+ ) ;
+ public native void glIndexPointer (
+ int type,
+ int stride,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glTexCoordPointer (
+ int size,
+ int type,
+ int stride,
+ byte[] ptr
+ ) ;
+ public native void glTexCoordPointer (
+ int size,
+ int type,
+ int stride,
+ short[] ptr
+ ) ;
+ public native void glTexCoordPointer (
+ int size,
+ int type,
+ int stride,
+ int[] ptr
+ ) ;
+ public native void glTexCoordPointer (
+ int size,
+ int type,
+ int stride,
+ float[] ptr
+ ) ;
+ public native void glTexCoordPointer (
+ int size,
+ int type,
+ int stride,
+ double[] ptr
+ ) ;
+ public native void glTexCoordPointer (
+ int size,
+ int type,
+ int stride,
+ boolean[] ptr
+ ) ;
+ public native void glTexCoordPointer (
+ int size,
+ int type,
+ int stride,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glEdgeFlagPointer (
+ int stride,
+ byte[] ptr
+ ) ;
+ public native void glEdgeFlagPointer (
+ int stride,
+ short[] ptr
+ ) ;
+ public native void glEdgeFlagPointer (
+ int stride,
+ int[] ptr
+ ) ;
+ public native void glEdgeFlagPointer (
+ int stride,
+ float[] ptr
+ ) ;
+ public native void glEdgeFlagPointer (
+ int stride,
+ double[] ptr
+ ) ;
+ public native void glEdgeFlagPointer (
+ int stride,
+ boolean[] ptr
+ ) ;
+ public native void glEdgeFlagPointer (
+ int stride,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * </pre>
+ */
+ public native void glGetPointerv (
+ int pname,
+ byte[][] params
+ ) ;
+ public native void glGetPointerv (
+ int pname,
+ short[][] params
+ ) ;
+ public native void glGetPointerv (
+ int pname,
+ int[][] params
+ ) ;
+ public native void glGetPointerv (
+ int pname,
+ float[][] params
+ ) ;
+ public native void glGetPointerv (
+ int pname,
+ double[][] params
+ ) ;
+ public native void glGetPointerv (
+ int pname,
+ boolean[][] params
+ ) ;
+ public native void glGetPointerv (
+ int pname,
+ long[][] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glArrayElement ( GLint i ) ;
+ * </pre>
+ */
+ public native void glArrayElement (
+ int i
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * </pre>
+ */
+ public native void glDrawArrays (
+ int mode,
+ int first,
+ int count
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * </pre>
+ */
+ public native void glDrawElements (
+ int mode,
+ int count,
+ int type,
+ byte[] indices
+ ) ;
+ public native void glDrawElements (
+ int mode,
+ int count,
+ int type,
+ short[] indices
+ ) ;
+ public native void glDrawElements (
+ int mode,
+ int count,
+ int type,
+ int[] indices
+ ) ;
+ public native void glDrawElements (
+ int mode,
+ int count,
+ int type,
+ float[] indices
+ ) ;
+ public native void glDrawElements (
+ int mode,
+ int count,
+ int type,
+ double[] indices
+ ) ;
+ public native void glDrawElements (
+ int mode,
+ int count,
+ int type,
+ boolean[] indices
+ ) ;
+ public native void glDrawElements (
+ int mode,
+ int count,
+ int type,
+ long[] indices
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * </pre>
+ */
+ public native void glInterleavedArrays (
+ int format,
+ int stride,
+ byte[] pointer
+ ) ;
+ public native void glInterleavedArrays (
+ int format,
+ int stride,
+ short[] pointer
+ ) ;
+ public native void glInterleavedArrays (
+ int format,
+ int stride,
+ int[] pointer
+ ) ;
+ public native void glInterleavedArrays (
+ int format,
+ int stride,
+ float[] pointer
+ ) ;
+ public native void glInterleavedArrays (
+ int format,
+ int stride,
+ double[] pointer
+ ) ;
+ public native void glInterleavedArrays (
+ int format,
+ int stride,
+ boolean[] pointer
+ ) ;
+ public native void glInterleavedArrays (
+ int format,
+ int stride,
+ long[] pointer
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glShadeModel ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glShadeModel (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glLightf (
+ int light,
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glLighti (
+ int light,
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glLightfv (
+ int light,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glLightiv (
+ int light,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetLightfv (
+ int light,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetLightiv (
+ int light,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glLightModelf (
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glLightModeli (
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glLightModelfv (
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glLightModeliv (
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glMaterialf (
+ int face,
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glMateriali (
+ int face,
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glMaterialfv (
+ int face,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glMaterialiv (
+ int face,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetMaterialfv (
+ int face,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetMaterialiv (
+ int face,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * </pre>
+ */
+ public native void glColorMaterial (
+ int face,
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * </pre>
+ */
+ public native void glPixelZoom (
+ float xfactor,
+ float yfactor
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glPixelStoref (
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glPixelStorei (
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glPixelTransferf (
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glPixelTransferi (
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * </pre>
+ */
+ public native void glPixelMapfv (
+ int map,
+ int mapsize,
+ float[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * </pre>
+ */
+ public native void glPixelMapuiv (
+ int map,
+ int mapsize,
+ int[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * </pre>
+ */
+ public native void glPixelMapusv (
+ int map,
+ int mapsize,
+ short[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * </pre>
+ */
+ public native void glGetPixelMapfv (
+ int map,
+ float[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * </pre>
+ */
+ public native void glGetPixelMapuiv (
+ int map,
+ int[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * </pre>
+ */
+ public native void glGetPixelMapusv (
+ int map,
+ short[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * </pre>
+ */
+ public native void glBitmap (
+ int width,
+ int height,
+ float xorig,
+ float yorig,
+ float xmove,
+ float ymove,
+ byte[] bitmap
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glReadPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glReadPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glReadPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glReadPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glReadPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glReadPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glReadPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glDrawPixels (
+ int width,
+ int height,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glDrawPixels (
+ int width,
+ int height,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glDrawPixels (
+ int width,
+ int height,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glDrawPixels (
+ int width,
+ int height,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glDrawPixels (
+ int width,
+ int height,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glDrawPixels (
+ int width,
+ int height,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glDrawPixels (
+ int width,
+ int height,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * </pre>
+ */
+ public native void glCopyPixels (
+ int x,
+ int y,
+ int width,
+ int height,
+ int type
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * </pre>
+ */
+ public native void glStencilFunc (
+ int func,
+ int ref,
+ int mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glStencilMask ( GLuint mask ) ;
+ * </pre>
+ */
+ public native void glStencilMask (
+ int mask
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * </pre>
+ */
+ public native void glStencilOp (
+ int fail,
+ int zfail,
+ int zpass
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearStencil ( GLint s ) ;
+ * </pre>
+ */
+ public native void glClearStencil (
+ int s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * </pre>
+ */
+ public native void glTexGend (
+ int coord,
+ int pname,
+ double param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glTexGenf (
+ int coord,
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glTexGeni (
+ int coord,
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * </pre>
+ */
+ public native void glTexGendv (
+ int coord,
+ int pname,
+ double[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glTexGenfv (
+ int coord,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glTexGeniv (
+ int coord,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * </pre>
+ */
+ public native void glGetTexGendv (
+ int coord,
+ int pname,
+ double[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetTexGenfv (
+ int coord,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetTexGeniv (
+ int coord,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glTexEnvf (
+ int target,
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glTexEnvi (
+ int target,
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glTexEnvfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glTexEnviv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetTexEnvfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetTexEnviv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glTexParameterf (
+ int target,
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glTexParameteri (
+ int target,
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glTexParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glTexParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetTexParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetTexParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetTexLevelParameterfv (
+ int target,
+ int level,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetTexLevelParameteriv (
+ int target,
+ int level,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexImage1D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int border,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexImage1D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int border,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexImage1D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int border,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexImage1D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int border,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexImage1D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int border,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexImage1D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int border,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexImage1D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int border,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexImage2D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int border,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexImage2D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int border,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexImage2D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int border,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexImage2D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int border,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexImage2D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int border,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexImage2D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int border,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexImage2D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int border,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glGetTexImage (
+ int target,
+ int level,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glGetTexImage (
+ int target,
+ int level,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glGetTexImage (
+ int target,
+ int level,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glGetTexImage (
+ int target,
+ int level,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glGetTexImage (
+ int target,
+ int level,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glGetTexImage (
+ int target,
+ int level,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glGetTexImage (
+ int target,
+ int level,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * </pre>
+ */
+ public native void glGenTextures (
+ int n,
+ int[] textures
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * </pre>
+ */
+ public native void glDeleteTextures (
+ int n,
+ int[] textures
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * </pre>
+ */
+ public native void glBindTexture (
+ int target,
+ int texture
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * </pre>
+ */
+ public native void glPrioritizeTextures (
+ int n,
+ int[] textures,
+ float[] priorities
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * </pre>
+ */
+ public native boolean glAreTexturesResident (
+ int n,
+ int[] textures,
+ boolean[] residences
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsTexture ( GLuint texture ) ;
+ * </pre>
+ */
+ public native boolean glIsTexture (
+ int texture
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int width,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int width,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int width,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int width,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int width,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int width,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int width,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int width,
+ int height,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int width,
+ int height,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int width,
+ int height,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int width,
+ int height,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int width,
+ int height,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int width,
+ int height,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int width,
+ int height,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * </pre>
+ */
+ public native void glCopyTexImage1D (
+ int target,
+ int level,
+ int internalformat,
+ int x,
+ int y,
+ int width,
+ int border
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * </pre>
+ */
+ public native void glCopyTexImage2D (
+ int target,
+ int level,
+ int internalformat,
+ int x,
+ int y,
+ int width,
+ int height,
+ int border
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ public native void glCopyTexSubImage1D (
+ int target,
+ int level,
+ int xoffset,
+ int x,
+ int y,
+ int width
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ public native void glCopyTexSubImage2D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int x,
+ int y,
+ int width,
+ int height
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * </pre>
+ */
+ public native void glMap1d (
+ int target,
+ double u1,
+ double u2,
+ int stride,
+ int order,
+ double[] points
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * </pre>
+ */
+ public native void glMap1f (
+ int target,
+ float u1,
+ float u2,
+ int stride,
+ int order,
+ float[] points
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * </pre>
+ */
+ public native void glMap2d (
+ int target,
+ double u1,
+ double u2,
+ int ustride,
+ int uorder,
+ double v1,
+ double v2,
+ int vstride,
+ int vorder,
+ double[] points
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * </pre>
+ */
+ public native void glMap2f (
+ int target,
+ float u1,
+ float u2,
+ int ustride,
+ int uorder,
+ float v1,
+ float v2,
+ int vstride,
+ int vorder,
+ float[] points
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glGetMapdv (
+ int target,
+ int query,
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glGetMapfv (
+ int target,
+ int query,
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * </pre>
+ */
+ public native void glGetMapiv (
+ int target,
+ int query,
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1d ( GLdouble u ) ;
+ * </pre>
+ */
+ public native void glEvalCoord1d (
+ double u
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1f ( GLfloat u ) ;
+ * </pre>
+ */
+ public native void glEvalCoord1f (
+ float u
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * </pre>
+ */
+ public native void glEvalCoord1dv (
+ double[] u
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * </pre>
+ */
+ public native void glEvalCoord1fv (
+ float[] u
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * </pre>
+ */
+ public native void glEvalCoord2d (
+ double u,
+ double v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * </pre>
+ */
+ public native void glEvalCoord2f (
+ float u,
+ float v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * </pre>
+ */
+ public native void glEvalCoord2dv (
+ double[] u
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * </pre>
+ */
+ public native void glEvalCoord2fv (
+ float[] u
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * </pre>
+ */
+ public native void glMapGrid1d (
+ int un,
+ double u1,
+ double u2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * </pre>
+ */
+ public native void glMapGrid1f (
+ int un,
+ float u1,
+ float u2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * </pre>
+ */
+ public native void glMapGrid2d (
+ int un,
+ double u1,
+ double u2,
+ int vn,
+ double v1,
+ double v2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * </pre>
+ */
+ public native void glMapGrid2f (
+ int un,
+ float u1,
+ float u2,
+ int vn,
+ float v1,
+ float v2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalPoint1 ( GLint i ) ;
+ * </pre>
+ */
+ public native void glEvalPoint1 (
+ int i
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * </pre>
+ */
+ public native void glEvalPoint2 (
+ int i,
+ int j
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * </pre>
+ */
+ public native void glEvalMesh1 (
+ int mode,
+ int i1,
+ int i2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * </pre>
+ */
+ public native void glEvalMesh2 (
+ int mode,
+ int i1,
+ int i2,
+ int j1,
+ int j2
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glFogf (
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogi ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ public native void glFogi (
+ int pname,
+ int param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glFogfv (
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glFogiv (
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * </pre>
+ */
+ public native void glFeedbackBuffer (
+ int size,
+ int type,
+ float[] buffer
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPassThrough ( GLfloat token ) ;
+ * </pre>
+ */
+ public native void glPassThrough (
+ float token
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * </pre>
+ */
+ public native void glSelectBuffer (
+ int size,
+ int[] buffer
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glInitNames ( void ) ;
+ * </pre>
+ */
+ public native void glInitNames (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadName ( GLuint name ) ;
+ * </pre>
+ */
+ public native void glLoadName (
+ int name
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushName ( GLuint name ) ;
+ * </pre>
+ */
+ public native void glPushName (
+ int name
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopName ( void ) ;
+ * </pre>
+ */
+ public native void glPopName (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * </pre>
+ */
+ public native void glDrawRangeElements (
+ int mode,
+ int start,
+ int end,
+ int count,
+ int type,
+ byte[] indices
+ ) ;
+ public native void glDrawRangeElements (
+ int mode,
+ int start,
+ int end,
+ int count,
+ int type,
+ short[] indices
+ ) ;
+ public native void glDrawRangeElements (
+ int mode,
+ int start,
+ int end,
+ int count,
+ int type,
+ int[] indices
+ ) ;
+ public native void glDrawRangeElements (
+ int mode,
+ int start,
+ int end,
+ int count,
+ int type,
+ float[] indices
+ ) ;
+ public native void glDrawRangeElements (
+ int mode,
+ int start,
+ int end,
+ int count,
+ int type,
+ double[] indices
+ ) ;
+ public native void glDrawRangeElements (
+ int mode,
+ int start,
+ int end,
+ int count,
+ int type,
+ boolean[] indices
+ ) ;
+ public native void glDrawRangeElements (
+ int mode,
+ int start,
+ int end,
+ int count,
+ int type,
+ long[] indices
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexImage3D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexImage3D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexImage3D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexImage3D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexImage3D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexImage3D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexImage3D (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ public native void glCopyTexSubImage3D (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int x,
+ int y,
+ int width,
+ int height
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * </pre>
+ */
+ public native void glColorTable (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ byte[] table
+ ) ;
+ public native void glColorTable (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ short[] table
+ ) ;
+ public native void glColorTable (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ int[] table
+ ) ;
+ public native void glColorTable (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ float[] table
+ ) ;
+ public native void glColorTable (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ double[] table
+ ) ;
+ public native void glColorTable (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ boolean[] table
+ ) ;
+ public native void glColorTable (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ long[] table
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * </pre>
+ */
+ public native void glColorSubTable (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ byte[] data
+ ) ;
+ public native void glColorSubTable (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ short[] data
+ ) ;
+ public native void glColorSubTable (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ int[] data
+ ) ;
+ public native void glColorSubTable (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ float[] data
+ ) ;
+ public native void glColorSubTable (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ double[] data
+ ) ;
+ public native void glColorSubTable (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ boolean[] data
+ ) ;
+ public native void glColorSubTable (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ long[] data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glColorTableParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glColorTableParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ public native void glCopyColorSubTable (
+ int target,
+ int start,
+ int x,
+ int y,
+ int width
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ public native void glCopyColorTable (
+ int target,
+ int internalformat,
+ int x,
+ int y,
+ int width
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * </pre>
+ */
+ public native void glGetColorTable (
+ int target,
+ int format,
+ int type,
+ byte[] table
+ ) ;
+ public native void glGetColorTable (
+ int target,
+ int format,
+ int type,
+ short[] table
+ ) ;
+ public native void glGetColorTable (
+ int target,
+ int format,
+ int type,
+ int[] table
+ ) ;
+ public native void glGetColorTable (
+ int target,
+ int format,
+ int type,
+ float[] table
+ ) ;
+ public native void glGetColorTable (
+ int target,
+ int format,
+ int type,
+ double[] table
+ ) ;
+ public native void glGetColorTable (
+ int target,
+ int format,
+ int type,
+ boolean[] table
+ ) ;
+ public native void glGetColorTable (
+ int target,
+ int format,
+ int type,
+ long[] table
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetColorTableParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetColorTableParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendEquation ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glBlendEquation (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * </pre>
+ */
+ public native void glBlendColor (
+ float red,
+ float green,
+ float blue,
+ float alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * </pre>
+ */
+ public native void glHistogram (
+ int target,
+ int width,
+ int internalformat,
+ boolean sink
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glResetHistogram ( GLenum target ) ;
+ * </pre>
+ */
+ public native void glResetHistogram (
+ int target
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * </pre>
+ */
+ public native void glGetHistogram (
+ int target,
+ boolean reset,
+ int format,
+ int type,
+ byte[] values
+ ) ;
+ public native void glGetHistogram (
+ int target,
+ boolean reset,
+ int format,
+ int type,
+ short[] values
+ ) ;
+ public native void glGetHistogram (
+ int target,
+ boolean reset,
+ int format,
+ int type,
+ int[] values
+ ) ;
+ public native void glGetHistogram (
+ int target,
+ boolean reset,
+ int format,
+ int type,
+ float[] values
+ ) ;
+ public native void glGetHistogram (
+ int target,
+ boolean reset,
+ int format,
+ int type,
+ double[] values
+ ) ;
+ public native void glGetHistogram (
+ int target,
+ boolean reset,
+ int format,
+ int type,
+ boolean[] values
+ ) ;
+ public native void glGetHistogram (
+ int target,
+ boolean reset,
+ int format,
+ int type,
+ long[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetHistogramParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetHistogramParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * </pre>
+ */
+ public native void glMinmax (
+ int target,
+ int internalformat,
+ boolean sink
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glResetMinmax ( GLenum target ) ;
+ * </pre>
+ */
+ public native void glResetMinmax (
+ int target
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * </pre>
+ */
+ public native void glGetMinmax (
+ int target,
+ boolean reset,
+ int format,
+ int types,
+ byte[] values
+ ) ;
+ public native void glGetMinmax (
+ int target,
+ boolean reset,
+ int format,
+ int types,
+ short[] values
+ ) ;
+ public native void glGetMinmax (
+ int target,
+ boolean reset,
+ int format,
+ int types,
+ int[] values
+ ) ;
+ public native void glGetMinmax (
+ int target,
+ boolean reset,
+ int format,
+ int types,
+ float[] values
+ ) ;
+ public native void glGetMinmax (
+ int target,
+ boolean reset,
+ int format,
+ int types,
+ double[] values
+ ) ;
+ public native void glGetMinmax (
+ int target,
+ boolean reset,
+ int format,
+ int types,
+ boolean[] values
+ ) ;
+ public native void glGetMinmax (
+ int target,
+ boolean reset,
+ int format,
+ int types,
+ long[] values
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetMinmaxParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetMinmaxParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * </pre>
+ */
+ public native void glConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ byte[] image
+ ) ;
+ public native void glConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ short[] image
+ ) ;
+ public native void glConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ int[] image
+ ) ;
+ public native void glConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ float[] image
+ ) ;
+ public native void glConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ double[] image
+ ) ;
+ public native void glConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ boolean[] image
+ ) ;
+ public native void glConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ long[] image
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * </pre>
+ */
+ public native void glConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ byte[] image
+ ) ;
+ public native void glConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ short[] image
+ ) ;
+ public native void glConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int[] image
+ ) ;
+ public native void glConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ float[] image
+ ) ;
+ public native void glConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ double[] image
+ ) ;
+ public native void glConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ boolean[] image
+ ) ;
+ public native void glConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ long[] image
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * </pre>
+ */
+ public native void glConvolutionParameterf (
+ int target,
+ int pname,
+ float params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glConvolutionParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * </pre>
+ */
+ public native void glConvolutionParameteri (
+ int target,
+ int pname,
+ int params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ public native void glConvolutionParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ public native void glCopyConvolutionFilter1D (
+ int target,
+ int internalformat,
+ int x,
+ int y,
+ int width
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ public native void glCopyConvolutionFilter2D (
+ int target,
+ int internalformat,
+ int x,
+ int y,
+ int width,
+ int height
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * </pre>
+ */
+ public native void glGetConvolutionFilter (
+ int target,
+ int format,
+ int type,
+ byte[] image
+ ) ;
+ public native void glGetConvolutionFilter (
+ int target,
+ int format,
+ int type,
+ short[] image
+ ) ;
+ public native void glGetConvolutionFilter (
+ int target,
+ int format,
+ int type,
+ int[] image
+ ) ;
+ public native void glGetConvolutionFilter (
+ int target,
+ int format,
+ int type,
+ float[] image
+ ) ;
+ public native void glGetConvolutionFilter (
+ int target,
+ int format,
+ int type,
+ double[] image
+ ) ;
+ public native void glGetConvolutionFilter (
+ int target,
+ int format,
+ int type,
+ boolean[] image
+ ) ;
+ public native void glGetConvolutionFilter (
+ int target,
+ int format,
+ int type,
+ long[] image
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetConvolutionParameterfv (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetConvolutionParameteriv (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * </pre>
+ */
+ public native void glSeparableFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ byte[] row,
+ byte[] column
+ ) ;
+ public native void glSeparableFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ short[] row,
+ short[] column
+ ) ;
+ public native void glSeparableFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ int[] row,
+ int[] column
+ ) ;
+ public native void glSeparableFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ float[] row,
+ float[] column
+ ) ;
+ public native void glSeparableFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ double[] row,
+ double[] column
+ ) ;
+ public native void glSeparableFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ boolean[] row,
+ boolean[] column
+ ) ;
+ public native void glSeparableFilter2D (
+ int target,
+ int internalformat,
+ int width,
+ int height,
+ int format,
+ int type,
+ long[] row,
+ long[] column
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * </pre>
+ */
+ public native void glGetSeparableFilter (
+ int target,
+ int format,
+ int type,
+ byte[] row,
+ byte[] column,
+ byte[] span
+ ) ;
+ public native void glGetSeparableFilter (
+ int target,
+ int format,
+ int type,
+ short[] row,
+ short[] column,
+ short[] span
+ ) ;
+ public native void glGetSeparableFilter (
+ int target,
+ int format,
+ int type,
+ int[] row,
+ int[] column,
+ int[] span
+ ) ;
+ public native void glGetSeparableFilter (
+ int target,
+ int format,
+ int type,
+ float[] row,
+ float[] column,
+ float[] span
+ ) ;
+ public native void glGetSeparableFilter (
+ int target,
+ int format,
+ int type,
+ double[] row,
+ double[] column,
+ double[] span
+ ) ;
+ public native void glGetSeparableFilter (
+ int target,
+ int format,
+ int type,
+ boolean[] row,
+ boolean[] column,
+ boolean[] span
+ ) ;
+ public native void glGetSeparableFilter (
+ int target,
+ int format,
+ int type,
+ long[] row,
+ long[] column,
+ long[] span
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * </pre>
+ */
+ public native void glBlendColorEXT (
+ float red,
+ float green,
+ float blue,
+ float alpha
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * </pre>
+ */
+ public native void glPolygonOffsetEXT (
+ float factor,
+ float bias
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexImage3DEXT (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexImage3DEXT (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexImage3DEXT (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexImage3DEXT (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexImage3DEXT (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexImage3DEXT (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexImage3DEXT (
+ int target,
+ int level,
+ int internalFormat,
+ int width,
+ int height,
+ int depth,
+ int border,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ public native void glTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ byte[] pixels
+ ) ;
+ public native void glTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ short[] pixels
+ ) ;
+ public native void glTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ int[] pixels
+ ) ;
+ public native void glTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ float[] pixels
+ ) ;
+ public native void glTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ double[] pixels
+ ) ;
+ public native void glTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ boolean[] pixels
+ ) ;
+ public native void glTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int width,
+ int height,
+ int depth,
+ int format,
+ int type,
+ long[] pixels
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ public native void glCopyTexSubImage3DEXT (
+ int target,
+ int level,
+ int xoffset,
+ int yoffset,
+ int zoffset,
+ int x,
+ int y,
+ int width,
+ int height
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * </pre>
+ */
+ public native void glGenTexturesEXT (
+ int n,
+ int[] textures
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * </pre>
+ */
+ public native void glDeleteTexturesEXT (
+ int n,
+ int[] textures
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * </pre>
+ */
+ public native void glBindTextureEXT (
+ int target,
+ int texture
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * </pre>
+ */
+ public native void glPrioritizeTexturesEXT (
+ int n,
+ int[] textures,
+ float[] priorities
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * </pre>
+ */
+ public native boolean glAreTexturesResidentEXT (
+ int n,
+ int[] textures,
+ boolean[] residences
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * </pre>
+ */
+ public native boolean glIsTextureEXT (
+ int texture
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glVertexPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ byte[] ptr
+ ) ;
+ public native void glVertexPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ short[] ptr
+ ) ;
+ public native void glVertexPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ int[] ptr
+ ) ;
+ public native void glVertexPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ float[] ptr
+ ) ;
+ public native void glVertexPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ double[] ptr
+ ) ;
+ public native void glVertexPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ boolean[] ptr
+ ) ;
+ public native void glVertexPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glNormalPointerEXT (
+ int type,
+ int stride,
+ int count,
+ byte[] ptr
+ ) ;
+ public native void glNormalPointerEXT (
+ int type,
+ int stride,
+ int count,
+ short[] ptr
+ ) ;
+ public native void glNormalPointerEXT (
+ int type,
+ int stride,
+ int count,
+ int[] ptr
+ ) ;
+ public native void glNormalPointerEXT (
+ int type,
+ int stride,
+ int count,
+ float[] ptr
+ ) ;
+ public native void glNormalPointerEXT (
+ int type,
+ int stride,
+ int count,
+ double[] ptr
+ ) ;
+ public native void glNormalPointerEXT (
+ int type,
+ int stride,
+ int count,
+ boolean[] ptr
+ ) ;
+ public native void glNormalPointerEXT (
+ int type,
+ int stride,
+ int count,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glColorPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ byte[] ptr
+ ) ;
+ public native void glColorPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ short[] ptr
+ ) ;
+ public native void glColorPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ int[] ptr
+ ) ;
+ public native void glColorPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ float[] ptr
+ ) ;
+ public native void glColorPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ double[] ptr
+ ) ;
+ public native void glColorPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ boolean[] ptr
+ ) ;
+ public native void glColorPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glIndexPointerEXT (
+ int type,
+ int stride,
+ int count,
+ byte[] ptr
+ ) ;
+ public native void glIndexPointerEXT (
+ int type,
+ int stride,
+ int count,
+ short[] ptr
+ ) ;
+ public native void glIndexPointerEXT (
+ int type,
+ int stride,
+ int count,
+ int[] ptr
+ ) ;
+ public native void glIndexPointerEXT (
+ int type,
+ int stride,
+ int count,
+ float[] ptr
+ ) ;
+ public native void glIndexPointerEXT (
+ int type,
+ int stride,
+ int count,
+ double[] ptr
+ ) ;
+ public native void glIndexPointerEXT (
+ int type,
+ int stride,
+ int count,
+ boolean[] ptr
+ ) ;
+ public native void glIndexPointerEXT (
+ int type,
+ int stride,
+ int count,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ public native void glTexCoordPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ byte[] ptr
+ ) ;
+ public native void glTexCoordPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ short[] ptr
+ ) ;
+ public native void glTexCoordPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ int[] ptr
+ ) ;
+ public native void glTexCoordPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ float[] ptr
+ ) ;
+ public native void glTexCoordPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ double[] ptr
+ ) ;
+ public native void glTexCoordPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ boolean[] ptr
+ ) ;
+ public native void glTexCoordPointerEXT (
+ int size,
+ int type,
+ int stride,
+ int count,
+ long[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * </pre>
+ */
+ public native void glEdgeFlagPointerEXT (
+ int stride,
+ int count,
+ boolean[] ptr
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * </pre>
+ */
+ public native void glGetPointervEXT (
+ int pname,
+ byte[][] params
+ ) ;
+ public native void glGetPointervEXT (
+ int pname,
+ short[][] params
+ ) ;
+ public native void glGetPointervEXT (
+ int pname,
+ int[][] params
+ ) ;
+ public native void glGetPointervEXT (
+ int pname,
+ float[][] params
+ ) ;
+ public native void glGetPointervEXT (
+ int pname,
+ double[][] params
+ ) ;
+ public native void glGetPointervEXT (
+ int pname,
+ boolean[][] params
+ ) ;
+ public native void glGetPointervEXT (
+ int pname,
+ long[][] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glArrayElementEXT ( GLint i ) ;
+ * </pre>
+ */
+ public native void glArrayElementEXT (
+ int i
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * </pre>
+ */
+ public native void glDrawArraysEXT (
+ int mode,
+ int first,
+ int count
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendEquationEXT ( GLenum mode ) ;
+ * </pre>
+ */
+ public native void glBlendEquationEXT (
+ int mode
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ public native void glPointParameterfEXT (
+ int pname,
+ float param
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glPointParameterfvEXT (
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * </pre>
+ */
+ public native void glColorTableEXT (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ byte[] table
+ ) ;
+ public native void glColorTableEXT (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ short[] table
+ ) ;
+ public native void glColorTableEXT (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ int[] table
+ ) ;
+ public native void glColorTableEXT (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ float[] table
+ ) ;
+ public native void glColorTableEXT (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ double[] table
+ ) ;
+ public native void glColorTableEXT (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ boolean[] table
+ ) ;
+ public native void glColorTableEXT (
+ int target,
+ int internalformat,
+ int width,
+ int format,
+ int type,
+ long[] table
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * </pre>
+ */
+ public native void glColorSubTableEXT (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ byte[] data
+ ) ;
+ public native void glColorSubTableEXT (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ short[] data
+ ) ;
+ public native void glColorSubTableEXT (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ int[] data
+ ) ;
+ public native void glColorSubTableEXT (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ float[] data
+ ) ;
+ public native void glColorSubTableEXT (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ double[] data
+ ) ;
+ public native void glColorSubTableEXT (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ boolean[] data
+ ) ;
+ public native void glColorSubTableEXT (
+ int target,
+ int start,
+ int count,
+ int format,
+ int type,
+ long[] data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * </pre>
+ */
+ public native void glGetColorTableEXT (
+ int target,
+ int format,
+ int type,
+ byte[] table
+ ) ;
+ public native void glGetColorTableEXT (
+ int target,
+ int format,
+ int type,
+ short[] table
+ ) ;
+ public native void glGetColorTableEXT (
+ int target,
+ int format,
+ int type,
+ int[] table
+ ) ;
+ public native void glGetColorTableEXT (
+ int target,
+ int format,
+ int type,
+ float[] table
+ ) ;
+ public native void glGetColorTableEXT (
+ int target,
+ int format,
+ int type,
+ double[] table
+ ) ;
+ public native void glGetColorTableEXT (
+ int target,
+ int format,
+ int type,
+ boolean[] table
+ ) ;
+ public native void glGetColorTableEXT (
+ int target,
+ int format,
+ int type,
+ long[] table
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ public native void glGetColorTableParameterfvEXT (
+ int target,
+ int pname,
+ float[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ public native void glGetColorTableParameterivEXT (
+ int target,
+ int pname,
+ int[] params
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * </pre>
+ */
+ public native void glLockArraysEXT (
+ int first,
+ int count
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glUnlockArraysEXT ( void ) ;
+ * </pre>
+ */
+ public native void glUnlockArraysEXT (
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glActiveTextureARB ( GLenum texture ) ;
+ * </pre>
+ */
+ public native void glActiveTextureARB (
+ int texture
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * </pre>
+ */
+ public native void glClientActiveTextureARB (
+ int texture
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1dARB (
+ int target,
+ double s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1dvARB (
+ int target,
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1fARB (
+ int target,
+ float s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1fvARB (
+ int target,
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1iARB (
+ int target,
+ int s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1ivARB (
+ int target,
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1sARB (
+ int target,
+ short s
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord1svARB (
+ int target,
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2dARB (
+ int target,
+ double s,
+ double t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2dvARB (
+ int target,
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2fARB (
+ int target,
+ float s,
+ float t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2fvARB (
+ int target,
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2iARB (
+ int target,
+ int s,
+ int t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2ivARB (
+ int target,
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2sARB (
+ int target,
+ short s,
+ short t
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord2svARB (
+ int target,
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3dARB (
+ int target,
+ double s,
+ double t,
+ double r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3dvARB (
+ int target,
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3fARB (
+ int target,
+ float s,
+ float t,
+ float r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3fvARB (
+ int target,
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3iARB (
+ int target,
+ int s,
+ int t,
+ int r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3ivARB (
+ int target,
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3sARB (
+ int target,
+ short s,
+ short t,
+ short r
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord3svARB (
+ int target,
+ short[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4dARB (
+ int target,
+ double s,
+ double t,
+ double r,
+ double q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4dvARB (
+ int target,
+ double[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4fARB (
+ int target,
+ float s,
+ float t,
+ float r,
+ float q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4fvARB (
+ int target,
+ float[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4iARB (
+ int target,
+ int s,
+ int t,
+ int r,
+ int q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4ivARB (
+ int target,
+ int[] v
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4sARB (
+ int target,
+ short s,
+ short t,
+ short r,
+ short q
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ public native void glMultiTexCoord4svARB (
+ int target,
+ short[] v
+ ) ;
+
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/GLUEnum.java b/gl4java/GLUEnum.java
index b34eb08..0ce9229 100644
--- a/gl4java/GLUEnum.java
+++ b/gl4java/GLUEnum.java
@@ -22,7 +22,7 @@ public interface GLUEnum
{
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-enum-auto.orig.h . . .
* Destination-Class: gl4java_GLUEnum !
@@ -134,8 +134,8 @@ public interface GLUEnum
public static final int GLU_EDGE_FLAG = GLU_TESS_EDGE_FLAG;
public static final int GLU_END = GLU_TESS_END;
public static final int GLU_ERROR = GLU_TESS_ERROR;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/GLUFunc.java b/gl4java/GLUFunc.java
index afee2cb..4a28f66 100644
--- a/gl4java/GLUFunc.java
+++ b/gl4java/GLUFunc.java
@@ -69,7 +69,7 @@ public void gluDeleteNurbsRenderer( long nobj );
public void gluDeleteTess( long tobj );
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -744,8 +744,8 @@ public void gluDeleteTess( long tobj );
long tobj
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/GLUFuncJauJNI.java b/gl4java/GLUFuncJauJNI.java
index 729c724..17c2153 100644
--- a/gl4java/GLUFuncJauJNI.java
+++ b/gl4java/GLUFuncJauJNI.java
@@ -32,7 +32,7 @@ public final String getClassVendor ( )
{ return "Jausoft - Sven Goethel Software Development"; }
public final String getClassVersion ( )
-{ return "2.5.2.0"; }
+{ return "2.7.0.0"; }
/**
@@ -143,7 +143,7 @@ public final native long gluNewNurbsRenderer( );
public final native long gluNewTess( );
/**
- * C2J Parser Version 1.5 Beta
+ * C2J Parser Version 2.0
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -818,8 +818,8 @@ public final native long gluNewTess( );
long tobj
) ;
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/GLUFuncJauJNInf.java b/gl4java/GLUFuncJauJNInf.java
index 5671ebf..0c9736c 100644
--- a/gl4java/GLUFuncJauJNInf.java
+++ b/gl4java/GLUFuncJauJNInf.java
@@ -1,825 +1,825 @@
-/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
-
- DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
-*/
-
-
-/**
- * @(#) GLUFuncJauJNInf.java
- */
-
-
-package gl4java;
-
-/**
- * The default implementation class for GLU native function mapping
- *
- * @version 2.00, 21. April 1999
- * @author Sven Goethel
- */
-public class GLUFuncJauJNInf
- implements GLUFunc
-{
-
-
-public native String gluErrorString ( int errorCode ) ;
-public native String gluGetString ( int name ) ;
-
-public native String getNativeVendor ( ) ;
-public native String getNativeVersion ( ) ;
-
-public String getClassVendor ( )
-{ return "Jausoft - Sven Goethel Software Development"; }
-
-public String getClassVersion ( )
-{ return "2.5.2.0"; }
-
-
-/**
- * The Callback registry function.
- * To achieve the signature (internal argument signature)
- * you can use the "javap -s <classname>" toolkit of the JDK !
- *
- * @param qobj the quadratic id, fetch with gluNewQuadric
- * @param which the id for the callback type
- * @param methodClassInstance the class instance,
- * which implements the callback-method
- * @param methodName the name of the callback-method
- * @param signature the signature of the callback-method.
- *
- * @see GLUFunc#gluNewQuadric
- */
-public native void gluQuadricCallback(
- long qobj, int which,
- Object methodClassInstance,
- String methodName,
- String signature
- );
-
-/**
- * The Callback registry function.
- * To achieve the signature (internal argument signature)
- * you can use the "javap -s <classname>" toolkit of the JDK !
- *
- * @param nobj the nurbs id, fetch with gluNewNurbsRenderer
- * @param which the id for the callback type
- * @param methodClassInstance the class instance,
- * which implements the callback-method
- * @param methodName the name of the callback-method
- * @param signature the signature of the callback-method.
- *
- * @see GLUFunc#gluNewNurbsRenderer
- */
-public native void gluNurbsCallback(
- long nobj, int which,
- Object methodClassInstance,
- String methodName,
- String signature
- );
-
-
-/**
- * The Callback registry function.
- * To achieve the signature (internal argument signature)
- * you can use the "javap -s <classname>" toolkit of the JDK !
- *
- * @param tobj the tesselation id, fetch with gluNewTess
- * @param which the id for the callback type
- * @param methodClassInstance the class instance,
- * which implements the callback-method
- * @param methodName the name of the callback-method
- * @param signature the signature of the callback-method.
- * @param voidArrayLen1 the optional length of the 1st array
- * in the callback-methods argument-list
- * @param voidArrayLen2 the optional length of the 2nd array
- * in the callback-methods argument-list
- * @param voidArrayLen3 the optional length of the 3rd array
- * in the callback-methods argument-list
- * @param voidArrayLen4 the optional length of the 4th array
- * in the callback-methods argument-list
- * @param voidArrayLen5 the optional length of the 5th array
- * in the callback-methods argument-list
- *
- * @see GLUFunc#gluNewTess
- */
-public native void gluTessCallback(
- long tobj, int which,
- Object methodClassInstance,
- String methodName,
- String signature,
- int voidArrayLen1,
- int voidArrayLen2,
- int voidArrayLen3,
- int voidArrayLen4,
- int voidArrayLen5
- );
-
-/**
- * The Callback de-registry function.
- *
- * @param qobj the quadratic id, for which all callback-methods
- * should be de-registered
- */
-public native void gluDeleteQuadric( long qobj );
-
-/**
- * The Callback de-registry function.
- *
- * @param nobj the nurbs id, for which all callback-methods
- * should be de-registered
- */
-public native void gluDeleteNurbsRenderer( long nobj );
-
-/**
- * The Callback de-registry function.
- *
- * @param tobj the tesselation id, for which all callback-methods
- * should be de-registered
- */
-public native void gluDeleteTess( long tobj );
-
-public native long gluNewQuadric( );
-public native long gluNewNurbsRenderer( );
-public native long gluNewTess( );
-
-/**
- * C2J Parser Version 1.5 Beta
- * Jausoft - Sven Goethel Software Development
- * Reading from file: glu-proto-auto.orig.h . . .
- * Destination-Class: gl4java_GLUFuncJauJNInf !
- */
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
- * </pre>
- */
- public native void gluLookAt (
- double eyex,
- double eyey,
- double eyez,
- double centerx,
- double centery,
- double centerz,
- double upx,
- double upy,
- double upz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
- * </pre>
- */
- public native void gluOrtho2D (
- double left,
- double right,
- double bottom,
- double top
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
- * </pre>
- */
- public native void gluPerspective (
- double fovy,
- double aspect,
- double zNear,
- double zFar
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
- * </pre>
- */
- public native void gluPickMatrix (
- double x,
- double y,
- double width,
- double height,
- int[] viewport
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
- * </pre>
- */
- public native int gluProject (
- double objx,
- double objy,
- double objz,
- double[] modelMatrix,
- double[] projMatrix,
- int[] viewport,
- double[] winx,
- double[] winy,
- double[] winz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
- * </pre>
- */
- public native int gluUnProject (
- double winx,
- double winy,
- double winz,
- double[] modelMatrix,
- double[] projMatrix,
- int[] viewport,
- double[] objx,
- double[] objy,
- double[] objz
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
- * </pre>
- */
- public native int gluScaleImage (
- int format,
- int widthin,
- int heightin,
- int typein,
- byte[] datain,
- int widthout,
- int heightout,
- int typeout,
- byte[] dataout
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
- * </pre>
- */
- public native int gluBuild1DMipmaps (
- int target,
- int components,
- int width,
- int format,
- int type,
- byte[] data
- ) ;
- public native int gluBuild1DMipmaps (
- int target,
- int components,
- int width,
- int format,
- int type,
- short[] data
- ) ;
- public native int gluBuild1DMipmaps (
- int target,
- int components,
- int width,
- int format,
- int type,
- int[] data
- ) ;
- public native int gluBuild1DMipmaps (
- int target,
- int components,
- int width,
- int format,
- int type,
- float[] data
- ) ;
- public native int gluBuild1DMipmaps (
- int target,
- int components,
- int width,
- int format,
- int type,
- double[] data
- ) ;
- public native int gluBuild1DMipmaps (
- int target,
- int components,
- int width,
- int format,
- int type,
- boolean[] data
- ) ;
- public native int gluBuild1DMipmaps (
- int target,
- int components,
- int width,
- int format,
- int type,
- long[] data
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
- * </pre>
- */
- public native int gluBuild2DMipmaps (
- int target,
- int components,
- int width,
- int height,
- int format,
- int type,
- byte[] data
- ) ;
- public native int gluBuild2DMipmaps (
- int target,
- int components,
- int width,
- int height,
- int format,
- int type,
- short[] data
- ) ;
- public native int gluBuild2DMipmaps (
- int target,
- int components,
- int width,
- int height,
- int format,
- int type,
- int[] data
- ) ;
- public native int gluBuild2DMipmaps (
- int target,
- int components,
- int width,
- int height,
- int format,
- int type,
- float[] data
- ) ;
- public native int gluBuild2DMipmaps (
- int target,
- int components,
- int width,
- int height,
- int format,
- int type,
- double[] data
- ) ;
- public native int gluBuild2DMipmaps (
- int target,
- int components,
- int width,
- int height,
- int format,
- int type,
- boolean[] data
- ) ;
- public native int gluBuild2DMipmaps (
- int target,
- int components,
- int width,
- int height,
- int format,
- int type,
- long[] data
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
- * </pre>
- */
- public native void gluQuadricDrawStyle (
- long quadObject,
- int drawStyle
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
- * </pre>
- */
- public native void gluQuadricOrientation (
- long quadObject,
- int orientation
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
- * </pre>
- */
- public native void gluQuadricNormals (
- long quadObject,
- int normals
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
- * </pre>
- */
- public native void gluQuadricTexture (
- long quadObject,
- boolean textureCoords
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
- * </pre>
- */
- public native void gluCylinder (
- long qobj,
- double baseRadius,
- double topRadius,
- double height,
- int slices,
- int stacks
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
- * </pre>
- */
- public native void gluSphere (
- long qobj,
- double radius,
- int slices,
- int stacks
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
- * </pre>
- */
- public native void gluDisk (
- long qobj,
- double innerRadius,
- double outerRadius,
- int slices,
- int loops
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
- * </pre>
- */
- public native void gluPartialDisk (
- long qobj,
- double innerRadius,
- double outerRadius,
- int slices,
- int loops,
- double startAngle,
- double sweepAngle
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
- * </pre>
- */
- public native void gluLoadSamplingMatrices (
- long nobj,
- float[] modelMatrix,
- float[] projMatrix,
- int[] viewport
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
- * </pre>
- */
- public native void gluNurbsProperty (
- long nobj,
- int property,
- float value
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
- * </pre>
- */
- public native void gluGetNurbsProperty (
- long nobj,
- int property,
- float[] value
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- public native void gluBeginCurve (
- long nobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- public native void gluEndCurve (
- long nobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
- * </pre>
- */
- public native void gluNurbsCurve (
- long nobj,
- int nknots,
- float[] knot,
- int stride,
- float[] ctlarray,
- int order,
- int type
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- public native void gluBeginSurface (
- long nobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- public native void gluEndSurface (
- long nobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
- * </pre>
- */
- public native void gluNurbsSurface (
- long nobj,
- int sknot_count,
- float[] sknot,
- int tknot_count,
- float[] tknot,
- int s_stride,
- int t_stride,
- float[] ctlarray,
- int sorder,
- int torder,
- int type
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- public native void gluBeginTrim (
- long nobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- public native void gluEndTrim (
- long nobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
- * </pre>
- */
- public native void gluPwlCurve (
- long nobj,
- int count,
- float[] array,
- int stride,
- int type
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
- * </pre>
- */
- public native void gluTessBeginPolygon (
- long tobj,
- byte[] polygon_data
- ) ;
- public native void gluTessBeginPolygon (
- long tobj,
- short[] polygon_data
- ) ;
- public native void gluTessBeginPolygon (
- long tobj,
- int[] polygon_data
- ) ;
- public native void gluTessBeginPolygon (
- long tobj,
- float[] polygon_data
- ) ;
- public native void gluTessBeginPolygon (
- long tobj,
- double[] polygon_data
- ) ;
- public native void gluTessBeginPolygon (
- long tobj,
- boolean[] polygon_data
- ) ;
- public native void gluTessBeginPolygon (
- long tobj,
- long[] polygon_data
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
- * </pre>
- */
- public native void gluTessBeginContour (
- long tobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
- * </pre>
- */
- public native void gluTessVertex (
- long tobj,
- double[] coords,
- byte[] vertex_data
- ) ;
- public native void gluTessVertex (
- long tobj,
- double[] coords,
- short[] vertex_data
- ) ;
- public native void gluTessVertex (
- long tobj,
- double[] coords,
- int[] vertex_data
- ) ;
- public native void gluTessVertex (
- long tobj,
- double[] coords,
- float[] vertex_data
- ) ;
- public native void gluTessVertex (
- long tobj,
- double[] coords,
- double[] vertex_data
- ) ;
- public native void gluTessVertex (
- long tobj,
- double[] coords,
- boolean[] vertex_data
- ) ;
- public native void gluTessVertex (
- long tobj,
- double[] coords,
- long[] vertex_data
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessEndContour ( GLUtesselator * tobj ) ;
- * </pre>
- */
- public native void gluTessEndContour (
- long tobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- public native void gluTessEndPolygon (
- long tobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
- * </pre>
- */
- public native void gluTessProperty (
- long tobj,
- int which,
- double value
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- public native void gluTessNormal (
- long tobj,
- double x,
- double y,
- double z
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
- * </pre>
- */
- public native void gluGetTessProperty (
- long tobj,
- int which,
- double[] value
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- public native void gluBeginPolygon (
- long tobj
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
- * </pre>
- */
- public native void gluNextContour (
- long tobj,
- int type
- ) ;
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- public native void gluEndPolygon (
- long tobj
- ) ;
-
-/* C2J Parser Version 1.5 Beta: Java program parsed successfully. */
-
-
-}
-
+/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
+
+ DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
+*/
+
+
+/**
+ * @(#) GLUFuncJauJNInf.java
+ */
+
+
+package gl4java;
+
+/**
+ * The default implementation class for GLU native function mapping
+ *
+ * @version 2.00, 21. April 1999
+ * @author Sven Goethel
+ */
+public class GLUFuncJauJNInf
+ implements GLUFunc
+{
+
+
+public native String gluErrorString ( int errorCode ) ;
+public native String gluGetString ( int name ) ;
+
+public native String getNativeVendor ( ) ;
+public native String getNativeVersion ( ) ;
+
+public String getClassVendor ( )
+{ return "Jausoft - Sven Goethel Software Development"; }
+
+public String getClassVersion ( )
+{ return "2.7.0.0"; }
+
+
+/**
+ * The Callback registry function.
+ * To achieve the signature (internal argument signature)
+ * you can use the "javap -s <classname>" toolkit of the JDK !
+ *
+ * @param qobj the quadratic id, fetch with gluNewQuadric
+ * @param which the id for the callback type
+ * @param methodClassInstance the class instance,
+ * which implements the callback-method
+ * @param methodName the name of the callback-method
+ * @param signature the signature of the callback-method.
+ *
+ * @see GLUFunc#gluNewQuadric
+ */
+public native void gluQuadricCallback(
+ long qobj, int which,
+ Object methodClassInstance,
+ String methodName,
+ String signature
+ );
+
+/**
+ * The Callback registry function.
+ * To achieve the signature (internal argument signature)
+ * you can use the "javap -s <classname>" toolkit of the JDK !
+ *
+ * @param nobj the nurbs id, fetch with gluNewNurbsRenderer
+ * @param which the id for the callback type
+ * @param methodClassInstance the class instance,
+ * which implements the callback-method
+ * @param methodName the name of the callback-method
+ * @param signature the signature of the callback-method.
+ *
+ * @see GLUFunc#gluNewNurbsRenderer
+ */
+public native void gluNurbsCallback(
+ long nobj, int which,
+ Object methodClassInstance,
+ String methodName,
+ String signature
+ );
+
+
+/**
+ * The Callback registry function.
+ * To achieve the signature (internal argument signature)
+ * you can use the "javap -s <classname>" toolkit of the JDK !
+ *
+ * @param tobj the tesselation id, fetch with gluNewTess
+ * @param which the id for the callback type
+ * @param methodClassInstance the class instance,
+ * which implements the callback-method
+ * @param methodName the name of the callback-method
+ * @param signature the signature of the callback-method.
+ * @param voidArrayLen1 the optional length of the 1st array
+ * in the callback-methods argument-list
+ * @param voidArrayLen2 the optional length of the 2nd array
+ * in the callback-methods argument-list
+ * @param voidArrayLen3 the optional length of the 3rd array
+ * in the callback-methods argument-list
+ * @param voidArrayLen4 the optional length of the 4th array
+ * in the callback-methods argument-list
+ * @param voidArrayLen5 the optional length of the 5th array
+ * in the callback-methods argument-list
+ *
+ * @see GLUFunc#gluNewTess
+ */
+public native void gluTessCallback(
+ long tobj, int which,
+ Object methodClassInstance,
+ String methodName,
+ String signature,
+ int voidArrayLen1,
+ int voidArrayLen2,
+ int voidArrayLen3,
+ int voidArrayLen4,
+ int voidArrayLen5
+ );
+
+/**
+ * The Callback de-registry function.
+ *
+ * @param qobj the quadratic id, for which all callback-methods
+ * should be de-registered
+ */
+public native void gluDeleteQuadric( long qobj );
+
+/**
+ * The Callback de-registry function.
+ *
+ * @param nobj the nurbs id, for which all callback-methods
+ * should be de-registered
+ */
+public native void gluDeleteNurbsRenderer( long nobj );
+
+/**
+ * The Callback de-registry function.
+ *
+ * @param tobj the tesselation id, for which all callback-methods
+ * should be de-registered
+ */
+public native void gluDeleteTess( long tobj );
+
+public native long gluNewQuadric( );
+public native long gluNewNurbsRenderer( );
+public native long gluNewTess( );
+
+/**
+ * C2J Parser Version 2.0
+ * Jausoft - Sven Goethel Software Development
+ * Reading from file: glu-proto-auto.orig.h . . .
+ * Destination-Class: gl4java_GLUFuncJauJNInf !
+ */
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * </pre>
+ */
+ public native void gluLookAt (
+ double eyex,
+ double eyey,
+ double eyez,
+ double centerx,
+ double centery,
+ double centerz,
+ double upx,
+ double upy,
+ double upz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * </pre>
+ */
+ public native void gluOrtho2D (
+ double left,
+ double right,
+ double bottom,
+ double top
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * </pre>
+ */
+ public native void gluPerspective (
+ double fovy,
+ double aspect,
+ double zNear,
+ double zFar
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * </pre>
+ */
+ public native void gluPickMatrix (
+ double x,
+ double y,
+ double width,
+ double height,
+ int[] viewport
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
+ * </pre>
+ */
+ public native int gluProject (
+ double objx,
+ double objy,
+ double objz,
+ double[] modelMatrix,
+ double[] projMatrix,
+ int[] viewport,
+ double[] winx,
+ double[] winy,
+ double[] winz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
+ * </pre>
+ */
+ public native int gluUnProject (
+ double winx,
+ double winy,
+ double winz,
+ double[] modelMatrix,
+ double[] projMatrix,
+ int[] viewport,
+ double[] objx,
+ double[] objy,
+ double[] objz
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * </pre>
+ */
+ public native int gluScaleImage (
+ int format,
+ int widthin,
+ int heightin,
+ int typein,
+ byte[] datain,
+ int widthout,
+ int heightout,
+ int typeout,
+ byte[] dataout
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ public native int gluBuild1DMipmaps (
+ int target,
+ int components,
+ int width,
+ int format,
+ int type,
+ byte[] data
+ ) ;
+ public native int gluBuild1DMipmaps (
+ int target,
+ int components,
+ int width,
+ int format,
+ int type,
+ short[] data
+ ) ;
+ public native int gluBuild1DMipmaps (
+ int target,
+ int components,
+ int width,
+ int format,
+ int type,
+ int[] data
+ ) ;
+ public native int gluBuild1DMipmaps (
+ int target,
+ int components,
+ int width,
+ int format,
+ int type,
+ float[] data
+ ) ;
+ public native int gluBuild1DMipmaps (
+ int target,
+ int components,
+ int width,
+ int format,
+ int type,
+ double[] data
+ ) ;
+ public native int gluBuild1DMipmaps (
+ int target,
+ int components,
+ int width,
+ int format,
+ int type,
+ boolean[] data
+ ) ;
+ public native int gluBuild1DMipmaps (
+ int target,
+ int components,
+ int width,
+ int format,
+ int type,
+ long[] data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ public native int gluBuild2DMipmaps (
+ int target,
+ int components,
+ int width,
+ int height,
+ int format,
+ int type,
+ byte[] data
+ ) ;
+ public native int gluBuild2DMipmaps (
+ int target,
+ int components,
+ int width,
+ int height,
+ int format,
+ int type,
+ short[] data
+ ) ;
+ public native int gluBuild2DMipmaps (
+ int target,
+ int components,
+ int width,
+ int height,
+ int format,
+ int type,
+ int[] data
+ ) ;
+ public native int gluBuild2DMipmaps (
+ int target,
+ int components,
+ int width,
+ int height,
+ int format,
+ int type,
+ float[] data
+ ) ;
+ public native int gluBuild2DMipmaps (
+ int target,
+ int components,
+ int width,
+ int height,
+ int format,
+ int type,
+ double[] data
+ ) ;
+ public native int gluBuild2DMipmaps (
+ int target,
+ int components,
+ int width,
+ int height,
+ int format,
+ int type,
+ boolean[] data
+ ) ;
+ public native int gluBuild2DMipmaps (
+ int target,
+ int components,
+ int width,
+ int height,
+ int format,
+ int type,
+ long[] data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * </pre>
+ */
+ public native void gluQuadricDrawStyle (
+ long quadObject,
+ int drawStyle
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * </pre>
+ */
+ public native void gluQuadricOrientation (
+ long quadObject,
+ int orientation
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * </pre>
+ */
+ public native void gluQuadricNormals (
+ long quadObject,
+ int normals
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * </pre>
+ */
+ public native void gluQuadricTexture (
+ long quadObject,
+ boolean textureCoords
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ public native void gluCylinder (
+ long qobj,
+ double baseRadius,
+ double topRadius,
+ double height,
+ int slices,
+ int stacks
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ public native void gluSphere (
+ long qobj,
+ double radius,
+ int slices,
+ int stacks
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * </pre>
+ */
+ public native void gluDisk (
+ long qobj,
+ double innerRadius,
+ double outerRadius,
+ int slices,
+ int loops
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * </pre>
+ */
+ public native void gluPartialDisk (
+ long qobj,
+ double innerRadius,
+ double outerRadius,
+ int slices,
+ int loops,
+ double startAngle,
+ double sweepAngle
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * </pre>
+ */
+ public native void gluLoadSamplingMatrices (
+ long nobj,
+ float[] modelMatrix,
+ float[] projMatrix,
+ int[] viewport
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * </pre>
+ */
+ public native void gluNurbsProperty (
+ long nobj,
+ int property,
+ float value
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * </pre>
+ */
+ public native void gluGetNurbsProperty (
+ long nobj,
+ int property,
+ float[] value
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ public native void gluBeginCurve (
+ long nobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ public native void gluEndCurve (
+ long nobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * </pre>
+ */
+ public native void gluNurbsCurve (
+ long nobj,
+ int nknots,
+ float[] knot,
+ int stride,
+ float[] ctlarray,
+ int order,
+ int type
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ public native void gluBeginSurface (
+ long nobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ public native void gluEndSurface (
+ long nobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
+ * </pre>
+ */
+ public native void gluNurbsSurface (
+ long nobj,
+ int sknot_count,
+ float[] sknot,
+ int tknot_count,
+ float[] tknot,
+ int s_stride,
+ int t_stride,
+ float[] ctlarray,
+ int sorder,
+ int torder,
+ int type
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ public native void gluBeginTrim (
+ long nobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ public native void gluEndTrim (
+ long nobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * </pre>
+ */
+ public native void gluPwlCurve (
+ long nobj,
+ int count,
+ float[] array,
+ int stride,
+ int type
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * </pre>
+ */
+ public native void gluTessBeginPolygon (
+ long tobj,
+ byte[] polygon_data
+ ) ;
+ public native void gluTessBeginPolygon (
+ long tobj,
+ short[] polygon_data
+ ) ;
+ public native void gluTessBeginPolygon (
+ long tobj,
+ int[] polygon_data
+ ) ;
+ public native void gluTessBeginPolygon (
+ long tobj,
+ float[] polygon_data
+ ) ;
+ public native void gluTessBeginPolygon (
+ long tobj,
+ double[] polygon_data
+ ) ;
+ public native void gluTessBeginPolygon (
+ long tobj,
+ boolean[] polygon_data
+ ) ;
+ public native void gluTessBeginPolygon (
+ long tobj,
+ long[] polygon_data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ public native void gluTessBeginContour (
+ long tobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * </pre>
+ */
+ public native void gluTessVertex (
+ long tobj,
+ double[] coords,
+ byte[] vertex_data
+ ) ;
+ public native void gluTessVertex (
+ long tobj,
+ double[] coords,
+ short[] vertex_data
+ ) ;
+ public native void gluTessVertex (
+ long tobj,
+ double[] coords,
+ int[] vertex_data
+ ) ;
+ public native void gluTessVertex (
+ long tobj,
+ double[] coords,
+ float[] vertex_data
+ ) ;
+ public native void gluTessVertex (
+ long tobj,
+ double[] coords,
+ double[] vertex_data
+ ) ;
+ public native void gluTessVertex (
+ long tobj,
+ double[] coords,
+ boolean[] vertex_data
+ ) ;
+ public native void gluTessVertex (
+ long tobj,
+ double[] coords,
+ long[] vertex_data
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ public native void gluTessEndContour (
+ long tobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ public native void gluTessEndPolygon (
+ long tobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * </pre>
+ */
+ public native void gluTessProperty (
+ long tobj,
+ int which,
+ double value
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ public native void gluTessNormal (
+ long tobj,
+ double x,
+ double y,
+ double z
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * </pre>
+ */
+ public native void gluGetTessProperty (
+ long tobj,
+ int which,
+ double[] value
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ public native void gluBeginPolygon (
+ long tobj
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * </pre>
+ */
+ public native void gluNextContour (
+ long tobj,
+ int type
+ ) ;
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ public native void gluEndPolygon (
+ long tobj
+ ) ;
+
+/* C2J Parser Version 2.0: Java program parsed successfully. */
+
+
+}
+
diff --git a/gl4java/utils/Test.java b/gl4java/utils/Test.java
index a430de5..37718d6 100644
--- a/gl4java/utils/Test.java
+++ b/gl4java/utils/Test.java
@@ -22,14 +22,96 @@ import gl4java.applet.SimpleGLAnimApplet1;
public class Test
{
+
+ String testClazzName;
+ int width, height;
+ String glName, gluName;
- public Test(String name, Object tstObj, int width, int height)
+ public Test(String testClazzName, int width, int height,
+ String glName, String gluName)
{
+ this.testClazzName = testClazzName;
+ this.width = width;
+ this.height = height;
+ this.glName = glName;
+ this.gluName = gluName;
+ }
+
+ public void loadNStartTestClazz()
+ {
+ Object tstObj = null;
+
+ try {
+ Class canvasClazz =
+ Class.forName("gl4java.awt.GLCanvas");
+ Class animCanvasClazz =
+ Class.forName("gl4java.awt.GLAnimCanvas");
+ Class animAppletCanvasClazz =
+ Class.forName("gl4java.applet.SimpleGLAnimApplet1");
+
+ Class tstClazz = Class.forName(testClazzName);
+
+ if( ! canvasClazz.isAssignableFrom(tstClazz) &&
+ ! animAppletCanvasClazz.isAssignableFrom(tstClazz) )
+ {
+ System.out.println("Your test-clazz is neither derived from gl4java.awt.GLCanvas nor from gl4java.applet.SimpleGLAnimApplet1!");
+ throw new Exception();
+ }
+
+ /**
+ * Std. conversion from Integer -> int
+ */
+ Class[] parameterTypes = new Class[4];
+ parameterTypes[0] = Class.forName("java.lang.Integer");
+ parameterTypes[1] = Class.forName("java.lang.Integer");
+ parameterTypes[2] = Class.forName("java.lang.String");
+ parameterTypes[3] = Class.forName("java.lang.String");
+
+ Object[] parameters = null;
+ java.lang.reflect.Constructor tstObjConstr = null;
+
+ try {
+ tstObjConstr = tstClazz.getConstructor(parameterTypes);
+
+ parameters = new Object[4];
+ parameters[0] = new java.lang.Integer(width);
+ parameters[1] = new java.lang.Integer(height);
+ parameters[2] = glName;
+ parameters[3] = gluName;
+
+ } catch (java.lang.NoSuchMethodException nsme) {
+
+ try {
+ parameterTypes = new Class[4];
+ parameterTypes[0] = Class.forName("java.lang.Integer");
+ parameterTypes[1] = Class.forName("java.lang.Integer");
+
+ tstObjConstr = tstClazz.getConstructor(parameterTypes);
+
+ parameters = new Object[4];
+ parameters[0] = new java.lang.Integer(width);
+ parameters[1] = new java.lang.Integer(height);
+
+ } catch (java.lang.NoSuchMethodException nsme2) {
+ tstObj = tstClazz.newInstance();
+ }
+ }
+
+ if(tstObj==null && parameters!=null)
+ tstObj = tstObjConstr.newInstance(parameters);
+
+ } catch (Exception ex) {
+ System.out.println("Instantiation of: "+testClazzName+" failed !");
+ System.out.println(ex);
+ ex.printStackTrace();
+ System.exit(1);
+ }
+
if(tstObj instanceof SimpleGLAnimApplet1)
{
SimpleGLAnimApplet1 glSAnimApplet = (SimpleGLAnimApplet1)tstObj;
- Frame f = new Frame(name);
+ Frame f = new Frame(testClazzName);
f.addWindowListener( new WindowAdapter()
{
@@ -68,7 +150,7 @@ public class Test
GLAnimCanvasTest applet = new GLAnimCanvasTest();
- Frame f = new Frame(name);
+ Frame f = new Frame(testClazzName);
f.addWindowListener( new WindowAdapter()
{
@@ -103,7 +185,7 @@ public class Test
GLCanvasTest applet = new GLCanvasTest();
- Frame f = new Frame(name);
+ Frame f = new Frame(testClazzName);
f.addWindowListener( new WindowAdapter()
{
@@ -143,8 +225,6 @@ public class Test
* @param args, a list of args,
*
* -gljlib <glj-libname> gl4java-glj-lib native library
- * -gllib <gl-libname> gl4java-gl-lib native library
- * -glulib <glu-libname> gl4java-glu-lib native library
* -glclass <gl-class> gl4java-gl-class java GLFunc implementation
* -gluclass <glu-class> gl4java-glu-class java GLUFunc implementation
* -testclass <GLCanvas or SimpleGLAnimApplet1 Implementation Class> A derivation of GLCanvas (GLAnimCanvas also) or SimpleGLAnimApplet1 can be started here for testing purposes !
@@ -156,6 +236,8 @@ public class Test
*/
public static void main( String args[] )
{
+ String nativeGLLib = null;
+ String nativeGLULib = null;
String gljLibName = null;
String glLibName = null;
String gluLibName = null;
@@ -169,12 +251,12 @@ public class Test
if(args.length==0)
{
- System.out.println("usage: java gl4java.GLContext <options>, where options can be: ");
- System.out.println(" -gljlib <glj-libname> \t\t\t choose a custom the gl4java-glj-lib native library (default: GL4JavaJauGljJNI)");
- System.out.println(" -gllib <gl-libname> \t\t\t choose a custom the gl4java-gl-lib native library (default: GL4JavaJauGLJNI)");
- System.out.println(" -glulib <glu-libname> \t\t\t choose a custom the gl4java-glu-lib native library (default: GL4JavaJauGLUJNI");
- System.out.println(" -glclass <gl-class> \t\t\t choose a custom the gl4java-gl-class java GLFunc implementation (default: GLFuncJauJNI)");
- System.out.println(" -gluclass <glu-class> \t\t\t choose a custom the gl4java-glu-class java GLUFunc implementation (default: GLUFuncJauJNI)");
+ System.out.println("usage: java gl4java.utils.Test <options>, where options can be: ");
+ System.out.println(" -GLLib <OpenGL Libname> \t choose a custom OpenGL native library (default: libGL, or OPENGL32, ..)");
+ System.out.println(" -GLULib <GLU Libname> \t choose a custom GLU native library (default: libGLU, or GLU32, ..)");
+ System.out.println(" -gljlib <glj-libname> \t choose a custom gl4java-glj-lib native library (default: GL4JavaJauGljJNI)");
+ System.out.println(" -glclass <gl-class> \t choose a custom gl4java-gl-class java GLFunc implementation (default: GLFuncJauJNI)");
+ System.out.println(" -gluclass <glu-class> \t choose a custom gl4java-glu-class java GLUFunc implementation (default: GLUFuncJauJNI)");
System.out.println(" -testclass <GLCanvas Implementation Class> \t\t\t a derivation of GLCanvas (GLCanvas or GLAnimCanvas) can be started here for testing purposes !");
System.out.println(" -w <int> \t\t\t the testclass window width (default 800) !");
System.out.println(" -h <int> \t\t\t the testclass window height (default 600) !");
@@ -184,12 +266,12 @@ public class Test
while(args.length>i)
{
- if(args[i].equals("-gljlib")) {
+ if(args[i].equals("-GLLib")) {
+ if(args.length>++i) nativeGLLib=args[i];
+ } else if(args[i].equals("-GLULib")) {
+ if(args.length>++i) nativeGLULib=args[i];
+ } else if(args[i].equals("-gljlib")) {
if(args.length>++i) gljLibName=args[i];
- } else if(args[i].equals("-gllib")) {
- if(args.length>++i) glLibName=args[i];
- } else if(args[i].equals("-glulib")) {
- if(args.length>++i) gluLibName=args[i];
} else if(args[i].equals("-glclass")) {
if(args.length>++i) glName=args[i];
} else if(args[i].equals("-gluclass")) {
@@ -232,90 +314,22 @@ public class Test
GLContext.gljClassDebug = false;
}
- if(GLContext.loadNativeLibraries(gljLibName, glLibName, gluLibName))
+ if(GLContext.doLoadNativeLibraries(gljLibName,
+ nativeGLLib, nativeGLULib
+ )
+ )
System.out.println("native Libraries loaded succesfull");
else {
System.out.println("native library NOT loaded complete");
ok=false;
}
- Object tstObj = null;
-
- if(ok==true)
- {
- try {
- Class canvasClazz =
- Class.forName("gl4java.awt.GLCanvas");
- Class animCanvasClazz =
- Class.forName("gl4java.awt.GLAnimCanvas");
- Class animAppletCanvasClazz =
- Class.forName("gl4java.applet.SimpleGLAnimApplet1");
-
- Class tstClazz =
- Class.forName(testClazzName);
-
- if( ! canvasClazz.isAssignableFrom(tstClazz) &&
- ! animAppletCanvasClazz.isAssignableFrom(tstClazz) )
- {
- System.out.println("Your test-clazz is neither derived from gl4java.awt.GLCanvas nor from gl4java.applet.SimpleGLAnimApplet1!");
- ok=false;
- throw new Exception();
- }
-
- /**
- * Std. conversion from Integer -> int
- */
- Class[] parameterTypes = new Class[4];
- parameterTypes[0] = Class.forName("java.lang.Integer");
- parameterTypes[1] = Class.forName("java.lang.Integer");
- parameterTypes[2] = Class.forName("java.lang.String");
- parameterTypes[3] = Class.forName("java.lang.String");
-
- Object[] parameters = null;
- java.lang.reflect.Constructor tstObjConstr = null;
-
- try {
- tstObjConstr = tstClazz.getConstructor(parameterTypes);
-
- parameters = new Object[4];
- parameters[0] = new java.lang.Integer(width);
- parameters[1] = new java.lang.Integer(height);
- parameters[2] = glName;
- parameters[3] = gluName;
-
- } catch (java.lang.NoSuchMethodException nsme) {
-
- try {
- parameterTypes = new Class[4];
- parameterTypes[0] = Class.forName("java.lang.Integer");
- parameterTypes[1] = Class.forName("java.lang.Integer");
-
- tstObjConstr = tstClazz.getConstructor(parameterTypes);
-
- parameters = new Object[4];
- parameters[0] = new java.lang.Integer(width);
- parameters[1] = new java.lang.Integer(height);
-
- } catch (java.lang.NoSuchMethodException nsme2) {
- tstObj = tstClazz.newInstance();
- }
- }
-
- if(tstObj==null && parameters!=null)
- tstObj = tstObjConstr.newInstance(parameters);
-
- } catch (Exception ex) {
- System.out.println("Instantiation of: "+testClazzName+" failed !");
- System.out.println(ex);
- ok =false;
- }
-
- ok = tstObj!=null ;
- }
if(ok) {
// let's do it ...
- Test test = new Test(testClazzName, tstObj, width, height);
+ Test test = new Test(testClazzName, width, height,
+ glName, gluName);
+ test.loadNStartTestClazz();
}
}
diff --git a/makefile b/makefile
index e673ba9..681f005 100644
--- a/makefile
+++ b/makefile
@@ -9,6 +9,7 @@
# for general creation (java + native-lib) invoke:
#
# make x11 : create java and native lib for unix/x11
+# make x11strip : strip the debug info / symbols from the native libs !
# make w32 : create java and native lib for windows32 (SUN & MSJVM)
# make mac : create java and native lib for Macintosh
#
@@ -96,80 +97,35 @@ CNATIVEDIR = CNativeCode
# LIBRARY DEFINITION
LIBMAJOR = 2
-LIBMINOR = 6
+LIBMINOR = 7
LIBBUGFIX = 0
-RELEASE = 1
+RELEASE = 0
#
# The demo release number
#
DEMORELEASE = 4
-#lib GLContext
-LIBBASENAME1c = GL4JavaJauGljJNI13
-LIBNAME1c = lib$(LIBBASENAME1c)
-LIBRARY1c = $(LIBNAME1c).so
-
-#lib GLContext
-LIBBASENAME1b = GL4JavaJauGljJNI12
-LIBNAME1b = lib$(LIBBASENAME1b)
-LIBRARY1b = $(LIBNAME1b).so
-
-#lib GLContext
LIBBASENAME1 = GL4JavaJauGljJNI
LIBNAME1 = lib$(LIBBASENAME1)
LIBRARY1 = $(LIBNAME1).so
-#lib GLFunc - 1
-LIBBASENAME2 = GL4JavaJauGLJNI
+LIBBASENAME2 = GL4JavaJauGljJNI12
LIBNAME2 = lib$(LIBBASENAME2)
LIBRARY2 = $(LIBNAME2).so
-#lib GLFunc - 1
-LIBBASENAME2b = GL4JavaJauGLJNI12
-LIBNAME2b = lib$(LIBBASENAME2b)
-LIBRARY2b = $(LIBNAME2b).so
-
-#lib GLUFunc - 1
-LIBBASENAME3 = GL4JavaJauGLUJNI
+LIBBASENAME3 = GL4JavaJauGljJNI13
LIBNAME3 = lib$(LIBBASENAME3)
LIBRARY3 = $(LIBNAME3).so
-#lib GLUFunc - 1
-LIBBASENAME3b = GL4JavaJauGLUJNI12
-LIBNAME3b = lib$(LIBBASENAME3b)
-LIBRARY3b = $(LIBNAME3b).so
-
-#lib GLFunc - 2
-LIBBASENAME4 = GL4JavaJauGLJNInf
+LIBBASENAME4 = GL4JavaJauGljJNI13nf
LIBNAME4 = lib$(LIBBASENAME4)
LIBRARY4 = $(LIBNAME4).so
-#lib GLUFunc - 2
-LIBBASENAME5 = GL4JavaJauGLUJNInf
+LIBBASENAME5 = GL4JavaJauGljJNI13tst
LIBNAME5 = lib$(LIBBASENAME5)
LIBRARY5 = $(LIBNAME5).so
-#lib GLFunc - 3
-LIBBASENAME6 = GL4JavaJauGLJNItst
-LIBNAME6 = lib$(LIBBASENAME6)
-LIBRARY6 = $(LIBNAME6).so
-
-#lib GLFunc - 3
-LIBBASENAME6b = GL4JavaJauGLJNI12tst
-LIBNAME6b = lib$(LIBBASENAME6b)
-LIBRARY6b = $(LIBNAME6b).so
-
-#lib GLUFunc - 3
-LIBBASENAME7 = GL4JavaJauGLUJNItst
-LIBNAME7 = lib$(LIBBASENAME7)
-LIBRARY7 = $(LIBNAME7).so
-
-#lib GLUFunc - 3
-LIBBASENAME7b = GL4JavaJauGLUJNI12tst
-LIBNAME7b = lib$(LIBBASENAME7b)
-LIBRARY7b = $(LIBNAME7b).so
-
# the name of the package has to match the name of the subdirectory that
# the java source and java class files sit in
# PACKAGEDIR is relative to THISDIR
@@ -320,74 +276,77 @@ FILES_x11.class = ${FILES_x11.java:.java=.class}
#lib GLContext
FILES1.c = $(CNATIVEDIR)/OpenGL_X11.c \
- $(CNATIVEDIR)/OpenGL_X11_common.c \
+ $(CNATIVEDIR)/OpenGL_X11_common.c \
+ $(CNATIVEDIR)/glcaps.c \
+ $(CNATIVEDIR)/gltool.c \
+ $(CNATIVEDIR)/glxtool.c \
$(CNATIVEDIR)/OpenGL_misc.c \
$(CNATIVEDIR)/jnitools.c \
- $(CNATIVEDIR)/GLCallbackHelperJNI.c
+ $(CNATIVEDIR)/GLCallbackHelperJNI.c \
+ $(CNATIVEDIR)/OpenGL_JauJNI_funcs.c \
+ $(CNATIVEDIR)/OpenGLU_JauJNI_funcs.c \
+ $(CNATIVEDIR)/GLUCallbackJNI.c
-FILES1b.c = $(CNATIVEDIR)/OpenGL_X11.c \
- $(CNATIVEDIR)/OpenGL_X11_common.c \
+FILES2.c = $(CNATIVEDIR)/OpenGL_X11.c \
+ $(CNATIVEDIR)/OpenGL_X11_common.c \
+ $(CNATIVEDIR)/glcaps.c \
+ $(CNATIVEDIR)/gltool.c \
+ $(CNATIVEDIR)/glxtool.c \
$(CNATIVEDIR)/OpenGL_misc.c \
$(CNATIVEDIR)/jni12tools.c \
- $(CNATIVEDIR)/GLCallbackHelperJNI.c
+ $(CNATIVEDIR)/GLCallbackHelperJNI.c \
+ $(CNATIVEDIR)/OpenGL_JauJNI12_funcs.c \
+ $(CNATIVEDIR)/OpenGLU_JauJNI12_funcs.c \
+ $(CNATIVEDIR)/GLUCallbackJNI.c
-FILES1c.c = $(CNATIVEDIR)/OpenGL_X11_jawt.c \
- $(CNATIVEDIR)/OpenGL_X11_common.c \
+FILES3.c = $(CNATIVEDIR)/OpenGL_X11_jawt.c \
+ $(CNATIVEDIR)/OpenGL_X11_common.c \
+ $(CNATIVEDIR)/glcaps.c \
+ $(CNATIVEDIR)/gltool.c \
+ $(CNATIVEDIR)/glxtool.c \
$(CNATIVEDIR)/jawt_misc.c \
$(CNATIVEDIR)/GLDrawableFactory_X11_SunJDK13.c \
$(CNATIVEDIR)/OpenGL_misc.c \
$(CNATIVEDIR)/jni12tools.c \
- $(CNATIVEDIR)/GLCallbackHelperJNI.c
-
-#lib GLFunc - 1
-FILES2.c = $(CNATIVEDIR)/OpenGL_JauJNI_dynfuncs.c
-
-#lib GLFunc - 1
-FILES2b.c = $(CNATIVEDIR)/OpenGL_JauJNI12_dynfuncs.c
-
-#lib GLUFunc - 1
-FILES3.c = $(CNATIVEDIR)/OpenGLU_JauJNI_funcs.c \
+ $(CNATIVEDIR)/GLCallbackHelperJNI.c \
+ $(CNATIVEDIR)/OpenGL_JauJNI12_funcs.c \
+ $(CNATIVEDIR)/OpenGLU_JauJNI12_funcs.c \
$(CNATIVEDIR)/GLUCallbackJNI.c
-#lib GLUFunc - 1
-FILES3b.c = $(CNATIVEDIR)/OpenGLU_JauJNI12_funcs.c \
- $(CNATIVEDIR)/GLUCallbackJNI.c
-
-#lib GLFunc - 2
-FILES4.c = $(CNATIVEDIR)/OpenGL_JauJNInf_dynfuncs.c
-
-#lib GLUFunc - 2
-FILES5.c = $(CNATIVEDIR)/OpenGLU_JauJNInf_funcs.c \
+FILES4.c = $(CNATIVEDIR)/OpenGL_X11_jawt.c \
+ $(CNATIVEDIR)/OpenGL_X11_common.c \
+ $(CNATIVEDIR)/glcaps.c \
+ $(CNATIVEDIR)/gltool.c \
+ $(CNATIVEDIR)/glxtool.c \
+ $(CNATIVEDIR)/jawt_misc.c \
+ $(CNATIVEDIR)/GLDrawableFactory_X11_SunJDK13.c \
+ $(CNATIVEDIR)/OpenGL_misc.c \
+ $(CNATIVEDIR)/jni12tools.c \
+ $(CNATIVEDIR)/GLCallbackHelperJNI.c \
+ $(CNATIVEDIR)/OpenGL_JauJNI12nf_funcs.c \
+ $(CNATIVEDIR)/OpenGLU_JauJNI12nf_funcs.c \
$(CNATIVEDIR)/GLUCallbackJNI.c
-#lib GLFunc - 3
-FILES6.c = $(CNATIVEDIR)/OpenGL_JauJNItst_dynfuncs.c
-
-#lib GLFunc - 3
-FILES6b.c = $(CNATIVEDIR)/OpenGL_JauJNI12tst_dynfuncs.c
-
-#lib GLUFunc - 3
-FILES7.c = $(CNATIVEDIR)/OpenGLU_JauJNItst_funcs.c \
+FILES5.c = $(CNATIVEDIR)/OpenGL_X11_jawt.c \
+ $(CNATIVEDIR)/OpenGL_X11_common.c \
+ $(CNATIVEDIR)/glcaps.c \
+ $(CNATIVEDIR)/gltool.c \
+ $(CNATIVEDIR)/glxtool.c \
+ $(CNATIVEDIR)/jawt_misc.c \
+ $(CNATIVEDIR)/GLDrawableFactory_X11_SunJDK13.c \
+ $(CNATIVEDIR)/OpenGL_misc.c \
+ $(CNATIVEDIR)/jni12tools.c \
+ $(CNATIVEDIR)/GLCallbackHelperJNI.c \
+ $(CNATIVEDIR)/OpenGL_JauJNI12tst_funcs.c \
+ $(CNATIVEDIR)/OpenGLU_JauJNI12tst_funcs.c \
$(CNATIVEDIR)/GLUCallbackJNI.c
-#lib GLUFunc - 3
-FILES7b.c = $(CNATIVEDIR)/OpenGLU_JauJNI12tst_funcs.c \
- $(CNATIVEDIR)/GLUCallbackJNI.c
-#lib GLFunc - 3
FILES1.o = ${FILES1.c:.c=.o}
-FILES1b.o = ${FILES1b.c:.c=.o}
-FILES1c.o = ${FILES1c.c:.c=.o}
FILES2.o = ${FILES2.c:.c=.o}
-FILES2b.o = ${FILES2b.c:.c=.o}
FILES3.o = ${FILES3.c:.c=.o}
-FILES3b.o = ${FILES3b.c:.c=.o}
FILES4.o = ${FILES4.c:.c=.o}
FILES5.o = ${FILES5.c:.c=.o}
-FILES6.o = ${FILES6.c:.c=.o}
-FILES6b.o = ${FILES6b.c:.c=.o}
-FILES7.o = ${FILES7.c:.c=.o}
-FILES7b.o = ${FILES7b.c:.c=.o}
#lib GLContext
FILE.gen1.h = $(CHEADERDIR)/$(PACKAGEDIR)_${JAVA_C_MAP1_FILE:.java=.h}
@@ -445,18 +404,18 @@ x11 : cleanup gljni \
$(FILES.gen) \
$(FILE.gen6.x11.h) \
$(HOME_LIB_DIR)/$(LIBRARY1) \
- $(HOME_LIB_DIR)/$(LIBRARY1b) \
- $(HOME_LIB_DIR)/$(LIBRARY1c) \
$(HOME_LIB_DIR)/$(LIBRARY2) \
- $(HOME_LIB_DIR)/$(LIBRARY2b) \
$(HOME_LIB_DIR)/$(LIBRARY3) \
- $(HOME_LIB_DIR)/$(LIBRARY3b) \
$(HOME_LIB_DIR)/$(LIBRARY4) \
$(HOME_LIB_DIR)/$(LIBRARY5) \
- $(HOME_LIB_DIR)/$(LIBRARY6) \
- $(HOME_LIB_DIR)/$(LIBRARY6b) \
- $(HOME_LIB_DIR)/$(LIBRARY7) \
- $(HOME_LIB_DIR)/$(LIBRARY7b)
+ invokejvm
+
+x11strip :
+ strip ${HOME_LIB_DIR}/${LIBRARY1}.$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX)
+ strip ${HOME_LIB_DIR}/${LIBRARY2}.$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX)
+ strip ${HOME_LIB_DIR}/${LIBRARY3}.$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX)
+ strip ${HOME_LIB_DIR}/${LIBRARY4}.$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX)
+ strip ${HOME_LIB_DIR}/${LIBRARY5}.$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX)
mac : cleanup gljni \
$(FILES.class) $(FILES_mac.class) \
@@ -479,6 +438,10 @@ w32 : cleanupw32 gljni \
gljni : gl2j gl2c
+invokejvm: $(CNATIVEDIR)/invokejvm.o
+ gcc -o invokejvm $(CNATIVEDIR)/invokejvm.o \
+ -L$(JAVAOSLIB)/client -ljvm -ldl
+
######################################################################
# GENERATE LIBS ...
######################################################################
@@ -493,100 +456,36 @@ $(HOME_LIB_DIR)/$(LIBRARY1): $(FILES1.o)
$(LIBNAME1) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
$(FILES1.o) $(LIBS)
-$(HOME_LIB_DIR)/$(LIBRARY1b): $(FILES1b.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME1b}.*
- $(MKEXP) $(LIBNAME1b) $(FILES1b.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME1b) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES1b.o) $(LIBS)
-
-$(HOME_LIB_DIR)/$(LIBRARY1c): $(FILES1c.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME1c}.*
- $(MKEXP) $(LIBNAME1c) $(FILES1c.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME1c) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES1c.o) $(LIBS) -L$(JAVAOSLIB) \
- -ljawt
-
$(HOME_LIB_DIR)/$(LIBRARY2): $(FILES2.o)
rm -f ${HOME_LIB_DIR}/${LIBNAME2}.*
$(MKEXP) $(LIBNAME2) $(FILES2.o)
$(MKLIB) $(HOME_LIB_DIR) \
$(LIBNAME2) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES2.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1)
-
-$(HOME_LIB_DIR)/$(LIBRARY2b): $(FILES2b.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME2b}.*
- $(MKEXP) $(LIBNAME2b) $(FILES2b.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME2b) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES2b.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1b)
+ $(FILES2.o) $(LIBS)
$(HOME_LIB_DIR)/$(LIBRARY3): $(FILES3.o)
rm -f ${HOME_LIB_DIR}/${LIBNAME3}.*
$(MKEXP) $(LIBNAME3) $(FILES3.o)
$(MKLIB) $(HOME_LIB_DIR) \
$(LIBNAME3) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES3.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1)
-
-$(HOME_LIB_DIR)/$(LIBRARY3b): $(FILES3b.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME3b}.*
- $(MKEXP) $(LIBNAME3b) $(FILES3b.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME3b) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES3b.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1b)
+ $(FILES3.o) $(LIBS) -L$(JAVAOSLIB) \
+ -ljawt
$(HOME_LIB_DIR)/$(LIBRARY4): $(FILES4.o)
rm -f ${HOME_LIB_DIR}/${LIBNAME4}.*
$(MKEXP) $(LIBNAME4) $(FILES4.o)
$(MKLIB) $(HOME_LIB_DIR) \
$(LIBNAME4) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES4.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1)
+ $(FILES4.o) $(LIBS) -L$(JAVAOSLIB) \
+ -ljawt
$(HOME_LIB_DIR)/$(LIBRARY5): $(FILES5.o)
rm -f ${HOME_LIB_DIR}/${LIBNAME5}.*
$(MKEXP) $(LIBNAME5) $(FILES5.o)
$(MKLIB) $(HOME_LIB_DIR) \
$(LIBNAME5) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES5.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1)
-
-$(HOME_LIB_DIR)/$(LIBRARY6): $(FILES6.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME6}.*
- $(MKEXP) $(LIBNAME6) $(FILES6.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME6) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES6.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1)
-
-$(HOME_LIB_DIR)/$(LIBRARY6b): $(FILES6b.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME6b}.*
- $(MKEXP) $(LIBNAME6b) $(FILES6b.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME6b) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES6b.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1b)
-
-$(HOME_LIB_DIR)/$(LIBRARY7): $(FILES7.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME7}.*
- $(MKEXP) $(LIBNAME7) $(FILES7.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME7) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES7.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1)
-
-$(HOME_LIB_DIR)/$(LIBRARY7b): $(FILES7b.o)
- rm -f ${HOME_LIB_DIR}/${LIBNAME7b}.*
- $(MKEXP) $(LIBNAME7b) $(FILES7b.o)
- $(MKLIB) $(HOME_LIB_DIR) \
- $(LIBNAME7b) $(LIBMAJOR) $(LIBMINOR) $(LIBBUGFIX) \
- $(FILES7b.o) $(LIBS) -L$(HOME_LIB_DIR) \
- -l$(LIBBASENAME1b)
+ $(FILES5.o) $(LIBS) -L$(JAVAOSLIB) \
+ -ljawt
######################################################################
# NEEDED DEPENDENCYs FOR GENERATED FILES ...
@@ -630,7 +529,7 @@ $(CNATIVEDIR)/OpenGL_misc.o: $(CNATIVEDIR)/OpenGL_misc.c makefile
-o $@ $< 2>&1 | tee -a $(THISDIR)/errors
#lib GLFunc - 1
-$(CNATIVEDIR)/OpenGL_JauJNI_dynfuncs.o: ${FILE.gen2.h} \
+$(CNATIVEDIR)/OpenGL_JauJNI_funcs.o: ${FILE.gen2.h} \
$(CNATIVEDIR)/jnitools.h \
$(CNATIVEDIR)/GLCallbackHelperJNI.h
@@ -651,7 +550,7 @@ $(FILE.gen3.h): $(PACKAGEDIR)/${JAVA_C_MAP3_FILE:.java=.class}
| tee -a $(THISDIR)/errors
#lib GLFunc - 2
-$(CNATIVEDIR)/OpenGL_JauJNInf_dynfuncs.o: ${FILE.gen4.h} \
+$(CNATIVEDIR)/OpenGL_JauJNInf_funcs.o: ${FILE.gen4.h} \
$(CNATIVEDIR)/jnitools.h \
$(CNATIVEDIR)/GLCallbackHelperJNI.h
@@ -688,6 +587,20 @@ $(FILE.gen6.mac.h): $(PACKAGEDIR)/drawable/${JAVA_C_MAP6_MAC_FILE:.java=.class}
$(PACKAGEDIR).drawable.${JAVA_C_MAP6_MAC_FILE:.java=} 2>&1 \
| tee -a $(THISDIR)/errors
+$(CNATIVEDIR)/gltool.o: $(CNATIVEDIR)/gltool.h \
+ $(CNATIVEDIR)/glxtool.h $(CNATIVEDIR)/glcaps.h \
+ $(CNATIVEDIR)/gl-disp-var.hc $(CNATIVEDIR)/glu-disp-fetch.hc \
+ $(CNATIVEDIR)/gl-disp-fetch.hc $(CNATIVEDIR)/glu-disp-var.hc
+
+$(CNATIVEDIR)/glxtool.o: $(CNATIVEDIR)/gltool.h \
+ $(CNATIVEDIR)/glxtool.h $(CNATIVEDIR)/glcaps.h \
+ $(CNATIVEDIR)/glx-disp-fetch.hc $(CNATIVEDIR)/glx-disp-var.hc
+
+
+$(CNATIVEDIR)/glxtool.h: $(CNATIVEDIR)/glx-disp-var.h
+
+$(CNATIVEDIR)/gltool.h: $(CNATIVEDIR)/gl-disp-var.h $(CNATIVEDIR)/glu-disp-var.h
+
#
# This is the stuff for the MS-JVM
#
@@ -746,7 +659,6 @@ cleannative:
$(HOME_LIB_DIR)/${LIBNAME1}.* $(HOME_LIB_DIR)/${LIBNAME2}.* \
$(HOME_LIB_DIR)/${LIBNAME3}.* $(HOME_LIB_DIR)/${LIBNAME4}.* \
$(HOME_LIB_DIR)/${LIBNAME5}.* \
- $(HOME_LIB_DIR)/${LIBNAME6}.* $(HOME_LIB_DIR)/${LIBNAME7}.* \
$(CNATIVEDIR)/winstuff.h
cd demos/natives/x11 ; make clean
@@ -889,19 +801,13 @@ unix2binpkg: pbinpkg java2binpkg
rm -f binpkg/libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(UNIXTYPE).zip
cd $(HOME_LIB_DIR) ; \
zip -9 $(THISDIR)/binpkg/libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(UNIXTYPE).zip \
- $(LIBRARY1) $(LIBRARY2) $(LIBRARY3) \
- $(LIBRARY1b) $(LIBRARY2b) $(LIBRARY3b) \
- $(LIBRARY1c)
+ $(LIBRARY1) $(LIBRARY2) $(LIBRARY3)
rm -f binpkg/libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(UNIXTYPE).tar.gz
cd $(HOME_LIB_DIR) ; \
tar cf $(THISDIR)/binpkg/libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(UNIXTYPE).tar \
$(LIBNAME1).* $(LIBNAME2).* \
- $(LIBNAME1b).* $(LIBNAME2b).* \
- $(LIBNAME1c).* \
- $(LIBNAME3).* $(LIBNAME3b).* \
- $(LIBNAME4).* $(LIBNAME5).* \
- $(LIBNAME6).* $(LIBNAME7).* \
- $(LIBNAME6b).* $(LIBNAME7b).*
+ $(LIBNAME3).* \
+ $(LIBNAME4).* $(LIBNAME5).*
cd binpkg ; gzip -9 libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(UNIXTYPE).tar
win2binpkg: pbinpkg java2binpkg
@@ -909,15 +815,11 @@ win2binpkg: pbinpkg java2binpkg
cd Win32VC6/libs ; zip -9 ../../binpkg/libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(WIN32TYPE).zip \
GL4JavaGljMSJDirect.dll \
GL4JavaJauGljJNI.dll GL4JavaJauGljJNI12.dll \
- GL4JavaJauGljJNI13.dll \
- GL4JavaJauGLJNI.dll GL4JavaJauGLJNI12.dll \
- GL4JavaJauGLUJNI.dll GL4JavaJauGLUJNI12.dll
+ GL4JavaJauGljJNI13.dll
rm -f binpkg/libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(WIN32TYPE)-tst.zip
cd Win32VC6/libs ; zip -9 ../../binpkg/libGL4Java$(LIBMAJOR).$(LIBMINOR).$(LIBBUGFIX).$(RELEASE)-$(WIN32TYPE)-tst.zip \
- GL4JavaJauGLJNInf.dll GL4JavaJauGLUJNInf.dll \
- GL4JavaJauGLJNItst.dll GL4JavaJauGLJNI12tst.dll \
- GL4JavaJauGLUJNItst.dll GL4JavaJauGLUJNI12tst.dll
+ GL4JavaJauGljJNI13nf.dll GL4JavaJauGljJNI13tst.dll
javacalldemos:
cd demos ; javac *.java
diff --git a/symbols.mak.linux-java2-xf86-ppc-32bit b/symbols.mak.linux-java2-xf86-ppc-32bit
index c0a1234..0056fd3 100644
--- a/symbols.mak.linux-java2-xf86-ppc-32bit
+++ b/symbols.mak.linux-java2-xf86-ppc-32bit
@@ -25,18 +25,15 @@ JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/X11/include
-OGLLIBDIR = /usr/X11/lib
XINCDIR = /usr/X11/include
XLIBDIR = /usr/X11/lib
MATHLIB = -lm
-OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
-
XLIBS = -L$(XLIBDIR) -lX11
-LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl
+LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl
INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
-I$(OGLINCDIR) -I$(XINCDIR)
diff --git a/symbols.mak.linux-java2-xf86-x86-32bit b/symbols.mak.linux-java2-xf86-x86-32bit
index ea4a485..f6d4244 100644
--- a/symbols.mak.linux-java2-xf86-x86-32bit
+++ b/symbols.mak.linux-java2-xf86-x86-32bit
@@ -34,23 +34,23 @@ JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/X11R6/include
-OGLLIBDIR = /usr/X11R6/lib
XINCDIR = /usr/X11R6/include
XLIBDIR = /usr/X11R6/lib
MATHLIB = -lm
-OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
-
XLIBS = -L$(XLIBDIR) -lX11
-LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl
+LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl
INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
-I$(OGLINCDIR) -I$(XINCDIR)
-CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \
- -D_X11_
+#CFLAGS = -fPIC -D_REENTRANT -c -Wall -O3 \
+# -D_X11_ -DGLDEBUG
+
+CFLAGS = -fPIC -D_REENTRANT -c -Wall -g \
+ -D_X11_ -DGLDEBUG
GZIP = gzip
diff --git a/symbols.mak.sgi-irix65-mips-gcc-32bit b/symbols.mak.sgi-irix65-mips-gcc-32bit
index 2545a80..d680453 100644
--- a/symbols.mak.sgi-irix65-mips-gcc-32bit
+++ b/symbols.mak.sgi-irix65-mips-gcc-32bit
@@ -23,19 +23,16 @@ JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/include
-OGLLIBDIR = /usr/lib32
XINCDIR = /usr/include/X11
XLIBDIR = /usr/lib/X11
MATHLIB = -lm
-OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
-
XLIBS = -L$(XLIBDIR) -lX11
-#LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl
-LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -ldl
+#LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl
+LIBS = $(XLIBS) $(MATHLIB) -ldl
INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
-I$(XINCDIR) -I$(OGLINCDIR)
diff --git a/symbols.mak.sgi-irix65-mips-gcc-brian-32bit b/symbols.mak.sgi-irix65-mips-gcc-brian-32bit
index 7513076..7752b93 100644
--- a/symbols.mak.sgi-irix65-mips-gcc-brian-32bit
+++ b/symbols.mak.sgi-irix65-mips-gcc-brian-32bit
@@ -23,19 +23,16 @@ JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/include/GL
-OGLLIBDIR = /usr/lib32
XINCDIR = /usr/include/X11
XLIBDIR = /usr/lib/X11
MATHLIB = -lm
-OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
-
XLIBS = -L$(XLIBDIR) -lX11
-#LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl
-LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -ldl
+#LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl
+LIBS = $(XLIBS) $(MATHLIB) -ldl
INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
-I$(XINCDIR) -I$(OGLINCDIR)
diff --git a/symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit b/symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit
index ad3e068..6b3363d 100644
--- a/symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit
+++ b/symbols.mak.solaris-sunos-56-sparc-gcc-brian-32bit
@@ -23,18 +23,15 @@ JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/X/include/GL
-OGLLIBDIR = /usr/X/lib
XINCDIR = /usr/X/include
XLIBDIR = /usr/X/lib
MATHLIB = -lm
-OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
-
XLIBS = -L$(XLIBDIR) -lX11
-LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl
+LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl
INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
-I$(XINCDIR) -I$(OGLINCDIR)
diff --git a/symbols.mak.solaris-sunos-57-sparc-gcc-32bit b/symbols.mak.solaris-sunos-57-sparc-gcc-32bit
index 34fb000..3c2ccc2 100644
--- a/symbols.mak.solaris-sunos-57-sparc-gcc-32bit
+++ b/symbols.mak.solaris-sunos-57-sparc-gcc-32bit
@@ -23,18 +23,15 @@ JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/X/include
-OGLLIBDIR = /usr/X/lib
XINCDIR = /usr/X/include
XLIBDIR = /usr/X/lib
MATHLIB = -lm
-OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
-
XLIBS = -L$(XLIBDIR) -lX11
-LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB) -lpthread -ldl
+LIBS = $(XLIBS) $(MATHLIB) -lpthread -ldl
INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
-I$(XINCDIR) -I$(OGLINCDIR)
diff --git a/symbols.mak.win32-java2-32bit b/symbols.mak.win32-java2-32bit
index 6004eb9..98725f2 100644
--- a/symbols.mak.win32-java2-32bit
+++ b/symbols.mak.win32-java2-32bit
@@ -35,18 +35,15 @@ JAVAH = $(JDK_HOME)/bin/javah
JAR = $(JDK_HOME)/bin/jar
OGLINCDIR = /usr/local/include
-OGLLIBDIR = /usr/local/lib
XINCDIR = /usr/X11/include
XLIBDIR = /usr/X11/lib
MATHLIB = -lm
-OGLLIBS = -L$(OGLLIBDIR) -lGL -lGLU
-
XLIBS = -L$(XLIBDIR) -lX11
-LIBS = $(OGLLIBS) $(XLIBS) $(MATHLIB)
+LIBS = $(XLIBS) $(MATHLIB)
INCL_OS = -I. -I$(JAVASHAREINC) -I$(JAVAOSINC) \
-I$(OGLINCDIR) -I$(XINCDIR)