From 880653d31a8f1ff8384fdbc75b84934bceecfdb8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 18 Nov 2000 06:43:49 +0000 Subject: Initial revision --- C2J/ASCII_CharStream.java | 379 + C2J/C.jj | 578 + C2J/C2C.jj | 721 + C2J/C2J.java | 5679 +++++++ C2J/C2J.jj | 1305 ++ C2J/C2JConstants.java | 188 + C2J/C2JTokenManager.java | 1623 ++ C2J/CFuncDeclaration.java | 959 ++ C2J/CFuncVariable.java | 186 + C2J/ParseException.java | 189 + C2J/Token.java | 79 + C2J/TokenMgrError.java | 131 + C2J/gl-enum-auto.java | 1317 ++ C2J/gl-funcnames.skel | 445 + C2J/gl-proto-auto.java | 6955 ++++++++ C2J/gl-proto-dynauto-jni12.c | 23574 ++++++++++++++++++++++++++ C2J/gl-proto-dynauto-tst-jni12.c | 26371 ++++++++++++++++++++++++++++++ C2J/gl-proto-dynauto-tst.c | 26371 ++++++++++++++++++++++++++++++ C2J/gl-proto-dynauto.c | 23574 ++++++++++++++++++++++++++ C2J/gl-protoVirt-auto.java | 6955 ++++++++ C2J/glu-enum-auto.java | 114 + C2J/glu-proto-auto-jni12.c | 2080 +++ C2J/glu-proto-auto-tst-jni12.c | 2409 +++ C2J/glu-proto-auto-tst.c | 2409 +++ C2J/glu-proto-auto.c | 2080 +++ C2J/glu-proto-auto.java | 704 + C2J/glu-protoVirt-auto.java | 704 + C2J/makefile | 402 + C2J/manual/gl-enum-manualCoded.java | 20 + C2J/manual/gl-manualCodedImplJNI.c | 34 + C2J/manual/gl-manualCodedImplJNI1.java | 18 + C2J/manual/gl-manualCodedImplJNI2.java | 14 + C2J/manual/gl-manualCodedVirt1.java | 26 + C2J/manual/gl-manualCodedVirt2.java | 2 + C2J/manual/glu-enum-manualCoded.java | 17 + C2J/manual/glu-manualCodedImplJNI.c | 213 + C2J/manual/glu-manualCodedImplJNI.h | 13 + C2J/manual/glu-manualCodedImplJNI1.java | 17 + C2J/manual/glu-manualCodedImplJNI2.java | 117 + C2J/manual/glu-manualCodedVirt.java | 60 + C2J/mesa33-header/gl.h | 2199 +++ C2J/mesa33-header/glext.h | 3275 ++++ C2J/mesa33-header/glu.h | 513 + C2J/mesa33-header/glx.h | 150 + C2J/mesa33-header/pre2orig-enum.awk | 3 + C2J/mesa33-header/pre2orig-proto.awk | 3 + C2J/mesa33-header/prepare-enum.sh | 22 + C2J/mesa33-header/prepare-proto.sh | 10 + C2J/warning.skel | 6 + 49 files changed, 145213 insertions(+) create mode 100644 C2J/ASCII_CharStream.java create mode 100644 C2J/C.jj create mode 100644 C2J/C2C.jj create mode 100644 C2J/C2J.java create mode 100644 C2J/C2J.jj create mode 100644 C2J/C2JConstants.java create mode 100644 C2J/C2JTokenManager.java create mode 100644 C2J/CFuncDeclaration.java create mode 100644 C2J/CFuncVariable.java create mode 100644 C2J/ParseException.java create mode 100644 C2J/Token.java create mode 100644 C2J/TokenMgrError.java create mode 100644 C2J/gl-enum-auto.java create mode 100644 C2J/gl-funcnames.skel create mode 100644 C2J/gl-proto-auto.java create mode 100644 C2J/gl-proto-dynauto-jni12.c create mode 100644 C2J/gl-proto-dynauto-tst-jni12.c create mode 100644 C2J/gl-proto-dynauto-tst.c create mode 100644 C2J/gl-proto-dynauto.c create mode 100644 C2J/gl-protoVirt-auto.java create mode 100644 C2J/glu-enum-auto.java create mode 100644 C2J/glu-proto-auto-jni12.c create mode 100644 C2J/glu-proto-auto-tst-jni12.c create mode 100644 C2J/glu-proto-auto-tst.c create mode 100644 C2J/glu-proto-auto.c create mode 100644 C2J/glu-proto-auto.java create mode 100644 C2J/glu-protoVirt-auto.java create mode 100755 C2J/makefile create mode 100644 C2J/manual/gl-enum-manualCoded.java create mode 100644 C2J/manual/gl-manualCodedImplJNI.c create mode 100644 C2J/manual/gl-manualCodedImplJNI1.java create mode 100644 C2J/manual/gl-manualCodedImplJNI2.java create mode 100644 C2J/manual/gl-manualCodedVirt1.java create mode 100644 C2J/manual/gl-manualCodedVirt2.java create mode 100644 C2J/manual/glu-enum-manualCoded.java create mode 100644 C2J/manual/glu-manualCodedImplJNI.c create mode 100644 C2J/manual/glu-manualCodedImplJNI.h create mode 100644 C2J/manual/glu-manualCodedImplJNI1.java create mode 100644 C2J/manual/glu-manualCodedImplJNI2.java create mode 100644 C2J/manual/glu-manualCodedVirt.java create mode 100644 C2J/mesa33-header/gl.h create mode 100644 C2J/mesa33-header/glext.h create mode 100644 C2J/mesa33-header/glu.h create mode 100644 C2J/mesa33-header/glx.h create mode 100644 C2J/mesa33-header/pre2orig-enum.awk create mode 100644 C2J/mesa33-header/pre2orig-proto.awk create mode 100755 C2J/mesa33-header/prepare-enum.sh create mode 100755 C2J/mesa33-header/prepare-proto.sh create mode 100644 C2J/warning.skel (limited to 'C2J') diff --git a/C2J/ASCII_CharStream.java b/C2J/ASCII_CharStream.java new file mode 100644 index 0000000..45d639c --- /dev/null +++ b/C2J/ASCII_CharStream.java @@ -0,0 +1,379 @@ +/* Generated By:JavaCC: Do not edit this line. ASCII_CharStream.java Version 0.7pre6 */ +/** + * An implementation of interface CharStream, where the stream is assumed to + * contain only ASCII characters (without unicode processing). + */ + +public final class ASCII_CharStream +{ + public static final boolean staticFlag = true; + static int bufsize; + static int available; + static int tokenBegin; + static public int bufpos = -1; + static private int bufline[]; + static private int bufcolumn[]; + + static private int column = 0; + static private int line = 1; + + static private boolean prevCharIsCR = false; + static private boolean prevCharIsLF = false; + + static private java.io.Reader inputStream; + + static private char[] buffer; + static private int maxNextCharInd = 0; + static private int inBuf = 0; + + static private final void ExpandBuff(boolean wrapAround) + { + char[] newbuffer = new char[bufsize + 2048]; + int newbufline[] = new int[bufsize + 2048]; + int newbufcolumn[] = new int[bufsize + 2048]; + + try + { + if (wrapAround) + { + System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); + System.arraycopy(buffer, 0, newbuffer, + bufsize - tokenBegin, bufpos); + buffer = newbuffer; + + System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); + System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); + bufline = newbufline; + + System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); + System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); + bufcolumn = newbufcolumn; + + maxNextCharInd = (bufpos += (bufsize - tokenBegin)); + } + else + { + System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); + buffer = newbuffer; + + System.arraycopy(bufline, tokenBegin, newbufline, 0, bufsize - tokenBegin); + bufline = newbufline; + + System.arraycopy(bufcolumn, tokenBegin, newbufcolumn, 0, bufsize - tokenBegin); + bufcolumn = newbufcolumn; + + maxNextCharInd = (bufpos -= tokenBegin); + } + } + catch (Throwable t) + { + throw new Error(t.getMessage()); + } + + + bufsize += 2048; + available = bufsize; + tokenBegin = 0; + } + + static private final void FillBuff() throws java.io.IOException + { + if (maxNextCharInd == available) + { + if (available == bufsize) + { + if (tokenBegin > 2048) + { + bufpos = maxNextCharInd = 0; + available = tokenBegin; + } + else if (tokenBegin < 0) + bufpos = maxNextCharInd = 0; + else + ExpandBuff(false); + } + else if (available > tokenBegin) + available = bufsize; + else if ((tokenBegin - available) < 2048) + ExpandBuff(true); + else + available = tokenBegin; + } + + int i; + try { + if ((i = inputStream.read(buffer, maxNextCharInd, + available - maxNextCharInd)) == -1) + { + inputStream.close(); + throw new java.io.IOException(); + } + else + maxNextCharInd += i; + return; + } + catch(java.io.IOException e) { + --bufpos; + backup(0); + if (tokenBegin == -1) + tokenBegin = bufpos; + throw e; + } + } + + static public final char BeginToken() throws java.io.IOException + { + tokenBegin = -1; + char c = readChar(); + tokenBegin = bufpos; + + return c; + } + + static private final void UpdateLineColumn(char c) + { + column++; + + if (prevCharIsLF) + { + prevCharIsLF = false; + line += (column = 1); + } + else if (prevCharIsCR) + { + prevCharIsCR = false; + if (c == '\n') + { + prevCharIsLF = true; + } + else + line += (column = 1); + } + + switch (c) + { + case '\r' : + prevCharIsCR = true; + break; + case '\n' : + prevCharIsLF = true; + break; + case '\t' : + column--; + column += (8 - (column & 07)); + break; + default : + break; + } + + bufline[bufpos] = line; + bufcolumn[bufpos] = column; + } + + static public final char readChar() throws java.io.IOException + { + if (inBuf > 0) + { + --inBuf; + return (char)((char)0xff & buffer[(bufpos == bufsize - 1) ? (bufpos = 0) : ++bufpos]); + } + + if (++bufpos >= maxNextCharInd) + FillBuff(); + + char c = (char)((char)0xff & buffer[bufpos]); + + UpdateLineColumn(c); + return (c); + } + + /** + * @deprecated + * @see #getEndColumn + */ + + static public final int getColumn() { + return bufcolumn[bufpos]; + } + + /** + * @deprecated + * @see #getEndLine + */ + + static public final int getLine() { + return bufline[bufpos]; + } + + static public final int getEndColumn() { + return bufcolumn[bufpos]; + } + + static public final int getEndLine() { + return bufline[bufpos]; + } + + static public final int getBeginColumn() { + return bufcolumn[tokenBegin]; + } + + static public final int getBeginLine() { + return bufline[tokenBegin]; + } + + static public final void backup(int amount) { + + inBuf += amount; + if ((bufpos -= amount) < 0) + bufpos += bufsize; + } + + public ASCII_CharStream(java.io.Reader dstream, int startline, + int startcolumn, int buffersize) + { + if (inputStream != null) + throw new Error("\n ERROR: Second call to the constructor of a static ASCII_CharStream. You must\n" + + " either use ReInit() or set the JavaCC option STATIC to false\n" + + " during the generation of this class."); + inputStream = dstream; + line = startline; + column = startcolumn - 1; + + available = bufsize = buffersize; + buffer = new char[buffersize]; + bufline = new int[buffersize]; + bufcolumn = new int[buffersize]; + } + + public ASCII_CharStream(java.io.Reader dstream, int startline, + int startcolumn) + { + this(dstream, startline, startcolumn, 4096); + } + static public void ReInit(java.io.Reader dstream, int startline, + int startcolumn, int buffersize) + { + inputStream = dstream; + line = startline; + column = startcolumn - 1; + + if (buffer == null || buffersize != buffer.length) + { + available = bufsize = buffersize; + buffer = new char[buffersize]; + bufline = new int[buffersize]; + bufcolumn = new int[buffersize]; + } + prevCharIsLF = prevCharIsCR = false; + tokenBegin = inBuf = maxNextCharInd = 0; + bufpos = -1; + } + + static public void ReInit(java.io.Reader dstream, int startline, + int startcolumn) + { + ReInit(dstream, startline, startcolumn, 4096); + } + public ASCII_CharStream(java.io.InputStream dstream, int startline, + int startcolumn, int buffersize) + { + this(new java.io.InputStreamReader(dstream), startline, startcolumn, 4096); + } + + public ASCII_CharStream(java.io.InputStream dstream, int startline, + int startcolumn) + { + this(dstream, startline, startcolumn, 4096); + } + + static public void ReInit(java.io.InputStream dstream, int startline, + int startcolumn, int buffersize) + { + ReInit(new java.io.InputStreamReader(dstream), startline, startcolumn, 4096); + } + static public void ReInit(java.io.InputStream dstream, int startline, + int startcolumn) + { + ReInit(dstream, startline, startcolumn, 4096); + } + static public final String GetImage() + { + if (bufpos >= tokenBegin) + return new String(buffer, tokenBegin, bufpos - tokenBegin + 1); + else + return new String(buffer, tokenBegin, bufsize - tokenBegin) + + new String(buffer, 0, bufpos + 1); + } + + static public final char[] GetSuffix(int len) + { + char[] ret = new char[len]; + + if ((bufpos + 1) >= len) + System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); + else + { + System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0, + len - bufpos - 1); + System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1); + } + + return ret; + } + + static public void Done() + { + buffer = null; + bufline = null; + bufcolumn = null; + } + + /** + * Method to adjust line and column numbers for the start of a token.
+ */ + static public void adjustBeginLineColumn(int newLine, int newCol) + { + int start = tokenBegin; + int len; + + if (bufpos >= tokenBegin) + { + len = bufpos - tokenBegin + inBuf + 1; + } + else + { + len = bufsize - tokenBegin + bufpos + 1 + inBuf; + } + + int i = 0, j = 0, k = 0; + int nextColDiff = 0, columnDiff = 0; + + while (i < len && + bufline[j = start % bufsize] == bufline[k = ++start % bufsize]) + { + bufline[j] = newLine; + nextColDiff = columnDiff + bufcolumn[k] - bufcolumn[j]; + bufcolumn[j] = newCol + columnDiff; + columnDiff = nextColDiff; + i++; + } + + if (i < len) + { + bufline[j] = newLine++; + bufcolumn[j] = newCol + columnDiff; + + while (i++ < len) + { + if (bufline[j = start % bufsize] != bufline[++start % bufsize]) + bufline[j] = newLine++; + else + bufline[j] = newLine; + } + } + + line = bufline[j]; + column = bufcolumn[j]; + } + +} diff --git a/C2J/C.jj b/C2J/C.jj new file mode 100644 index 0000000..ca07ea2 --- /dev/null +++ b/C2J/C.jj @@ -0,0 +1,578 @@ +/* + + C grammar defintion for use with JavaCC + Contributed by Doug South (dsouth@squirrel.com.au) 21/3/97 + + This parser assumes that the C source file has been preprocessed : all + #includes have been included and all macros have been expanded. I accomplish + this with "gcc -P -E > ". + + There is a problem with compiler specific types, such as __signed, __const, + __inline__, etc. These types can be added as typedef types before the parser + is run on a file. See main() for an example. I have also found a strange little + compiler specific "type" if you can call it that. It is __attribute__, but it + does not seem to be used as a type. I found that just deleting the __attribute__ + and the following "offensive" code works. + + This grammar also prints out all the types defined while parsing the file. This + is done via a call to printTypes() when the parser is complete. If you do not want + this, just comment out the printTypes() method call in the production rule + TranslationUnit(), which BTW is the root node for parsing a C source file. + + I have not in anyway extensively tested this grammar, in fact it is barely tested, + but I imagine it is better to have a starting point for a C grammar other than from + scratch. It has not been optimized in anyway, my main aim was to get a parser that + works. Lookahead may not be optimum at choice points and may even be insufficient at + times. I choose to err on the side of not optimum if I made a choice at all. + + If you use this grammar, I would appreciate hearing from you. I will try to maintain + this grammar to the best of my ability, but at this point in time, this is only a side + hobby (unless someone wants to pay me for doing JavaCC work!). In that regards, I am + interested in hearing bugs and comments. + + TODO: + + Insert the appropiate code to enable C source trees from this grammar. + + */ + +PARSER_BEGIN(CParser) + +import java.util.*; + + public class CParser{ + + // Hastable for storing typedef types + private static Hashtable types = new Hashtable(); + + // Stack for determining when the parser + // is parsing a typdef definition. + private static Stack typedefParsingStack = new Stack(); + + // Returns true if the given string is + // a typedef type. + private static boolean isType(String type){ + + if(types.get(type) != null){ + return true; + } + return false; + } + + // Add a typedef type to those already defined + private static void addType(String type){ + types.put(type, Boolean.TRUE); + } + + // Prints out all the types used in parsing the c source + private static void printTypes(){ + + Enumeration enum = types.keys(); + + while(enum.hasMoreElements()){ + System.out.println(enum.nextElement()); + } + } + + // Run the parser + public static void main ( String args [ ] ) { + CParser parser ; + + // Hack to include type "special types" + types.put("__signed__", Boolean.TRUE); + types.put("__const", Boolean.TRUE); + types.put("__inline__", Boolean.TRUE); + types.put("__signed", Boolean.TRUE); + + if(args.length == 0){ + System.out.println("C Parser Version 0.1Alpha: Reading from standard input . . ."); + parser = new CParser(System.in); + } + else if(args.length == 1){ + System.out.println("C Parser Version 0.1Alpha: Reading from file " + args[0] + " . . ." ); + try { + parser = new CParser(new java.io.FileInputStream(args[0])); + } + catch(java.io.FileNotFoundException e){ + System.out.println("C Parser Version 0.1: File " + args[0] + " not found."); + return ; + } + } + else { + System.out.println("C Parser Version 0.1Alpha: Usage is one of:"); + System.out.println(" java CParser < inputfile"); + System.out.println("OR"); + System.out.println(" java CParser inputfile"); + return ; + } + try { + parser.TranslationUnit(); + System.out.println("C Parser Version 0.1Alpha: Java program parsed successfully."); + } + catch(ParseError e){ + System.out.println("C Parser Version 0.1Alpha: Encountered errors during parse."); + } + } + } + +PARSER_END(CParser) + +SKIP : { + " " +| "\t" +| "\n" +| "\r" +| <"//" (~["\n","\r"])* ("\n" | "\r" | "\r\n")> +| <"/*" (~["*"])* "*" ("*" | ~["*","/"] (~["*"])* "*")* "/"> +} + +TOKEN : { + (["l","L"])? | (["l","L"])? | (["l","L"])?> +| <#DECIMAL_LITERAL: ["1"-"9"] (["0"-"9"])*> +| <#HEX_LITERAL: "0" ["x","X"] (["0"-"9","a"-"f","A"-"F"])+> +| <#OCTAL_LITERAL: "0" (["0"-"7"])*> +| )? (["f","F","d","D"])? | "." (["0"-"9"])+ ()? (["f","F","d","D"])? | (["0"-"9"])+ (["f","F","d","D"])? | (["0"-"9"])+ ()? ["f","F","d","D"]> +| <#EXPONENT: ["e","E"] (["+","-"])? (["0"-"9"])+> +| +| +} + +TOKEN : { + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + +} + +TOKEN : { + ( | )*> +| <#LETTER: ["$","A"-"Z","_","a"-"z"]> +| <#DIGIT: ["0"-"9"]> +} + +void TranslationUnit() : {} +{ + (ExternalDeclaration())+ + {printTypes();} +} + +void ExternalDeclaration() : {} +{ + ( LOOKAHEAD( FunctionDefinition() ) FunctionDefinition() | Declaration()) +} + +void FunctionDefinition() : {} +{ + [LOOKAHEAD(DeclarationSpecifiers()) DeclarationSpecifiers()] Declarator() [ DeclarationList() ] + CompoundStatement() +} + +void Declaration() : {} +{ + DeclarationSpecifiers() [ InitDeclaratorList() ] ";" +} + +void DeclarationList() : {} +{ + ( LOOKAHEAD(Declaration()) Declaration() )+ +} + +void DeclarationSpecifiers() : {} +{ + StorageClassSpecifier() [ LOOKAHEAD(DeclarationSpecifiers()) + DeclarationSpecifiers() ] | + TypeSpecifier() [ LOOKAHEAD(DeclarationSpecifiers()) + DeclarationSpecifiers() ] | + TypeQualifier() [ LOOKAHEAD(DeclarationSpecifiers()) + DeclarationSpecifiers() ] +} + +void StorageClassSpecifier() : {} +{ + ( | | | | + { + typedefParsingStack.push(Boolean.TRUE); + } ) +} + +void TypeSpecifier() : {} +{ + ( | | | | | | | | + | StructOrUnionSpecifier() | EnumSpecifier() | LOOKAHEAD( { isType(getToken(1).image) } )TypedefName() ) +} + +void TypeQualifier() : {} +{ + ( | ) +} + +void StructOrUnionSpecifier() : {} +{ + { + typedefParsingStack.push(Boolean.FALSE); + } + + StructOrUnion() ( LOOKAHEAD(3) [ ] "{" StructDeclarationList() "}" | ) + + { + typedefParsingStack.pop(); + } +} + +void StructOrUnion() : {} +{ + ( | ) +} + +void StructDeclarationList() : {} +{ + (StructDeclaration())+ +} + +void InitDeclaratorList() : {} +{ + InitDeclarator() ("," InitDeclarator())* + { + // Finished with a typedefDeclaration?? + if(!(typedefParsingStack.empty()) && ((Boolean)typedefParsingStack.peek()).booleanValue()){ + typedefParsingStack.pop(); + } + } +} + +void InitDeclarator() : {} +{ + Declarator() [ "=" Initializer() ] +} + +void StructDeclaration() : {} +{ + SpecifierQualifierList() StructDeclaratorList() ";" +} + +void SpecifierQualifierList() : {} +{ + TypeSpecifier() [ LOOKAHEAD(SpecifierQualifierList()) + SpecifierQualifierList() ]| + TypeQualifier() [ LOOKAHEAD(SpecifierQualifierList()) + SpecifierQualifierList() ] +} + +void StructDeclaratorList() : {} +{ + StructDeclarator() ( "," StructDeclarator() )* +} + +void StructDeclarator() : {} +{ + ( LOOKAHEAD(3) Declarator() | [ Declarator() ] ":" ConstantExpression() ) +} + +void EnumSpecifier() : {} +{ + ( LOOKAHEAD(3) [ ] "{" EnumeratorList() "}" | ) +} + +void EnumeratorList() : {} +{ + Enumerator() ("," Enumerator())* +} + +void Enumerator() : {} +{ + [ "=" ConstantExpression() ] +} + +void Declarator() : {} +{ + [ Pointer() ] DirectDeclarator() +} + +void DirectDeclarator() : { Token t;} +{ + ( t = + + { if(!(typedefParsingStack.empty()) && ((Boolean)typedefParsingStack.peek()).booleanValue()){ + addType(t.image); + } + } + | "(" Declarator() ")" ) + + ( "[" [ ConstantExpression() ] "]" | + LOOKAHEAD(3) "(" ParameterTypeList() ")" | + "(" [ IdentifierList() ] ")" )* +} + +void Pointer() : {} +{ + "*" [ TypeQualifierList() ] [ Pointer() ] +} + +void TypeQualifierList() : {} +{ + (TypeQualifier())+ +} + +void ParameterTypeList() : {} +{ + ParameterList() ["," "..." ] +} + +void ParameterList() : {} +{ + ParameterDeclaration() (LOOKAHEAD(2) "," ParameterDeclaration())* +} + +void ParameterDeclaration() : {} +{ + DeclarationSpecifiers() ( LOOKAHEAD(Declarator()) Declarator() | [ AbstractDeclarator() ] ) +} + +void IdentifierList() : {} +{ + ("," )* +} + +void Initializer() : {} +{ + ( AssignmentExpression() | + "{" InitializerList() [","] "}" ) +} + +void InitializerList() : {} +{ + Initializer() (LOOKAHEAD(2) "," Initializer())* +} + +void TypeName() : {} +{ + SpecifierQualifierList() [ AbstractDeclarator() ] + +} + +void AbstractDeclarator() : {} +{ + ( LOOKAHEAD(3) Pointer() | + [Pointer()] DirectAbstractDeclarator() ) +} + +void DirectAbstractDeclarator() : {} +{ + ( LOOKAHEAD(2) "(" AbstractDeclarator() ")" | + "[" [ConstantExpression()] "]" | + "(" [ParameterTypeList()] ")" ) + + ( "[" [ ConstantExpression() ] "]" | "(" [ ParameterTypeList() ] ")" )* +} + +void TypedefName() : {} +{ + +} + +void Statement() : {} +{ + ( LOOKAHEAD(2) LabeledStatement() | + ExpressionStatement() | + CompoundStatement() | + SelectionStatement() | + IterationStatement() | + JumpStatement() ) +} + +void LabeledStatement() : {} +{ + ( ":" Statement() | + ConstantExpression() ":" Statement() | + ":" Statement() ) +} + +void ExpressionStatement() : {} +{ + [ Expression() ] ";" +} + +void CompoundStatement() : {} +{ + "{" [ LOOKAHEAD(DeclarationList()) DeclarationList() ] + [ StatementList() ] + "}" +} + +void StatementList() : {} +{ + (Statement())+ +} + +void SelectionStatement() : {} +{ + ( "(" Expression() ")" Statement() [ LOOKAHEAD(2) Statement() ] | + "(" Expression() ")" Statement() ) +} + +void IterationStatement() : {} +{ + ( "(" Expression() ")" Statement() | + Statement() "(" Expression() ")" ";" | + "(" [ Expression() ] ";" [ Expression() ] ";" [ Expression() ] ")" Statement() ) +} + +void JumpStatement() : {} +{ + ( ";" | + ";" | + ";" | + [ Expression() ] ";" ) +} + +void Expression() : {} +{ + AssignmentExpression() ( "," AssignmentExpression() )* +} + +void AssignmentExpression() : {} +{ + LOOKAHEAD(UnaryExpression() AssignmentOperator()) UnaryExpression() AssignmentOperator() AssignmentExpression() | + LOOKAHEAD(3) ConditionalExpression() +} + +void AssignmentOperator() : {} +{ + ( "=" | "*=" | "/=" | "%=" | "+=" | "-=" | "<<=" | ">>=" | "&=" | "^=" | "|=" ) +} + +void ConditionalExpression() : {} +{ + LogicalORExpression() [ "?" Expression() ":" ConditionalExpression() ] +} + +void ConstantExpression() : {} +{ + ConditionalExpression() +} + +void LogicalORExpression() : {} +{ + LogicalANDExpression() [ "||" LogicalORExpression() ] +} + +void LogicalANDExpression() : {} +{ + InclusiveORExpression() [ "&&" LogicalANDExpression() ] +} + +void InclusiveORExpression() : {} +{ + ExclusiveORExpression() [ "|" InclusiveORExpression() ] +} + +void ExclusiveORExpression() : {} +{ + ANDExpression() [ "^" ExclusiveORExpression() ] +} + +void ANDExpression() : {} +{ + EqualityExpression() [ "&" ANDExpression() ] +} + +void EqualityExpression() : {} +{ + RelationalExpression() [ ( "==" | "!=" ) EqualityExpression() ] +} + +void RelationalExpression() : {} +{ + ShiftExpression() [ ( "<" | ">" | "<=" | ">=" ) RelationalExpression() ] +} + +void ShiftExpression() : {} +{ + AdditiveExpression() [ ( "<<" | ">>" ) ShiftExpression() ] +} + +void AdditiveExpression() : {} +{ + MultiplicativeExpression() [ ( "+" | "-" ) AdditiveExpression() ] +} + +void MultiplicativeExpression() : {} +{ + CastExpression() [ ( "*" | "/" | "%" ) MultiplicativeExpression() ] +} + +void CastExpression() : {} +{ + ( LOOKAHEAD("(" TypeName() ")" CastExpression() ) "(" TypeName() ")" CastExpression() | + UnaryExpression() ) +} + +void UnaryExpression() : {} +{ + ( LOOKAHEAD(3) PostfixExpression() | + "++" UnaryExpression() | + "--" UnaryExpression() | + UnaryOperator() CastExpression() | + ( LOOKAHEAD(UnaryExpression() ) UnaryExpression() | "(" TypeName() ")" ) ) +} + +void UnaryOperator() : {} +{ + ( "&" | "*" | "+" | "-" | "~" | "!" ) +} + +void PostfixExpression() : {} +{ + PrimaryExpression() ( "[" Expression() "]" | + "(" [ LOOKAHEAD(ArgumentExpressionList() ) ArgumentExpressionList() ] ")" | + "." | + "->" | + "++" | + "--" )* +} + +void PrimaryExpression() : {} +{ + ( | + Constant() | + "(" Expression() ")" ) +} + +void ArgumentExpressionList() : {} +{ + AssignmentExpression() ( "," AssignmentExpression() )* +} + +void Constant() : {} +{ + | | | +} + diff --git a/C2J/C2C.jj b/C2J/C2C.jj new file mode 100644 index 0000000..bd70c9a --- /dev/null +++ b/C2J/C2C.jj @@ -0,0 +1,721 @@ +/* + + C grammar defintion for use with JavaCC + Contributed by Doug South (dsouth@squirrel.com.au) 21/3/97 + + This parser assumes that the C source file has been preprocessed : all + #includes have been included and all macros have been expanded. I accomplish + this with "gcc -P -E > ". + + There is a problem with compiler specific types, such as __signed, __const, + __inline__, etc. These types can be added as typedef types before the parser + is run on a file. See main() for an example. I have also found a strange little + compiler specific "type" if you can call it that. It is __attribute__, but it + does not seem to be used as a type. I found that just deleting the __attribute__ + and the following "offensive" code works. + + This grammar also prints out all the types defined while parsing the file. This + is done via a call to printTypes() when the parser is complete. If you do not want + this, just comment out the printTypes() method call in the production rule + TranslationUnit(), which BTW is the root node for parsing a C source file. + + I have not in anyway extensively tested this grammar, in fact it is barely tested, + but I imagine it is better to have a starting point for a C grammar other than from + scratch. It has not been optimized in anyway, my main aim was to get a parser that + works. Lookahead may not be optimum at choice points and may even be insufficient at + times. I choose to err on the side of not optimum if I made a choice at all. + + If you use this grammar, I would appreciate hearing from you. I will try to maintain + this grammar to the best of my ability, but at this point in time, this is only a side + hobby (unless someone wants to pay me for doing JavaCC work!). In that regards, I am + interested in hearing bugs and comments. + + TODO: + + Insert the appropiate code to enable C source trees from this grammar. + + */ + +PARSER_BEGIN(C2C) + +import java.util.*; + + public class C2C{ + + public static String src ; + + // Hastable for storing typedef types + private static Hashtable types = new Hashtable(); + + // Stack for determining when the parser + // is parsing a typdef definition. + private static Stack typedefParsingStack = new Stack(); + + // Returns true if the given string is + // a typedef type. + private static boolean isType(String type){ + + if(types.get(type) != null){ + return true; + } + return false; + } + + // Add a typedef type to those already defined + private static void addType(String type){ + types.put(type, Boolean.TRUE); + } + + // Prints out all the types used in parsing the c source + private static void printTypes(){ + + Enumeration enum = types.keys(); + + while(enum.hasMoreElements()){ + System.out.println(enum.nextElement()); + } + } + + // Run the parser + public static void main ( String args [ ] ) { + C2C parser ; + + // Hack to include type "special types" + types.put("__signed__", Boolean.TRUE); + types.put("__const", Boolean.TRUE); + types.put("__inline__", Boolean.TRUE); + types.put("__signed", Boolean.TRUE); + + if(args.length == 0){ + System.out.println("C Parser Version 0.1Alpha: Reading from standard input . . ."); + parser = new C2C(System.in); + } + else if(args.length == 1){ + System.out.println("C Parser Version 0.1Alpha: Reading from file " + args[0] + " . . ." ); + try { + parser = new C2C(new java.io.FileInputStream(args[0])); + } + catch(java.io.FileNotFoundException e){ + System.out.println("C Parser Version 0.1: File " + args[0] + " not found."); + return ; + } + } + else { + System.out.println("C Parser Version 0.1Alpha: Usage is one of:"); + System.out.println(" java C2C < inputfile"); + System.out.println("OR"); + System.out.println(" java C2C inputfile"); + return ; + } + try { + src = new String(); + parser.TranslationUnit(); + System.out.println("/* C Parser Version 0.1Alpha: Java program parsed successfully. */"); + } + catch(ParseError e){ + System.out.println("/* C Parser Version 0.1Alpha: Encountered errors during parse. */"); + } + System.out.println(src); + } + } + +PARSER_END(C2C) + +SKIP : { + " " +| "\t" +| "\n" +| "\r" +| <"//" (~["\n","\r"])* ("\n" | "\r" | "\r\n")> +| <"/*" (~["*"])* "*" ("*" | ~["*","/"] (~["*"])* "*")* "/"> +} + +TOKEN : { + (["l","L"])? | (["l","L"])? | (["l","L"])?> +| <#DECIMAL_LITERAL: ["1"-"9"] (["0"-"9"])*> +| <#HEX_LITERAL: "0" ["x","X"] (["0"-"9","a"-"f","A"-"F"])+> +| <#OCTAL_LITERAL: "0" (["0"-"7"])*> +| )? (["f","F","d","D"])? | "." (["0"-"9"])+ ()? (["f","F","d","D"])? | (["0"-"9"])+ (["f","F","d","D"])? | (["0"-"9"])+ ()? ["f","F","d","D"]> +| <#EXPONENT: ["e","E"] (["+","-"])? (["0"-"9"])+> +| +| +} + +TOKEN : { + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + +} + +TOKEN : { + ( | )*> +| <#LETTER: ["$","A"-"Z","_","a"-"z"]> +| <#DIGIT: ["0"-"9"]> +} + +void TranslationUnit() : {} +{ + (ExternalDeclaration())+ + { /* printTypes(); */ } +} + +void ExternalDeclaration() : {} +{ + ( LOOKAHEAD( FunctionDefinition() ) FunctionDefinition() | Declaration()) +} + +void FunctionDefinition() : {} +{ + [LOOKAHEAD(DeclarationSpecifiers()) DeclarationSpecifiers()] Declarator() [ DeclarationList() ] + CompoundStatement() +} + +void Declaration() : {} +{ + DeclarationSpecifiers() [ InitDeclaratorList() ] + ";" { src=src+";\n"; } +} + +void DeclarationList() : {} +{ + ( LOOKAHEAD(Declaration()) Declaration() )+ +} + +void DeclarationSpecifiers() : {} +{ + StorageClassSpecifier() [ LOOKAHEAD(DeclarationSpecifiers()) + DeclarationSpecifiers() ] | + TypeSpecifier() [ LOOKAHEAD(DeclarationSpecifiers()) + DeclarationSpecifiers() ] | + TypeQualifier() [ LOOKAHEAD(DeclarationSpecifiers()) + DeclarationSpecifiers() ] +} + +void StorageClassSpecifier() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; } + { + typedefParsingStack.push(Boolean.TRUE); + } ) +} + +void TypeSpecifier() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + t= { src=src+t.image+" "; }| + StructOrUnionSpecifier() | + EnumSpecifier() | + LOOKAHEAD( { isType(getToken(1).image) } )TypedefName() ) +} + +void TypeQualifier() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; } ) +} + +void StructOrUnionSpecifier() : +{ Token t; } +{ + { + typedefParsingStack.push(Boolean.FALSE); + } + + StructOrUnion() ( LOOKAHEAD(3) + [ t= { src=src+t.image+" "; } ] + "{" { src=src+"{\n"; } StructDeclarationList() + "}" { src=src+"}\n"; } | + t= { src=src+t.image+" "; }) + { + typedefParsingStack.pop(); + } +} + +void StructOrUnion() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; } ) +} + +void StructDeclarationList() : {} +{ + (StructDeclaration())+ +} + +void InitDeclaratorList() : {} +{ + InitDeclarator() ( + "," { src=src+", "; } InitDeclarator())* + { + // Finished with a typedefDeclaration?? + if(!(typedefParsingStack.empty()) && ((Boolean)typedefParsingStack.peek()).booleanValue()){ + typedefParsingStack.pop(); + } + } +} + +void InitDeclarator() : {} +{ + Declarator() [ "=" { src=src+"= "; } Initializer() ] +} + +void StructDeclaration() : {} +{ + SpecifierQualifierList() StructDeclaratorList() + ";" { src=src+";\n"; } +} + +void SpecifierQualifierList() : {} +{ + TypeSpecifier() [ LOOKAHEAD(SpecifierQualifierList()) + SpecifierQualifierList() ]| + TypeQualifier() [ LOOKAHEAD(SpecifierQualifierList()) + SpecifierQualifierList() ] +} + +void StructDeclaratorList() : {} +{ + StructDeclarator() ( "," { src=src+", "; } StructDeclarator() )* +} + +void StructDeclarator() : {} +{ + ( LOOKAHEAD(3) Declarator() | [ Declarator() ] + ":" { src=src+": "; } ConstantExpression() ) +} + +void EnumSpecifier() : +{ Token t; } +{ + t= { src=src+t.image+" "; } ( LOOKAHEAD(3) + [ t= { src=src+t.image+" "; } ] + "{" { src=src+"{\n"; } EnumeratorList() + "}" { src=src+"}\n"; } | + t= { src=src+t.image+" "; } ) +} + +void EnumeratorList() : {} +{ + Enumerator() ("," { src=src+",\n"; } Enumerator())* +} + +void Enumerator() : +{ Token t; } +{ + t= { src=src+t.image+" "; } + [ "=" { src=src+"= "; } ConstantExpression() ] +} + +void Declarator() : {} +{ + [ Pointer() ] DirectDeclarator() +} + +void DirectDeclarator() : { Token t;} +{ + ( t = + { src=src+t.image+" "; + if(!(typedefParsingStack.empty()) && + ((Boolean)typedefParsingStack.peek()).booleanValue()) + { + addType(t.image); + } + } + | "(" { src=src+"( "; } Declarator() ")" { src=src+") "; } ) + + ( "[" { src=src+"[ "; } [ ConstantExpression() ] "]" { src=src+"] "; } | + LOOKAHEAD(3) "(" { src=src+"( "; } ParameterTypeList() + ")" { src=src+") "; } | + "(" { src=src+"( "; } [ IdentifierList() ] ")" { src=src+") "; } )* +} + +void Pointer() : {} +{ + "*" { src=src+"* "; } [ TypeQualifierList() ] [ Pointer() ] +} + +void TypeQualifierList() : {} +{ + (TypeQualifier())+ +} + +void ParameterTypeList() : {} +{ + ParameterList() ["," { src=src+", "; } "..." { src=src+"..."; } ] +} + +void ParameterList() : {} +{ + ParameterDeclaration() (LOOKAHEAD(2) + "," { src=src+", "; } ParameterDeclaration())* +} + +void ParameterDeclaration() : {} +{ + DeclarationSpecifiers() ( LOOKAHEAD(Declarator()) Declarator() | [ AbstractDeclarator() ] ) +} + +void IdentifierList() : +{ Token t; } +{ + t= { src=src+t.image+" "; } + ("," { src=src+", "; } t= { src=src+t.image+" "; } )* +} + +void Initializer() : {} +{ + ( AssignmentExpression() | + "{" { src=src+"{\n"; } InitializerList() + ["," { src=src+", "; } ] "}" { src=src+"}\n"; } ) +} + +void InitializerList() : {} +{ + Initializer() (LOOKAHEAD(2) "," { src=src+", "; } Initializer())* +} + +void TypeName() : {} +{ + SpecifierQualifierList() [ AbstractDeclarator() ] + +} + +void AbstractDeclarator() : {} +{ + ( LOOKAHEAD(3) Pointer() | + [Pointer()] DirectAbstractDeclarator() ) +} + +void DirectAbstractDeclarator() : {} +{ + ( LOOKAHEAD(2) + "(" { src=src+"( "; } AbstractDeclarator() + ")" { src=src+") "; } | + "[" { src=src+"[ "; } [ConstantExpression()] + "]" { src=src+"] "; } | + "(" { src=src+"( "; } [ParameterTypeList()] + ")" { src=src+") "; } ) + ( + "[" { src=src+"[ "; } [ ConstantExpression() ] + "]" { src=src+"] "; } | + "(" { src=src+"( "; } [ ParameterTypeList() ] + ")" { src=src+") "; } )* +} + +void TypedefName() : +{ Token t; } +{ + t= { src=src+t.image+" "; } +} + +void Statement() : {} +{ + ( LOOKAHEAD(2) LabeledStatement() | + ExpressionStatement() | + CompoundStatement() | + SelectionStatement() | + IterationStatement() | + JumpStatement() ) +} + +void LabeledStatement() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } + ":" { src=src+": "; } Statement() | + t= { src=src+t.image+" "; } ConstantExpression() + ":"{ src=src+": "; } Statement() | + t= { src=src+t.image+" "; } + ":"{ src=src+": "; } Statement() ) +} + +void ExpressionStatement() : {} +{ + [ Expression() ] ";"{ src=src+";\n"; } +} + +void CompoundStatement() : {} +{ + "{" { src=src+"{\n"; } [ LOOKAHEAD(DeclarationList()) DeclarationList() ] + [ StatementList() ] + "}"{ src=src+"}\n"; } +} + +void StatementList() : {} +{ + (Statement())+ +} + +void SelectionStatement() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } + "(" { src=src+"( "; } Expression() + ")" { src=src+")\n"; } Statement() [ LOOKAHEAD(2) + t= { src=src+t.image+" "; } Statement() ] | + t= { src=src+t.image+" "; } + "(" { src=src+"( "; } Expression() + ")" { src=src+")\n"; } Statement() ) +} + +void IterationStatement() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } + "(" { src=src+"( "; } Expression() + ")" { src=src+")\n"; } Statement() | + t= { src=src+t.image+"\n"; } Statement() + t= { src=src+t.image+" "; } + "(" { src=src+"( "; } Expression() + ")" ";" { src=src+");\n"; } | + t= { src=src+t.image+" "; } + "(" { src=src+"( "; } [ Expression() ] + ";" { src=src+"; "; } [ Expression() ] + ";" { src=src+"; "; } [ Expression() ] + ")" { src=src+")\n"; } + Statement() ) +} + +void JumpStatement() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } t= { src=src+t.image+" "; } + ";" { src=src+";\n"; } | + t= { src=src+t.image+" "; } ";" { src=src+";\n"; } | + t= { src=src+t.image+" "; } ";" { src=src+";\n"; } | + t= { src=src+t.image+" "; } + [ Expression() ] ";" { src=src+";\n"; } ) +} + +void Expression() : {} +{ + AssignmentExpression() ( "," { src=src+", "; } AssignmentExpression() )* +} + +void AssignmentExpression() : {} +{ + LOOKAHEAD(UnaryExpression() AssignmentOperator()) UnaryExpression() AssignmentOperator() AssignmentExpression() | + LOOKAHEAD(3) ConditionalExpression() +} + +void AssignmentOperator() : {} +{ + ( "=" { src=src+"= "; } | + "*=" { src=src+"*= "; } | + "/=" { src=src+"/= "; } | + "%=" { src=src+"%= "; } | + "+=" { src=src+"+= "; } | + "-=" { src=src+"-= "; } | + "<<=" { src=src+"<<= "; } | + ">>=" { src=src+">>= "; } | + "&=" { src=src+"&= "; } | + "^=" { src=src+"^= "; } | + "|=" { src=src+"|= "; } ) +} + +void ConditionalExpression() : {} +{ + LogicalORExpression() + [ "?" { src=src+"? "; } Expression() ":" { src=src+": "; } + ConditionalExpression() ] +} + +void ConstantExpression() : {} +{ + ConditionalExpression() +} + +void LogicalORExpression() : {} +{ + LogicalANDExpression() + [ "||" { src=src+"|| "; } LogicalORExpression() ] +} + +void LogicalANDExpression() : {} +{ + InclusiveORExpression() + [ "&&" { src=src+"&& "; } LogicalANDExpression() ] +} + +void InclusiveORExpression() : {} +{ + ExclusiveORExpression() + [ "|" { src=src+"| "; } InclusiveORExpression() ] +} + +void ExclusiveORExpression() : {} +{ + ANDExpression() + [ "^" { src=src+"^ "; } ExclusiveORExpression() ] +} + +void ANDExpression() : {} +{ + EqualityExpression() + [ "&" { src=src+"& "; } ANDExpression() ] +} + +void EqualityExpression() : {} +{ + RelationalExpression() + [ ( "==" { src=src+"== "; } | "!=" { src=src+"!= "; } ) + EqualityExpression() ] +} + +void RelationalExpression() : {} +{ + ShiftExpression() + [ ( "<" { src=src+"< "; } | + ">" { src=src+"> "; } | + "<=" { src=src+"<= "; } | + ">=" { src=src+">= "; } ) RelationalExpression() ] +} + +void ShiftExpression() : {} +{ + AdditiveExpression() + [ ( "<<" { src=src+"<< "; } | ">>" { src=src+">> "; } ) ShiftExpression() ] +} + +void AdditiveExpression() : {} +{ + MultiplicativeExpression() + [ ( "+" { src=src+"+ "; } | "-" { src=src+"- "; } ) AdditiveExpression() ] +} + +void MultiplicativeExpression() : {} +{ + CastExpression() + [ ( "*" { src=src+"* "; } | + "/" { src=src+"/ "; } | + "%" { src=src+"% "; } ) MultiplicativeExpression() ] +} + +void CastExpression() : +{ String help1= new String(); + String help2= new String(); +} +{ + ( LOOKAHEAD( "(" TypeName(help1) ")" CastExpression(help2) ) + { src=src+"( "+help1+") "+help2; } + "(" { src=src+"( "; } TypeName() ")" { src=src+") "; } CastExpression() | + UnaryExpression() ) +} + +void UnaryExpression() : +{ Token t; } +{ + ( LOOKAHEAD(3) PostfixExpression() | + "++" { src=src+"++ "; } UnaryExpression() | + "--" { src=src+"-- "; } UnaryExpression() | + UnaryOperator() CastExpression() | + t= { src=src+t.image+" "; } + ( LOOKAHEAD(UnaryExpression() ) UnaryExpression() | + "(" { src=src+"( "; } TypeName() ")" { src=src+") "; } ) ) +} + +void UnaryOperator() : {} +{ + ( "&" { src=src+"& "; } | + "*" { src=src+"* "; } | + "+" { src=src+"+ "; } | + "-" { src=src+"- "; } | + "~" { src=src+"~ "; } | + "!" { src=src+"! "; } ) +} + +void PostfixExpression() : +{ Token t; } +{ + PrimaryExpression() + ( "[" { src=src+"[ "; } Expression() "]" { src=src+"] "; } | + "(" { src=src+"( "; } + [ LOOKAHEAD(ArgumentExpressionList() ) ArgumentExpressionList() ] + ")" { src=src+") "; } | + "." { src=src+". "; } t= { src=src+t.image+" "; } | + "->" { src=src+"-> "; } t= { src=src+t.image+" "; } | + "++" { src=src+"++ "; } | + "--" { src=src+"-- "; } )* +} + +void PrimaryExpression() : +{ Token t; } +{ + ( t= { src=src+t.image+" "; } | + Constant() | + "(" { src=src+"( "; } Expression() ")" { src=src+") "; } ) +} + +void ArgumentExpressionList() : +{ } +{ + AssignmentExpression() + ( "," { src=src+", "; } AssignmentExpression() )* +} + +void Constant() : +{ Token t; } +{ + t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; } | + t= { src=src+t.image+" "; } +} + diff --git a/C2J/C2J.java b/C2J/C2J.java new file mode 100644 index 0000000..c6105c6 --- /dev/null +++ b/C2J/C2J.java @@ -0,0 +1,5679 @@ +/* Generated By:JavaCC: Do not edit this line. C2J.java */ +import java.util.*; + + public class C2J implements C2JConstants { + + public static final String version = "C2J Parser Version 1.4 Beta" ; + public static final String vendor = "Jausoft - Sven Goethel Software Development"; + + public static final int EXPORT_JNI_JAVA = 1; + public static final int EXPORT_JNI_JAVA_FINAL = 2; + public static final int EXPORT_MSJDIRECT_JAVA = 3; + 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 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 verbose=false ; + public static boolean syntaxVerbose=false ; + public static boolean echoMode=false ; + public static String clazzName; + public static String dllname; + + public static int lastEnumValue=0; + + // + // Holder of the parsed c-code + // + public static String cSrc; + + // Hastable for storing typedef types + private static Hashtable types = new Hashtable(); + + // Stack for determining when the parser + // is parsing a typdef definition. + private static Stack typedefParsingStack = new Stack(); + + // Returns true if the given string is + // a typedef type. + private static boolean isType(String type){ + + if(types.get(type) != null){ + return true; + } + return false; + } + + // Add a typedef type to those already defined + private static void addType(String type){ + types.put(type, Boolean.TRUE); + cSrc += "\n\t/* WARNING TYPE ADDED : "+type+" */\n"; + } + + // Prints out all the types used in parsing the c source + private static void printTypes(){ + + Enumeration enum = types.keys(); + + while(enum.hasMoreElements()){ + System.out.println(enum.nextElement()); + } + } + + public static void printUsage() + { + System.out.println("Usage is one of:"); + System.out.println(" java C2J [-v] [-s] [-echo] [jnic|jnijava|jnijavaf|msjava|echo] < inputfile"); + System.out.println("OR"); + System.out.println(" java C2J [-v] [-s] [-echo] [-jnic-criticalarray] [-jnic-trial] [jnic|jnic-dyn|jnijava|msjava |glfnames] inputfile"); + System.out.println(" , inputfile is a C-HeaderFile (Preprocessed)."); + System.out.println(" , where must be full qualified with an underscore instead of an dot - if not in (any) Java-Mode."); + System.out.println(" , where -v means verbose"); + System.out.println(" , where -s means including the syntax-states in Output commentary"); + System.out.println(" , where -echo means including the parsed C-Code in Output commentary"); + System.out.println(" , where -jnic-criticalarray includes experimental JNI-C Code"); + System.out.println(" , where -jnic-trial includes experimental JNI-C Code"); + System.out.println(" , where jnic produces JNI-C Code (strong binding)"); + System.out.println(" , where jnic-dyn produces JNI-C Code (dynamic binding)"); + System.out.println(" , where jnijava produces JNI-Java Code (non final)"); + System.out.println(" , where jnijavaf produces JNI-Java Code (final)"); + System.out.println(" , where msjava produces MSJVM-Java Code for the DLL "); + System.out.println(" , where glfnames produces all GL function names"); + 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"); + System.out.println(" java C2J jnijava myPackage_myClass a.h > a.java"); + System.out.println(" java C2J jnijavaf myPackage_myClass a.h > aFinalMethods.java"); + System.out.println(" java C2J msjava OPENGL32 myPackage_myClass a.h > aMSVersion.java"); + System.out.println(" java C2J -echo myPackage_myClass a.h > aCopy.h"); + System.out.println(" ( ALL OpenGL GL's are mapped to JNI types )"); + } + + // Run the parser + public static void main ( String args [ ] ) + { + C2J parser ; + + // Hack to include type "special types" + /* + types.put("__signed__", Boolean.TRUE); + types.put("__const", Boolean.TRUE); + types.put("__inline__", Boolean.TRUE); + types.put("__signed", Boolean.TRUE); + */ + + int i; + String inputFile = null; + + exportMode = -1; /* error */ + exportModifier = 0; + verbose=false; + echoMode=false; + + if(args.length==0) + { + printUsage(); + return; + } + + for(i=0; i "); + System.out.print (" "); + System.out.print(cSrc); + System.out.println(" * "); + System.out.println(" */"); + cSrc=new String(); + } + if(verbose) + { + String tmp = new String(); + + tmp += "/*\n"; + + if(cfunc!=null) + tmp += cfunc.toString(); + else + tmp += "NO CFUNC INSTANCE"; + + tmp += "\n*/"; + + System.out.println(tmp); + } + + if(cfunc==null) + { + System.err.println("ERROR(ExternalDeclaration): no CFuncDeclaration instance received !"); + {if (true) return;} + } + if(!cfunc.isValid()) + { + String name = null; + if(cfunc.funcSpec!=null) + { + name=cfunc.funcSpec.identifier; + if(name==null) + name=cfunc.funcSpec.toString(); + } + if(name==null) + name=""; + System.err.println("WARNING(ExternalDeclaration): Function :<"+ + name+"> can not be proceded - invalid !"); + {if (true) return;} + } + + switch(exportMode) + { + case EXPORT_JNI_JAVA : + System.out.println(cfunc.toJniJavaCode(false)); + break; + case EXPORT_JNI_JAVA_FINAL : + System.out.println(cfunc.toJniJavaCode(true)); + break; + case EXPORT_JNI_C : + case EXPORT_JNI_C_DYN : + System.out.println(cfunc.toJniCCode(clazzName, exportMode, + exportModifier)); + break; + case EXPORT_GL_FUNC_NAMES: + System.out.println("\t\t\""+cfunc.funcSpec.identifier+"\", "); + break; + case EXPORT_MSJDIRECT_JAVA : + System.out.println(cfunc.toMsJDirectCode(dllname)); + break; + } + } + + static final public CFuncDeclaration FunctionDefinition() throws ParseException { + CFuncDeclaration cfunc= new CFuncDeclaration(); + if (jj_2_4(2147483647)) { + DeclarationSpecifiers(cfunc); + } else { + ; + } + Declarator(cfunc); + if (jj_2_5(1)) { + DeclarationList(cfunc); + } else { + ; + } + CompoundStatement(); + {if (true) return cfunc;} + throw new Error("Missing return statement in function"); + } + + static final public CFuncDeclaration Declaration(CFuncDeclaration cfunc) throws ParseException { + if(cfunc==null) cfunc = new CFuncDeclaration(); + DeclarationSpecifiers(cfunc); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + case 75: + case 79: + InitDeclaratorList(cfunc); + break; + default: + jj_la1[0] = jj_gen; + ; + } + jj_consume_token(69); + cSrc += ";\n"; + {if (true) return cfunc;} + throw new Error("Missing return statement in function"); + } + + static final public void DeclarationList(CFuncDeclaration cfunc) throws ParseException { + label_2: + while (true) { + Declaration(cfunc); + if (jj_2_6(2147483647)) { + ; + } else { + break label_2; + } + } + } + + static final public void DeclarationSpecifiers(CFuncDeclaration cfunc) throws ParseException { + CFuncVariable cfvar=null; + if(cfunc!=null) cfvar=cfunc.getLastIncompleteVar(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case REGISTER: + case TYPEDEF: + case EXTERN: + case STATIC: + case AUTO: + StorageClassSpecifier(cfunc); + if (jj_2_7(2147483647)) { + DeclarationSpecifiers(cfunc); + } else { + ; + } + break; + default: + jj_la1[1] = jj_gen; + if (jj_2_10(1)) { + cfvar = TypeSpecifier(cfvar); + if(cfunc!=null) + { + cfunc.setWorkingVar(cfvar); + } + if (jj_2_8(2147483647)) { + DeclarationSpecifiers(cfunc); + } else { + ; + } + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case VOLATILE: + case CONST: + cfvar = TypeQualifier(cfvar); + if(cfunc!=null) + { + cfunc.setWorkingVar(cfvar); + } + if (jj_2_9(2147483647)) { + DeclarationSpecifiers(cfunc); + } else { + ; + } + break; + default: + jj_la1[2] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + } + + static final public void StorageClassSpecifier(CFuncDeclaration cfunc) throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case AUTO: + t = jj_consume_token(AUTO); + cSrc += t.image+" "; + break; + case REGISTER: + t = jj_consume_token(REGISTER); + cSrc += t.image+" "; + break; + case STATIC: + t = jj_consume_token(STATIC); + cSrc += t.image+" "; + break; + case EXTERN: + t = jj_consume_token(EXTERN); + cSrc += t.image+" "; + break; + case TYPEDEF: + t = jj_consume_token(TYPEDEF); + cSrc += t.image+" "; + typedefParsingStack.push(Boolean.TRUE); + break; + default: + jj_la1[3] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public CFuncVariable TypeSpecifier(CFuncVariable cfvar) throws ParseException { + String typeJava; Token t=null; boolean isVoid=false; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case UNSIGNED: + case DOUBLE: + case SIGNED: + case FLOAT: + case SHORT: + case LONG: + case VOID: + case CHAR: + case INT: + case GLvoid: + case GLbyte: + case GLshort: + case GLint: + case GLsizei: + case GLfloat: + case GLclampf: + case GLdouble: + case GLclampd: + case GLubyte: + case GLboolean: + case GLushort: + case GLuint: + case GLenum: + case GLbitfield: + case GLUquadricObj: + case GLUnurbsObj: + case GLUtesselator: + case GLUtriangulatorObj: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case UNSIGNED: + case DOUBLE: + case SIGNED: + case FLOAT: + case SHORT: + case LONG: + case VOID: + case CHAR: + case INT: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case VOID: + t = jj_consume_token(VOID); + typeJava=t.image; + isVoid=true; + cSrc += t.image+" "; + break; + case CHAR: + t = jj_consume_token(CHAR); + typeJava="byte"; + cSrc += t.image+" "; + break; + case SHORT: + t = jj_consume_token(SHORT); + typeJava=t.image; + cSrc += t.image+" "; + break; + case INT: + t = jj_consume_token(INT); + typeJava=t.image; + cSrc += t.image+" "; + break; + case FLOAT: + t = jj_consume_token(FLOAT); + typeJava=t.image; + cSrc += t.image+" "; + break; + case DOUBLE: + t = jj_consume_token(DOUBLE); + typeJava=t.image; + cSrc += t.image+" "; + break; + case UNSIGNED: + t = jj_consume_token(UNSIGNED); + typeJava="int"; + cSrc += t.image+" "; + break; + case SIGNED: + t = jj_consume_token(SIGNED); + typeJava="int"; + cSrc += t.image+" "; + break; + case LONG: + t = jj_consume_token(LONG); + typeJava=t.image; + cSrc += t.image+" "; + break; + default: + jj_la1[4] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + if(cfvar==null) + cfvar = new CFuncVariable(); + + cfvar.typeC = t.image; + cfvar.typeJava = typeJava; + cfvar.isVoid = isVoid; + + {if (true) return cfvar;} + break; + case GLvoid: + case GLbyte: + case GLshort: + case GLint: + case GLsizei: + case GLfloat: + case GLclampf: + case GLdouble: + case GLclampd: + case GLubyte: + case GLboolean: + case GLushort: + case GLuint: + case GLenum: + case GLbitfield: + case GLUquadricObj: + case GLUnurbsObj: + case GLUtesselator: + case GLUtriangulatorObj: + cfvar = TypeSpecifierGL(cfvar); + {if (true) return cfvar;} + break; + default: + jj_la1[5] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + break; + case STRUCT: + case UNION: + StructOrUnionSpecifier(); + break; + case ENUM: + EnumSpecifier(); + break; + default: + jj_la1[6] = jj_gen; + if (isType(getToken(1).image)) { + TypedefName(); + } else { + jj_consume_token(-1); + throw new ParseException(); + } + } + {if (true) return null;} + throw new Error("Missing return statement in function"); + } + + static final public CFuncVariable TypeSpecifierGL(CFuncVariable cfvar) throws ParseException { + String typeJava; Token t=null; boolean isVoid=false; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case GLvoid: + t = jj_consume_token(GLvoid); + typeJava="void"; + cSrc += t.image+" "; + isVoid=true; + break; + case GLbyte: + t = jj_consume_token(GLbyte); + typeJava="byte"; + cSrc += t.image+" "; + break; + case GLshort: + t = jj_consume_token(GLshort); + typeJava="short"; + cSrc += t.image+" "; + break; + case GLint: + t = jj_consume_token(GLint); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLsizei: + t = jj_consume_token(GLsizei); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLfloat: + t = jj_consume_token(GLfloat); + typeJava="float"; + cSrc += t.image+" "; + break; + case GLclampf: + t = jj_consume_token(GLclampf); + typeJava="float"; + cSrc += t.image+" "; + break; + case GLdouble: + t = jj_consume_token(GLdouble); + typeJava="double"; + cSrc += t.image+" "; + break; + case GLclampd: + t = jj_consume_token(GLclampd); + typeJava="double"; + cSrc += t.image+" "; + break; + case GLubyte: + t = jj_consume_token(GLubyte); + typeJava="byte"; + cSrc += t.image+" "; + break; + case GLboolean: + t = jj_consume_token(GLboolean); + typeJava="boolean"; + cSrc += t.image+" "; + break; + case GLushort: + t = jj_consume_token(GLushort); + typeJava="short"; + cSrc += t.image+" "; + break; + case GLuint: + t = jj_consume_token(GLuint); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLenum: + t = jj_consume_token(GLenum); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLbitfield: + t = jj_consume_token(GLbitfield); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLUquadricObj: + t = jj_consume_token(GLUquadricObj); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLUnurbsObj: + t = jj_consume_token(GLUnurbsObj); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLUtesselator: + t = jj_consume_token(GLUtesselator); + typeJava="int"; + cSrc += t.image+" "; + break; + case GLUtriangulatorObj: + t = jj_consume_token(GLUtriangulatorObj); + typeJava="int"; + cSrc += t.image+" "; + break; + default: + jj_la1[7] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + if(cfvar==null) + cfvar = new CFuncVariable(); + cfvar.typeC = t.image; + cfvar.typeJava = typeJava; + cfvar.isVoid = isVoid; + + {if (true) return cfvar;} + throw new Error("Missing return statement in function"); + } + + static final public CFuncVariable TypeQualifier(CFuncVariable cfvar) throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case CONST: + t = jj_consume_token(CONST); + cSrc += t.image+" "; + if(cfvar==null) + cfvar = new CFuncVariable(); + cfvar.isConst=true; + {if (true) return cfvar;} + break; + case VOLATILE: + t = jj_consume_token(VOLATILE); + cSrc += t.image+" "; {if (true) return cfvar;} + break; + default: + jj_la1[8] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + throw new Error("Missing return statement in function"); + } + + static final public void StructOrUnionSpecifier() throws ParseException { + Token t; + typedefParsingStack.push(Boolean.FALSE); + StructOrUnion(); + if (jj_2_11(3)) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*StrucOrUnionSpec*/"; + break; + default: + jj_la1[9] = jj_gen; + ; + } + jj_consume_token(70); + cSrc += "{\n"; + StructDeclarationList(); + jj_consume_token(71); + cSrc += "}\n"; + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*StrucOrUnionSpec2*/"; + break; + default: + jj_la1[10] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + typedefParsingStack.pop(); + } + + static final public void StructOrUnion() throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case STRUCT: + t = jj_consume_token(STRUCT); + cSrc += t.image+" "; + break; + case UNION: + t = jj_consume_token(UNION); + cSrc += t.image+" "; + break; + default: + jj_la1[11] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void StructDeclarationList() throws ParseException { + label_3: + while (true) { + StructDeclaration(); + if (jj_2_12(1)) { + ; + } else { + break label_3; + } + } + } + + static final public void InitDeclaratorList(CFuncDeclaration cfunc) throws ParseException { + InitDeclarator(cfunc); + label_4: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + ; + break; + default: + jj_la1[12] = jj_gen; + break label_4; + } + jj_consume_token(72); + cSrc += ", "; + InitDeclarator(cfunc); + } + // Finished with a typedefDeclaration?? + if(!(typedefParsingStack.empty()) && ((Boolean)typedefParsingStack.peek()).booleanValue()){ + typedefParsingStack.pop(); + } + } + + static final public void InitDeclarator(CFuncDeclaration cfunc) throws ParseException { + Declarator(cfunc); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 73: + jj_consume_token(73); + cSrc += "= "; + Initializer(); + break; + default: + jj_la1[13] = jj_gen; + ; + } + } + + static final public void StructDeclaration() throws ParseException { + SpecifierQualifierList(null); + StructDeclaratorList(); + jj_consume_token(69); + cSrc += ";\n"; + } + + static final public CFuncVariable SpecifierQualifierList(CFuncVariable cfvar) throws ParseException { + if (jj_2_15(1)) { + cfvar = TypeSpecifier(cfvar); + if (jj_2_13(2147483647)) { + SpecifierQualifierList(cfvar); + } else { + ; + } + {if (true) return cfvar;} + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case VOLATILE: + case CONST: + cfvar = TypeQualifier(cfvar); + if (jj_2_14(2147483647)) { + SpecifierQualifierList(cfvar); + } else { + ; + } + {if (true) return cfvar;} + break; + default: + jj_la1[14] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + throw new Error("Missing return statement in function"); + } + + static final public void StructDeclaratorList() throws ParseException { + StructDeclarator(); + label_5: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + ; + break; + default: + jj_la1[15] = jj_gen; + break label_5; + } + jj_consume_token(72); + cSrc += ", "; + StructDeclarator(); + } + } + + static final public void StructDeclarator() throws ParseException { + if (jj_2_16(3)) { + Declarator(null); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + case 74: + case 75: + case 79: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + case 75: + case 79: + Declarator(null); + break; + default: + jj_la1[16] = jj_gen; + ; + } + jj_consume_token(74); + cSrc += ": "; + ConstantExpression(); + break; + default: + jj_la1[17] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void EnumSpecifier() throws ParseException { + Token t; + t = jj_consume_token(ENUM); + cSrc += t.image+" "; + if (jj_2_17(3)) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + break; + default: + jj_la1[18] = jj_gen; + ; + } + jj_consume_token(70); + cSrc += "{\n"; + EnumeratorList(); + jj_consume_token(71); + cSrc += "}\n"; + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + break; + default: + jj_la1[19] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void EnumeratorList() throws ParseException { + lastEnumValue=0; + Enumerator(); + label_6: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + ; + break; + default: + jj_la1[20] = jj_gen; + break label_6; + } + jj_consume_token(72); + cSrc += ",\n"; + Enumerator(); + } + cSrc += "\n\t;\n"; + } + + static final public void Enumerator() throws ParseException { + Token t; int startIdx; + t = jj_consume_token(IDENTIFIER); + cSrc += "\t"+t.image+" "; startIdx=-1; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 73: + jj_consume_token(73); + cSrc += "= "; startIdx=cSrc.length(); + ConstantExpression(); + break; + default: + jj_la1[21] = jj_gen; + ; + } + System.out.print("\tpublic static final int "+t.image+"\t= "); + if(startIdx>=0) + { + String valStr = cSrc.substring(startIdx, cSrc.length()).trim(); + System.out.print(valStr); + int val = 0; + try { + val=Integer.decode(valStr).intValue(); + lastEnumValue=val; + } catch (Exception ex) { + System.err.println("Error while decoding for <"+ + t.image+">: <"+valStr+">"); + lastEnumValue++; + } + } else { + lastEnumValue++; + System.out.print(lastEnumValue); + } + System.out.println(";"); + } + + static final public void Declarator(CFuncDeclaration cfunc) throws ParseException { + CFuncVariable cfvar=null; + if(cfunc!=null) + cfvar = cfunc.getWorkingVar(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 79: + Pointer(cfvar); + break; + default: + jj_la1[22] = jj_gen; + ; + } + DirectDeclarator(cfunc); + } + + static final public void DirectDeclarator(CFuncDeclaration cfunc) throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + t = jj_consume_token(IDENTIFIER); + cSrc+=t.image+" "; + + if(syntaxVerbose) + cSrc += "/*DirectDecl1*/ "; + + if(!(typedefParsingStack.empty()) && + ((Boolean)typedefParsingStack.peek()).booleanValue()) + { + addType(t.image); + } + + if(cfunc==null) + {if (true) return;} + + // + // Complete the variable declarations in the holder ! + // + CFuncVariable cfvar = cfunc.getWorkingVar(); + + cfvar.identifier=t.image; + cfvar.complete=true; + break; + case 75: + jj_consume_token(75); + cSrc += "( "; + if(syntaxVerbose) + cSrc += "/*DirectDecl2*/ "; + Declarator(cfunc); + jj_consume_token(76); + cSrc += ") "; + break; + default: + jj_la1[23] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + label_7: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + case 77: + ; + break; + default: + jj_la1[24] = jj_gen; + break label_7; + } + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 77: + jj_consume_token(77); + cSrc += "[ "; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + ConstantExpression(); + break; + default: + jj_la1[25] = jj_gen; + ; + } + jj_consume_token(78); + cSrc += "] "; + if(cfunc!=null) + { + CFuncVariable cfvar = (CFuncVariable) + cfunc.argList.elementAt(cfunc.argList.size()-1); + cfvar.arrayNumber++; + } + break; + default: + jj_la1[26] = jj_gen; + if (jj_2_19(3)) { + jj_consume_token(75); + cSrc += "( "; + if(syntaxVerbose) + cSrc += "/*DirectDecl3*/ "; + if (jj_2_18(1)) { + ParameterTypeList(cfunc); + } else { + ; + } + jj_consume_token(76); + cSrc += ") "; + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + jj_consume_token(75); + cSrc += "( "; + if(syntaxVerbose) + cSrc += "/*DirectDecl4*/ "; + IdentifierList(); + jj_consume_token(76); + cSrc += ") "; + break; + default: + jj_la1[27] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + } + } + + static final public void Pointer(CFuncVariable cfvar) throws ParseException { + jj_consume_token(79); + cSrc += "* "; + if(cfvar!=null) + { + if(cfvar.typeC!=null) + { + /** + * No Pointer - These GLU Types are allready + * "long" values for java -> pointer + */ + if(cfvar.typeC.equals("GLUquadricObj") || + cfvar.typeC.equals("GLUnurbsObj") || + cfvar.typeC.equals("GLUtesselator") || + cfvar.typeC.equals("GLUtriangulatorObj") + ) + { + cfvar.isGLUPtrObject=true; + {if (true) return;} + } + } + cfvar.arrayNumber++; + } + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case VOLATILE: + case CONST: + TypeQualifierList(null); + break; + default: + jj_la1[28] = jj_gen; + ; + } + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 79: + Pointer(cfvar); + break; + default: + jj_la1[29] = jj_gen; + ; + } + } + + static final public void TypeQualifierList(CFuncVariable cfvar) throws ParseException { + label_8: + while (true) { + TypeQualifier(cfvar); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case VOLATILE: + case CONST: + ; + break; + default: + jj_la1[30] = jj_gen; + break label_8; + } + } + } + + static final public void ParameterTypeList(CFuncDeclaration cfunc) throws ParseException { + ParameterList(cfunc); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + jj_consume_token(72); + cSrc += ", "; + jj_consume_token(80); + cSrc += "..."; + break; + default: + jj_la1[31] = jj_gen; + ; + } + } + + static final public void ParameterList(CFuncDeclaration cfunc) throws ParseException { + ParameterDeclaration(cfunc); + label_9: + while (true) { + if (jj_2_20(2)) { + ; + } else { + break label_9; + } + jj_consume_token(72); + cSrc += ", "; + ParameterDeclaration(cfunc); + } + } + + static final public void ParameterDeclaration(CFuncDeclaration cfunc) throws ParseException { + DeclarationSpecifiers(cfunc); + if (jj_2_21(2147483647)) { + Declarator(cfunc); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + case 77: + case 79: + AbstractDeclarator(); + break; + default: + jj_la1[32] = jj_gen; + ; + } + } + if(cfunc!=null) + { + CFuncVariable cfvar = cfunc.getLastIncompleteVar(); + if(cfvar!=null) + { + /** + * We may must squash the "void" Argument + * E.g. void function(void) ! + */ + if(cfvar.isVoid) + { + cfunc.argList.removeElementAt( + cfunc.argList.size()-1); + {if (true) return;} + } + /** + * We have a regular argument, + * so we must add an instance name here ... + */ + cfvar.identifier="arg"+(cfunc.argList.size()-1); + cfvar.complete=true; + } + } + } + +/** + * + * J2C Declaration Changes END (JAU) + * + */ + static final public void IdentifierList() throws ParseException { + Token t; + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*IdentifierList*/ "; + label_10: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + ; + break; + default: + jj_la1[33] = jj_gen; + break label_10; + } + jj_consume_token(72); + cSrc += ", "; + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*IdentifierList2*/ "; + } + } + + static final public void Initializer() throws ParseException { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + AssignmentExpression(); + break; + case 70: + jj_consume_token(70); + cSrc += "{\n"; + InitializerList(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + jj_consume_token(72); + cSrc += ", "; + break; + default: + jj_la1[34] = jj_gen; + ; + } + jj_consume_token(71); + cSrc += "}\n"; + break; + default: + jj_la1[35] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void InitializerList() throws ParseException { + Initializer(); + label_11: + while (true) { + if (jj_2_22(2)) { + ; + } else { + break label_11; + } + jj_consume_token(72); + cSrc += ", "; + Initializer(); + } + } + + static final public void TypeName() throws ParseException { + SpecifierQualifierList(null); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + case 77: + case 79: + AbstractDeclarator(); + break; + default: + jj_la1[36] = jj_gen; + ; + } + } + + static final public void AbstractDeclarator() throws ParseException { + if (jj_2_23(3)) { + Pointer(null); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + case 77: + case 79: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 79: + Pointer(null); + break; + default: + jj_la1[37] = jj_gen; + ; + } + DirectAbstractDeclarator(); + break; + default: + jj_la1[38] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void DirectAbstractDeclarator() throws ParseException { + if (jj_2_25(2)) { + jj_consume_token(75); + cSrc += "( "; + AbstractDeclarator(); + jj_consume_token(76); + cSrc += ") "; + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 77: + jj_consume_token(77); + cSrc += "[ "; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + ConstantExpression(); + break; + default: + jj_la1[39] = jj_gen; + ; + } + jj_consume_token(78); + cSrc += "] "; + break; + case 75: + jj_consume_token(75); + cSrc += "( "; + if (jj_2_24(1)) { + ParameterTypeList(null); + } else { + ; + } + jj_consume_token(76); + cSrc += ") "; + break; + default: + jj_la1[40] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + label_12: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + case 77: + ; + break; + default: + jj_la1[41] = jj_gen; + break label_12; + } + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 77: + jj_consume_token(77); + cSrc += "[ "; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + ConstantExpression(); + break; + default: + jj_la1[42] = jj_gen; + ; + } + jj_consume_token(78); + cSrc += "] "; + break; + case 75: + jj_consume_token(75); + cSrc += "( "; + if (jj_2_26(1)) { + ParameterTypeList(null); + } else { + ; + } + jj_consume_token(76); + cSrc += ") "; + break; + default: + jj_la1[43] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void TypedefName() throws ParseException { + Token t; + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" /*TypedefName*/"; + } + + static final public void Statement() throws ParseException { + if (jj_2_27(2)) { + LabeledStatement(); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 69: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + ExpressionStatement(); + break; + case 70: + CompoundStatement(); + break; + case SWITCH: + case IF: + SelectionStatement(); + break; + case WHILE: + case FOR: + case DO: + IterationStatement(); + break; + case CONTINUE: + case RETURN: + case BREAK: + case GOTO: + JumpStatement(); + break; + default: + jj_la1[44] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void LabeledStatement() throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*LabeledStatement*/ "; + jj_consume_token(74); + cSrc += ": "; + Statement(); + break; + case CASE: + t = jj_consume_token(CASE); + cSrc += t.image+" "; + ConstantExpression(); + jj_consume_token(74); + cSrc += ": "; + Statement(); + break; + case DFLT: + t = jj_consume_token(DFLT); + cSrc += t.image+" "; + jj_consume_token(74); + cSrc += ": "; + Statement(); + break; + default: + jj_la1[45] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void ExpressionStatement() throws ParseException { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + Expression(); + break; + default: + jj_la1[46] = jj_gen; + ; + } + jj_consume_token(69); + cSrc += ";\n"; + } + + static final public void CompoundStatement() throws ParseException { + jj_consume_token(70); + cSrc += "{\n"; + if (jj_2_28(2147483647)) { + DeclarationList(null); + } else { + ; + } + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case CONTINUE: + case DFLT: + case SIZEOF: + case SWITCH: + case RETURN: + case WHILE: + case BREAK: + case CASE: + case GOTO: + case FOR: + case IF: + case DO: + case IDENTIFIER: + case 69: + case 70: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + StatementList(); + break; + default: + jj_la1[47] = jj_gen; + ; + } + jj_consume_token(71); + cSrc += "}\n"; + } + + static final public void StatementList() throws ParseException { + label_13: + while (true) { + Statement(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case CONTINUE: + case DFLT: + case SIZEOF: + case SWITCH: + case RETURN: + case WHILE: + case BREAK: + case CASE: + case GOTO: + case FOR: + case IF: + case DO: + case IDENTIFIER: + case 69: + case 70: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + ; + break; + default: + jj_la1[48] = jj_gen; + break label_13; + } + } + } + + static final public void SelectionStatement() throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IF: + t = jj_consume_token(IF); + cSrc += t.image+" "; + jj_consume_token(75); + cSrc += "( "; + Expression(); + jj_consume_token(76); + cSrc += ")\n"; + Statement(); + if (jj_2_29(2)) { + t = jj_consume_token(ELSE); + cSrc += t.image+" "; + Statement(); + } else { + ; + } + break; + case SWITCH: + t = jj_consume_token(SWITCH); + cSrc += t.image+" "; + jj_consume_token(75); + cSrc += "( "; + Expression(); + jj_consume_token(76); + cSrc += ")\n"; + Statement(); + break; + default: + jj_la1[49] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void IterationStatement() throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case WHILE: + t = jj_consume_token(WHILE); + cSrc += t.image+" "; + jj_consume_token(75); + cSrc += "( "; + Expression(); + jj_consume_token(76); + cSrc += ")\n"; + Statement(); + break; + case DO: + t = jj_consume_token(DO); + cSrc += t.image+"\n"; + Statement(); + t = jj_consume_token(WHILE); + cSrc += t.image+" "; + jj_consume_token(75); + cSrc += "( "; + Expression(); + jj_consume_token(76); + jj_consume_token(69); + cSrc += ");\n"; + break; + case FOR: + t = jj_consume_token(FOR); + cSrc += t.image+" "; + jj_consume_token(75); + cSrc += "( "; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + Expression(); + break; + default: + jj_la1[50] = jj_gen; + ; + } + jj_consume_token(69); + cSrc += "; "; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + Expression(); + break; + default: + jj_la1[51] = jj_gen; + ; + } + jj_consume_token(69); + cSrc += "; "; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + Expression(); + break; + default: + jj_la1[52] = jj_gen; + ; + } + jj_consume_token(76); + cSrc += ")\n"; + Statement(); + break; + default: + jj_la1[53] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void JumpStatement() throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case GOTO: + t = jj_consume_token(GOTO); + cSrc += t.image+" "; + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*JumpStat*/ "; + jj_consume_token(69); + cSrc += ";\n"; + break; + case CONTINUE: + t = jj_consume_token(CONTINUE); + cSrc += t.image+" "; + jj_consume_token(69); + cSrc += ";\n"; + break; + case BREAK: + t = jj_consume_token(BREAK); + cSrc += t.image+" "; + jj_consume_token(69); + cSrc += ";\n"; + break; + case RETURN: + t = jj_consume_token(RETURN); + cSrc += t.image+" "; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + Expression(); + break; + default: + jj_la1[54] = jj_gen; + ; + } + jj_consume_token(69); + cSrc += ";\n"; + break; + default: + jj_la1[55] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void Expression() throws ParseException { + AssignmentExpression(); + label_14: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + ; + break; + default: + jj_la1[56] = jj_gen; + break label_14; + } + jj_consume_token(72); + cSrc += ", "; + AssignmentExpression(); + } + } + + static final public void AssignmentExpression() throws ParseException { + if (jj_2_30(2147483647)) { + UnaryExpression(); + AssignmentOperator(); + AssignmentExpression(); + } else if (jj_2_31(3)) { + ConditionalExpression(); + } else { + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void AssignmentOperator() throws ParseException { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 73: + jj_consume_token(73); + cSrc += "= "; + break; + case 81: + jj_consume_token(81); + cSrc += "*= "; + break; + case 82: + jj_consume_token(82); + cSrc += "/= "; + break; + case 83: + jj_consume_token(83); + cSrc += "%= "; + break; + case 84: + jj_consume_token(84); + cSrc += "+= "; + break; + case 85: + jj_consume_token(85); + cSrc += "-= "; + break; + case 86: + jj_consume_token(86); + cSrc += "<<= "; + break; + case 87: + jj_consume_token(87); + cSrc += ">>= "; + break; + case 88: + jj_consume_token(88); + cSrc += "&= "; + break; + case 89: + jj_consume_token(89); + cSrc += "^= "; + break; + case 90: + jj_consume_token(90); + cSrc += "|= "; + break; + default: + jj_la1[57] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void ConditionalExpression() throws ParseException { + LogicalORExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 91: + jj_consume_token(91); + cSrc += "? "; + Expression(); + jj_consume_token(74); + cSrc += ": "; + ConditionalExpression(); + break; + default: + jj_la1[58] = jj_gen; + ; + } + } + + static final public void ConstantExpression() throws ParseException { + ConditionalExpression(); + } + + static final public void LogicalORExpression() throws ParseException { + LogicalANDExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 92: + jj_consume_token(92); + cSrc += "|| "; + LogicalORExpression(); + break; + default: + jj_la1[59] = jj_gen; + ; + } + } + + static final public void LogicalANDExpression() throws ParseException { + InclusiveORExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 93: + jj_consume_token(93); + cSrc += "&& "; + LogicalANDExpression(); + break; + default: + jj_la1[60] = jj_gen; + ; + } + } + + static final public void InclusiveORExpression() throws ParseException { + ExclusiveORExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 94: + jj_consume_token(94); + cSrc += "| "; + InclusiveORExpression(); + break; + default: + jj_la1[61] = jj_gen; + ; + } + } + + static final public void ExclusiveORExpression() throws ParseException { + ANDExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 95: + jj_consume_token(95); + cSrc += "^ "; + ExclusiveORExpression(); + break; + default: + jj_la1[62] = jj_gen; + ; + } + } + + static final public void ANDExpression() throws ParseException { + EqualityExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 96: + jj_consume_token(96); + cSrc += "& "; + ANDExpression(); + break; + default: + jj_la1[63] = jj_gen; + ; + } + } + + static final public void EqualityExpression() throws ParseException { + RelationalExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 97: + case 98: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 97: + jj_consume_token(97); + cSrc += "== "; + break; + case 98: + jj_consume_token(98); + cSrc += "!= "; + break; + default: + jj_la1[64] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + EqualityExpression(); + break; + default: + jj_la1[65] = jj_gen; + ; + } + } + + static final public void RelationalExpression() throws ParseException { + ShiftExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 99: + case 100: + case 101: + case 102: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 99: + jj_consume_token(99); + cSrc += "< "; + break; + case 100: + jj_consume_token(100); + cSrc += "> "; + break; + case 101: + jj_consume_token(101); + cSrc += "<= "; + break; + case 102: + jj_consume_token(102); + cSrc += ">= "; + break; + default: + jj_la1[66] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + RelationalExpression(); + break; + default: + jj_la1[67] = jj_gen; + ; + } + } + + static final public void ShiftExpression() throws ParseException { + AdditiveExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 103: + case 104: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 103: + jj_consume_token(103); + cSrc += "<< "; + break; + case 104: + jj_consume_token(104); + cSrc += ">> "; + break; + default: + jj_la1[68] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + ShiftExpression(); + break; + default: + jj_la1[69] = jj_gen; + ; + } + } + + static final public void AdditiveExpression() throws ParseException { + MultiplicativeExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 105: + case 106: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 105: + jj_consume_token(105); + cSrc += "+ "; + break; + case 106: + jj_consume_token(106); + cSrc += "- "; + break; + default: + jj_la1[70] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + AdditiveExpression(); + break; + default: + jj_la1[71] = jj_gen; + ; + } + } + + static final public void MultiplicativeExpression() throws ParseException { + CastExpression(); + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 79: + case 107: + case 108: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 79: + jj_consume_token(79); + cSrc += "* "; + break; + case 107: + jj_consume_token(107); + cSrc += "/ "; + break; + case 108: + jj_consume_token(108); + cSrc += "% "; + break; + default: + jj_la1[72] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + MultiplicativeExpression(); + break; + default: + jj_la1[73] = jj_gen; + ; + } + } + + static final public void CastExpression() throws ParseException { + String help1= new String(); + String help2= new String(); + if (jj_2_32(2147483647)) { + cSrc += "( "+help1+") "+help2; + jj_consume_token(75); + cSrc += "( "; + TypeName(); + jj_consume_token(76); + cSrc += ") "; + CastExpression(); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + case SIZEOF: + case IDENTIFIER: + case 75: + case 79: + case 96: + case 105: + case 106: + case 109: + case 110: + case 111: + case 112: + UnaryExpression(); + break; + default: + jj_la1[74] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void UnaryExpression() throws ParseException { + Token t; + if (jj_2_34(3)) { + PostfixExpression(); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 109: + jj_consume_token(109); + cSrc += "++ "; + UnaryExpression(); + break; + case 110: + jj_consume_token(110); + cSrc += "-- "; + UnaryExpression(); + break; + case 79: + case 96: + case 105: + case 106: + case 111: + case 112: + UnaryOperator(); + CastExpression(); + break; + case SIZEOF: + t = jj_consume_token(SIZEOF); + cSrc += t.image+" "; + if (jj_2_33(2147483647)) { + UnaryExpression(); + } else { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + jj_consume_token(75); + cSrc += "( "; + TypeName(); + jj_consume_token(76); + cSrc += ") "; + break; + default: + jj_la1[75] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + break; + default: + jj_la1[76] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void UnaryOperator() throws ParseException { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 96: + jj_consume_token(96); + cSrc += "& "; + break; + case 79: + jj_consume_token(79); + cSrc += "* "; + break; + case 105: + jj_consume_token(105); + cSrc += "+ "; + break; + case 106: + jj_consume_token(106); + cSrc += "- "; + break; + case 111: + jj_consume_token(111); + cSrc += "~ "; + break; + case 112: + jj_consume_token(112); + cSrc += "! "; + break; + default: + jj_la1[77] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void PostfixExpression() throws ParseException { + Token t; + PrimaryExpression(); + label_15: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 75: + case 77: + case 109: + case 110: + case 113: + case 114: + ; + break; + default: + jj_la1[78] = jj_gen; + break label_15; + } + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 77: + jj_consume_token(77); + cSrc += "[ "; + Expression(); + jj_consume_token(78); + cSrc += "] "; + break; + case 75: + jj_consume_token(75); + cSrc += "( "; + if (jj_2_35(2147483647)) { + ArgumentExpressionList(); + } else { + ; + } + jj_consume_token(76); + cSrc += ") "; + break; + case 113: + jj_consume_token(113); + cSrc += ". "; + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + break; + case 114: + jj_consume_token(114); + cSrc += "-> "; + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + break; + case 109: + jj_consume_token(109); + cSrc += "++ "; + break; + case 110: + jj_consume_token(110); + cSrc += "-- "; + break; + default: + jj_la1[79] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + } + + static final public void PrimaryExpression() throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case IDENTIFIER: + t = jj_consume_token(IDENTIFIER); + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*PrimaryExpr*/ "; + break; + case INTEGER_LITERAL: + case FLOATING_POINT_LITERAL: + case CHARACTER_LITERAL: + case STRING_LITERAL: + Constant(); + break; + case 75: + jj_consume_token(75); + cSrc += "( "; + Expression(); + jj_consume_token(76); + cSrc += ") "; + break; + default: + jj_la1[80] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final public void ArgumentExpressionList() throws ParseException { + AssignmentExpression(); + label_16: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case 72: + ; + break; + default: + jj_la1[81] = jj_gen; + break label_16; + } + jj_consume_token(72); + cSrc += ", "; + AssignmentExpression(); + } + } + + static final public void Constant() throws ParseException { + Token t; + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case INTEGER_LITERAL: + t = jj_consume_token(INTEGER_LITERAL); + cSrc += t.image+" "; + break; + case FLOATING_POINT_LITERAL: + t = jj_consume_token(FLOATING_POINT_LITERAL); + cSrc += t.image+" "; + break; + case CHARACTER_LITERAL: + t = jj_consume_token(CHARACTER_LITERAL); + cSrc += t.image+" "; + break; + case STRING_LITERAL: + t = jj_consume_token(STRING_LITERAL); + cSrc += t.image+" "; + break; + default: + jj_la1[82] = jj_gen; + jj_consume_token(-1); + throw new ParseException(); + } + } + + static final private boolean jj_2_1(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_1(); + jj_save(0, xla); + return retval; + } + + static final private boolean jj_2_2(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_2(); + jj_save(1, xla); + return retval; + } + + static final private boolean jj_2_3(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_3(); + jj_save(2, xla); + return retval; + } + + static final private boolean jj_2_4(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_4(); + jj_save(3, xla); + return retval; + } + + static final private boolean jj_2_5(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_5(); + jj_save(4, xla); + return retval; + } + + static final private boolean jj_2_6(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_6(); + jj_save(5, xla); + return retval; + } + + static final private boolean jj_2_7(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_7(); + jj_save(6, xla); + return retval; + } + + static final private boolean jj_2_8(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_8(); + jj_save(7, xla); + return retval; + } + + static final private boolean jj_2_9(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_9(); + jj_save(8, xla); + return retval; + } + + static final private boolean jj_2_10(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_10(); + jj_save(9, xla); + return retval; + } + + static final private boolean jj_2_11(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_11(); + jj_save(10, xla); + return retval; + } + + static final private boolean jj_2_12(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_12(); + jj_save(11, xla); + return retval; + } + + static final private boolean jj_2_13(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_13(); + jj_save(12, xla); + return retval; + } + + static final private boolean jj_2_14(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_14(); + jj_save(13, xla); + return retval; + } + + static final private boolean jj_2_15(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_15(); + jj_save(14, xla); + return retval; + } + + static final private boolean jj_2_16(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_16(); + jj_save(15, xla); + return retval; + } + + static final private boolean jj_2_17(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_17(); + jj_save(16, xla); + return retval; + } + + static final private boolean jj_2_18(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_18(); + jj_save(17, xla); + return retval; + } + + static final private boolean jj_2_19(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_19(); + jj_save(18, xla); + return retval; + } + + static final private boolean jj_2_20(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_20(); + jj_save(19, xla); + return retval; + } + + static final private boolean jj_2_21(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_21(); + jj_save(20, xla); + return retval; + } + + static final private boolean jj_2_22(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_22(); + jj_save(21, xla); + return retval; + } + + static final private boolean jj_2_23(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_23(); + jj_save(22, xla); + return retval; + } + + static final private boolean jj_2_24(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_24(); + jj_save(23, xla); + return retval; + } + + static final private boolean jj_2_25(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_25(); + jj_save(24, xla); + return retval; + } + + static final private boolean jj_2_26(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_26(); + jj_save(25, xla); + return retval; + } + + static final private boolean jj_2_27(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_27(); + jj_save(26, xla); + return retval; + } + + static final private boolean jj_2_28(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_28(); + jj_save(27, xla); + return retval; + } + + static final private boolean jj_2_29(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_29(); + jj_save(28, xla); + return retval; + } + + static final private boolean jj_2_30(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_30(); + jj_save(29, xla); + return retval; + } + + static final private boolean jj_2_31(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_31(); + jj_save(30, xla); + return retval; + } + + static final private boolean jj_2_32(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_32(); + jj_save(31, xla); + return retval; + } + + static final private boolean jj_2_33(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_33(); + jj_save(32, xla); + return retval; + } + + static final private boolean jj_2_34(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_34(); + jj_save(33, xla); + return retval; + } + + static final private boolean jj_2_35(int xla) { + jj_la = xla; jj_lastpos = jj_scanpos = token; + boolean retval = !jj_3_35(); + jj_save(34, xla); + 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; + 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_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_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_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; + 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() { + 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_3R_162() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_210()) { + jj_scanpos = xsp; + 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; + 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 final private boolean jj_3_11() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_23()) 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_24()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(71)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + while (true) { + xsp = jj_scanpos; + if (jj_3R_189()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_99() { + if (jj_3R_142()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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_46() { + if (jj_scan_token(70)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_98()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + xsp = jj_scanpos; + if (jj_3R_99()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(71)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_169() { + if (jj_3R_131()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + 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; + 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_68() { + if (jj_scan_token(DFLT)) return true; + 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_36()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + if (jj_3R_121()) return true; + 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_36()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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_242() { + if (jj_3R_121()) 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; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_66() { + if (jj_scan_token(IDENTIFIER)) return true; + 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_36()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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_35() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_66()) { + jj_scanpos = xsp; + if (jj_3R_67()) { + jj_scanpos = xsp; + if (jj_3R_68()) 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_24() { + if (jj_3R_30()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_73() { + if (jj_3R_125()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_235() { + if (jj_3R_121()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_72() { + if (jj_3R_124()) 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; + return false; + } + + static final private boolean jj_3R_70() { + if (jj_3R_46()) return true; + 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; + return false; + } + + static final private boolean jj_3_27() { + if (jj_3R_35()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_36() { + Token xsp; + xsp = jj_scanpos; + if (jj_3_27()) { + jj_scanpos = xsp; + if (jj_3R_69()) { + jj_scanpos = xsp; + if (jj_3R_70()) { + jj_scanpos = xsp; + if (jj_3R_71()) { + jj_scanpos = xsp; + if (jj_3R_72()) { + jj_scanpos = xsp; + if (jj_3R_73()) 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; + return false; + } + + static final private boolean jj_3R_91() { + if (jj_3R_34()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_110() { + 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_237() { + 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_26()) 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_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; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_242()) 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_231() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_236()) { + jj_scanpos = xsp; + if (jj_3R_237()) 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_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; + Token xsp; + xsp = jj_scanpos; + if (jj_3_24()) 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_207() { + if (jj_scan_token(GLUnurbsObj)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_167() { + 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_235()) 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_206() { + if (jj_scan_token(GLUquadricObj)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3_25() { + if (jj_scan_token(75)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_34()) 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_120() { + Token xsp; + xsp = jj_scanpos; + if (jj_3_25()) { + jj_scanpos = xsp; + if (jj_3R_167()) { + jj_scanpos = xsp; + if (jj_3R_168()) 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; + while (true) { + xsp = jj_scanpos; + if (jj_3R_231()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3_22() { + if (jj_scan_token(72)) 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_205() { + if (jj_scan_token(GLbitfield)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_119() { + if (jj_3R_33()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_65() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_119()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_120()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3_23() { + if (jj_3R_33()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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; + } + + static final private boolean jj_3R_34() { + Token xsp; + xsp = jj_scanpos; + if (jj_3_23()) { + jj_scanpos = xsp; + if (jj_3R_65()) 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_203() { + if (jj_scan_token(GLuint)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_40() { + if (jj_3R_26()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_91()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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; + } + + static final private boolean jj_3R_238() { + if (jj_3R_32()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_22()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_239() { + if (jj_scan_token(72)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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_62() { + if (jj_scan_token(70)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_238()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_239()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(71)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_61() { + if (jj_3R_96()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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; + } + + static final private boolean jj_3R_32() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_61()) { + jj_scanpos = xsp; + if (jj_3R_62()) 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_199() { + if (jj_scan_token(GLclampd)) 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; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_228() { + if (jj_scan_token(72)) 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; + 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_214() { + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_228()) { jj_scanpos = xsp; break; } + 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; + return false; + } + + static final private boolean jj_3R_195() { + if (jj_scan_token(GLsizei)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_194() { + if (jj_scan_token(GLint)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_193() { + if (jj_scan_token(GLshort)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_192() { + if (jj_scan_token(GLbyte)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3_20() { + if (jj_scan_token(72)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_31()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_191() { + if (jj_scan_token(GLvoid)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_161() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_191()) { + jj_scanpos = xsp; + if (jj_3R_192()) { + jj_scanpos = xsp; + if (jj_3R_193()) { + jj_scanpos = xsp; + if (jj_3R_194()) { + jj_scanpos = xsp; + if (jj_3R_195()) { + jj_scanpos = xsp; + if (jj_3R_196()) { + jj_scanpos = xsp; + if (jj_3R_197()) { + jj_scanpos = xsp; + if (jj_3R_198()) { + jj_scanpos = xsp; + if (jj_3R_199()) { + jj_scanpos = xsp; + if (jj_3R_200()) { + jj_scanpos = xsp; + if (jj_3R_201()) { + jj_scanpos = xsp; + if (jj_3R_202()) { + jj_scanpos = xsp; + if (jj_3R_203()) { + jj_scanpos = xsp; + if (jj_3R_204()) { + jj_scanpos = xsp; + if (jj_3R_205()) { + jj_scanpos = xsp; + if (jj_3R_206()) { + jj_scanpos = xsp; + if (jj_3R_207()) { + jj_scanpos = xsp; + if (jj_3R_208()) { + jj_scanpos = xsp; + if (jj_3R_209()) 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; + } 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; + } 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_21() { + if (jj_3R_27()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_107() { + if (jj_3R_161()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_54() { + if (jj_3R_110()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_53() { + if (jj_3R_109()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_52() { + if (jj_3R_108()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_64() { + if (jj_3R_33()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_227() { + if (jj_3R_34()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_215() { + if (jj_3R_27()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_216() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_227()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_31() { + if (jj_3R_20()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_215()) { + jj_scanpos = xsp; + if (jj_3R_216()) 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_160() { + if (jj_scan_token(LONG)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_60() { + if (jj_3R_31()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3_20()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_159() { + if (jj_scan_token(SIGNED)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_117() { + if (jj_scan_token(72)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(80)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_158() { + if (jj_scan_token(UNSIGNED)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_30() { + if (jj_3R_60()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_117()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_157() { + if (jj_scan_token(DOUBLE)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_166() { + if (jj_3R_103()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_118() { + Token xsp; + if (jj_3R_166()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + while (true) { + xsp = jj_scanpos; + if (jj_3R_166()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_156() { + if (jj_scan_token(FLOAT)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_63() { + if (jj_3R_118()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + return false; + } + + static final private boolean jj_3R_97() { + if (jj_scan_token(72)) 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_221() { + if (jj_scan_token(CHARACTER_LITERAL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_220() { + if (jj_scan_token(FLOATING_POINT_LITERAL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_153() { + if (jj_scan_token(CHAR)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_219() { + if (jj_scan_token(INTEGER_LITERAL)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_187() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_219()) { + jj_scanpos = xsp; + if (jj_3R_220()) { + jj_scanpos = xsp; + if (jj_3R_221()) { + jj_scanpos = xsp; + if (jj_3R_222()) 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_43() { + 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_97()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_152() { + if (jj_scan_token(VOID)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_134() { + 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; + return false; + } + + static final private boolean jj_3R_133() { + if (jj_3R_187()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + 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; + } + + static final private boolean jj_3R_132() { + if (jj_scan_token(IDENTIFIER)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3_35() { + if (jj_3R_43()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + 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_94() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_132()) { + jj_scanpos = xsp; + if (jj_3R_133()) { + jj_scanpos = xsp; + if (jj_3R_134()) 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_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() { + 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_140() { + if (jj_scan_token(110)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + 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; + 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; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_138() { + if (jj_scan_token(114)) 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; + return false; + } + + 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; + } + + static final private boolean jj_3R_137() { + if (jj_scan_token(113)) 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; + return false; + } + + static final private boolean jj_3R_135() { + if (jj_scan_token(77)) 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(78)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_95() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_135()) { + jj_scanpos = xsp; + if (jj_3R_136()) { + jj_scanpos = xsp; + if (jj_3R_137()) { + jj_scanpos = xsp; + if (jj_3R_138()) { + jj_scanpos = xsp; + if (jj_3R_139()) { + jj_scanpos = xsp; + if (jj_3R_140()) 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; + 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; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_188()) 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_3_33() { + if (jj_3R_37()) 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_42() { + if (jj_3R_94()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_95()) { jj_scanpos = xsp; break; } + 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; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_183() { + if (jj_scan_token(111)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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; + } + + static final private boolean jj_3R_182() { + if (jj_scan_token(106)) 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_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_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_127() { + if (jj_3R_37()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_126() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_179()) { + jj_scanpos = xsp; + if (jj_3R_180()) { + jj_scanpos = xsp; + if (jj_3R_181()) { + jj_scanpos = xsp; + if (jj_3R_182()) { + jj_scanpos = xsp; + if (jj_3R_183()) { + jj_scanpos = xsp; + if (jj_3R_184()) 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; + 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_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_3R_128() { + 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; + 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; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_127()) { + jj_scanpos = xsp; + if (jj_3R_128()) 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_264() { + if (jj_scan_token(106)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_76() { + if (jj_3R_126()) 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_3_32() { + 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_75() { + if (jj_scan_token(110)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_37()) 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; + if (jj_3R_37()) 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; + return false; + } + + static final private boolean jj_3R_261() { + if (jj_scan_token(104)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_213() { + if (jj_3R_121()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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_37() { + Token xsp; + xsp = jj_scanpos; + if (jj_3_34()) { + jj_scanpos = xsp; + if (jj_3R_74()) { + jj_scanpos = xsp; + if (jj_3R_75()) { + jj_scanpos = xsp; + if (jj_3R_76()) { + jj_scanpos = xsp; + if (jj_3R_77()) 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_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_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; + 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; + 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; + 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; + 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; + 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_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; + } + + 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_41() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_92()) { + jj_scanpos = xsp; + 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; + return false; + } + + static final private boolean jj_3R_267() { + if (jj_scan_token(108)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + 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; + } + + 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_265() { + 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_49() { + if (jj_3R_19()) return true; + 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; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_262() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_265()) { + jj_scanpos = xsp; + if (jj_3R_266()) { + jj_scanpos = xsp; + if (jj_3R_267()) 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; + if (jj_3R_258()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_246() { + if (jj_scan_token(98)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + return false; + } + + static final private boolean jj_3R_258() { + if (jj_3R_41()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_262()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_259() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_263()) { + jj_scanpos = xsp; + if (jj_3R_264()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_251()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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_260() { + if (jj_scan_token(103)) 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; + 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_251() { + if (jj_3R_258()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_259()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_252() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_260()) { + jj_scanpos = xsp; + if (jj_3R_261()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_243()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_256() { + if (jj_scan_token(102)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_255() { + if (jj_scan_token(101)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_243() { + if (jj_3R_251()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_252()) jj_scanpos = xsp; + else 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; + 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; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_244() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_253()) { + jj_scanpos = xsp; + if (jj_3R_254()) { + jj_scanpos = xsp; + if (jj_3R_255()) { + jj_scanpos = xsp; + if (jj_3R_256()) 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; + if (jj_3R_240()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + return false; + } + + static final private boolean jj_3R_240() { + if (jj_3R_243()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_244()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + 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_241() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_245()) { + jj_scanpos = xsp; + if (jj_3R_246()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_233()) return true; + 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; + } + + static final private boolean jj_3R_233() { + if (jj_3R_240()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_241()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_234() { + if (jj_scan_token(96)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_229()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_27() { + 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_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_229() { + if (jj_3R_233()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_234()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_230() { + if (jj_scan_token(95)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_217()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3_17() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_28()) 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_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_217() { + if (jj_3R_229()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_230()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_218() { + if (jj_scan_token(94)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_185()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_218()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_186() { + if (jj_scan_token(93)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_129()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_226() { + Token xsp; + xsp = jj_scanpos; + 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; + } + + 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_129() { + if (jj_3R_185()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_186()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_130() { + if (jj_scan_token(92)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_89()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + 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; + 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; + } + + static final private boolean jj_3R_89() { + if (jj_3R_129()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_130()) jj_scanpos = xsp; + 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_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_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; + 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_90() { + if (jj_scan_token(91)) 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(74)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_39()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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() { + 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_39() { + if (jj_3R_89()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_90()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_223() { + if (jj_scan_token(72)) 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_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; + 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; + 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; + 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_86() { + if (jj_scan_token(88)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_85() { + if (jj_scan_token(87)) 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_83() { + if (jj_scan_token(85)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3_30() { + 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; + return false; + } + + static final private boolean jj_3R_82() { + if (jj_scan_token(84)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + 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; + 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; + 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_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; + return false; + } + + static final private boolean jj_3R_38() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_78()) { + jj_scanpos = xsp; + if (jj_3R_79()) { + jj_scanpos = xsp; + if (jj_3R_80()) { + jj_scanpos = xsp; + if (jj_3R_81()) { + jj_scanpos = xsp; + if (jj_3R_82()) { + jj_scanpos = xsp; + if (jj_3R_83()) { + jj_scanpos = xsp; + if (jj_3R_84()) { + jj_scanpos = xsp; + if (jj_3R_85()) { + jj_scanpos = xsp; + if (jj_3R_86()) { + jj_scanpos = xsp; + if (jj_3R_87()) { + jj_scanpos = xsp; + if (jj_3R_88()) 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; + } 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 private boolean jj_initialized_once = false; + static public C2JTokenManager token_source; + static ASCII_CharStream jj_input_stream; + static public Token token, jj_nt; + static private int jj_ntk; + static private Token jj_scanpos, jj_lastpos; + static private int jj_la; + static public boolean lookingAhead = false; + static private boolean jj_semLA; + static private int jj_gen; + static final private int[] jj_la1 = new int[83]; + static final private int[] jj_la1_0 = {0x0,0xa0a0000,0x10000,0xa0a0000,0x10240000,0x10240000,0x94240000,0x0,0x10000,0x0,0x0,0x84000000,0x0,0x0,0x10000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x406880,0x0,0x0,0x10000,0x0,0x10000,0x0,0x0,0x0,0x0,0x406880,0x0,0x0,0x0,0x406880,0x0,0x0,0x406880,0x0,0x61c0e880,0x100000,0x406880,0x61d0e880,0x61d0e880,0x800000,0x406880,0x406880,0x406880,0x20000000,0x406880,0x41008000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x406880,0x0,0x400000,0x0,0x0,0x0,0x6880,0x0,0x6880,}; + static final private int[] jj_la1_1 = {0x0,0x80,0x1,0x80,0x1326,0xffff9326,0xffff9366,0xffff8000,0x1,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6c00,0x10,0x0,0x6c10,0x6c10,0x2000,0x0,0x0,0x0,0x4800,0x0,0x400,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,}; + static final private int[] jj_la1_2 = {0x8804,0x0,0x0,0x0,0x0,0x3,0x3,0x3,0x0,0x4,0x4,0x0,0x100,0x200,0x0,0x100,0x8804,0x8c04,0x4,0x4,0x100,0x200,0x8000,0x804,0x2800,0x8804,0x2000,0x800,0x0,0x8000,0x0,0x100,0xa800,0x100,0x100,0x8844,0xa800,0x8000,0xa800,0x8804,0x2800,0x2800,0x8804,0x2800,0x8864,0x4,0x8804,0x8864,0x8864,0x0,0x8804,0x8804,0x8804,0x0,0x8804,0x0,0x100,0x7fe0200,0x8000000,0x10000000,0x20000000,0x40000000,0x80000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x8000,0x8000,0x8804,0x800,0x8000,0x8000,0x2800,0x2800,0x804,0x100,0x0,}; + static final private int[] jj_la1_3 = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1e601,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1e601,0x0,0x0,0x0,0x1e601,0x0,0x0,0x1e601,0x0,0x1e601,0x0,0x1e601,0x1e601,0x1e601,0x0,0x1e601,0x1e601,0x1e601,0x0,0x1e601,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x6,0x6,0x78,0x78,0x180,0x180,0x600,0x600,0x1800,0x1800,0x1e601,0x0,0x1e601,0x18601,0x66000,0x66000,0x0,0x0,0x0,}; + static final private JJCalls[] jj_2_rtns = new JJCalls[35]; + static private boolean jj_rescan = false; + static private int jj_gc = 0; + + public C2J(java.io.InputStream stream) { + if (jj_initialized_once) { + System.out.println("ERROR: Second call to constructor of static parser. You must"); + System.out.println(" either use ReInit() or set the JavaCC option STATIC to false"); + System.out.println(" during parser generation."); + throw new Error(); + } + jj_initialized_once = true; + jj_input_stream = new ASCII_CharStream(stream, 1, 1); + token_source = new C2JTokenManager(jj_input_stream); + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 83; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + static public void ReInit(java.io.InputStream stream) { + jj_input_stream.ReInit(stream, 1, 1); + token_source.ReInit(jj_input_stream); + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 83; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + public C2J(java.io.Reader stream) { + if (jj_initialized_once) { + System.out.println("ERROR: Second call to constructor of static parser. You must"); + System.out.println(" either use ReInit() or set the JavaCC option STATIC to false"); + System.out.println(" during parser generation."); + throw new Error(); + } + jj_initialized_once = true; + jj_input_stream = new ASCII_CharStream(stream, 1, 1); + token_source = new C2JTokenManager(jj_input_stream); + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 83; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + static public void ReInit(java.io.Reader stream) { + jj_input_stream.ReInit(stream, 1, 1); + token_source.ReInit(jj_input_stream); + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 83; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + public C2J(C2JTokenManager tm) { + if (jj_initialized_once) { + System.out.println("ERROR: Second call to constructor of static parser. You must"); + System.out.println(" either use ReInit() or set the JavaCC option STATIC to false"); + System.out.println(" during parser generation."); + throw new Error(); + } + jj_initialized_once = true; + token_source = tm; + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 83; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + public void ReInit(C2JTokenManager tm) { + token_source = tm; + token = new Token(); + jj_ntk = -1; + jj_gen = 0; + for (int i = 0; i < 83; i++) jj_la1[i] = -1; + for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); + } + + static final private Token jj_consume_token(int kind) throws ParseException { + Token oldToken; + if ((oldToken = token).next != null) token = token.next; + else token = token.next = token_source.getNextToken(); + jj_ntk = -1; + if (token.kind == kind) { + jj_gen++; + if (++jj_gc > 100) { + jj_gc = 0; + for (int i = 0; i < jj_2_rtns.length; i++) { + JJCalls c = jj_2_rtns[i]; + while (c != null) { + if (c.gen < jj_gen) c.first = null; + c = c.next; + } + } + } + return token; + } + token = oldToken; + jj_kind = kind; + throw generateParseException(); + } + + static final private boolean jj_scan_token(int kind) { + if (jj_scanpos == jj_lastpos) { + jj_la--; + if (jj_scanpos.next == null) { + jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken(); + } else { + jj_lastpos = jj_scanpos = jj_scanpos.next; + } + } else { + jj_scanpos = jj_scanpos.next; + } + if (jj_rescan) { + int i = 0; Token tok = token; + while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; } + if (tok != null) jj_add_error_token(kind, i); + } + return (jj_scanpos.kind != kind); + } + + static final public Token getNextToken() { + if (token.next != null) token = token.next; + else token = token.next = token_source.getNextToken(); + jj_ntk = -1; + jj_gen++; + return token; + } + + static final public Token getToken(int index) { + Token t = lookingAhead ? jj_scanpos : token; + for (int i = 0; i < index; i++) { + if (t.next != null) t = t.next; + else t = t.next = token_source.getNextToken(); + } + return t; + } + + static final private int jj_ntk() { + if ((jj_nt=token.next) == null) + return (jj_ntk = (token.next=token_source.getNextToken()).kind); + else + return (jj_ntk = jj_nt.kind); + } + + static private java.util.Vector jj_expentries = new java.util.Vector(); + static private int[] jj_expentry; + static private int jj_kind = -1; + static private int[] jj_lasttokens = new int[100]; + static private int jj_endpos; + + static private void jj_add_error_token(int kind, int pos) { + if (pos >= 100) return; + if (pos == jj_endpos + 1) { + jj_lasttokens[jj_endpos++] = kind; + } else if (jj_endpos != 0) { + jj_expentry = new int[jj_endpos]; + for (int i = 0; i < jj_endpos; i++) { + jj_expentry[i] = jj_lasttokens[i]; + } + boolean exists = false; + for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) { + int[] oldentry = (int[])(enum.nextElement()); + if (oldentry.length == jj_expentry.length) { + exists = true; + for (int i = 0; i < jj_expentry.length; i++) { + if (oldentry[i] != jj_expentry[i]) { + exists = false; + break; + } + } + if (exists) break; + } + } + if (!exists) jj_expentries.addElement(jj_expentry); + if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind; + } + } + + static final public ParseException generateParseException() { + jj_expentries.removeAllElements(); + boolean[] la1tokens = new boolean[115]; + for (int i = 0; i < 115; i++) { + la1tokens[i] = false; + } + if (jj_kind >= 0) { + la1tokens[jj_kind] = true; + jj_kind = -1; + } + for (int i = 0; i < 83; i++) { + if (jj_la1[i] == jj_gen) { + for (int j = 0; j < 32; j++) { + if ((jj_la1_0[i] & (1< jj_gen) { + jj_la = p.arg; jj_lastpos = jj_scanpos = p.first; + switch (i) { + case 0: jj_3_1(); break; + case 1: jj_3_2(); break; + case 2: jj_3_3(); break; + case 3: jj_3_4(); break; + case 4: jj_3_5(); break; + case 5: jj_3_6(); break; + case 6: jj_3_7(); break; + case 7: jj_3_8(); break; + case 8: jj_3_9(); break; + case 9: jj_3_10(); break; + case 10: jj_3_11(); break; + case 11: jj_3_12(); break; + case 12: jj_3_13(); break; + case 13: jj_3_14(); break; + case 14: jj_3_15(); break; + case 15: jj_3_16(); break; + case 16: jj_3_17(); break; + case 17: jj_3_18(); break; + case 18: jj_3_19(); break; + case 19: jj_3_20(); break; + case 20: jj_3_21(); break; + case 21: jj_3_22(); break; + case 22: jj_3_23(); break; + case 23: jj_3_24(); break; + case 24: jj_3_25(); break; + case 25: jj_3_26(); break; + case 26: jj_3_27(); break; + case 27: jj_3_28(); break; + case 28: jj_3_29(); break; + case 29: jj_3_30(); break; + case 30: jj_3_31(); break; + case 31: jj_3_32(); break; + case 32: jj_3_33(); break; + case 33: jj_3_34(); break; + case 34: jj_3_35(); break; + } + } + p = p.next; + } while (p != null); + } + jj_rescan = false; + } + + static final private void jj_save(int index, int xla) { + JJCalls p = jj_2_rtns[index]; + while (p.gen > jj_gen) { + if (p.next == null) { p = p.next = new JJCalls(); break; } + p = p.next; + } + p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla; + } + + static final class JJCalls { + int gen; + Token first; + int arg; + JJCalls next; + } + + } diff --git a/C2J/C2J.jj b/C2J/C2J.jj new file mode 100644 index 0000000..4376c97 --- /dev/null +++ b/C2J/C2J.jj @@ -0,0 +1,1305 @@ +/* + + This C2J parser is able to convert + C-Declarations to + - Java's JNI functions declaration + - The JNI C-Glue functions for native methods + with the same name !! + - Special support for OpenGL/GLU declarations, + because C2J is developed to develop GL4Java + - an OpenGL language mapping to Java !!! + + LGPL Licensed - copyright by Sven Goethel, + 1999 Jausoft - Sven Goethel Software Development + + C2J based upon: + =============== + + C grammar defintion for use with JavaCC + Contributed by Doug South (dsouth@squirrel.com.au) 21/3/97 + + This parser assumes that the C source file has been preprocessed : all + #includes have been included and all macros have been expanded. I accomplish + this with "gcc -P -E > ". + + There is a problem with compiler specific types, such as __signed, __const, + __inline__, etc. These types can be added as typedef types before the parser + is run on a file. See main() for an example. I have also found a strange little + compiler specific "type" if you can call it that. It is __attribute__, but it + does not seem to be used as a type. I found that just deleting the __attribute__ + and the following "offensive" code works. + + This grammar also prints out all the types defined while parsing the file. This + is done via a call to printTypes() when the parser is complete. If you do not want + this, just comment out the printTypes() method call in the production rule + TranslationUnit(), which BTW is the root node for parsing a C source file. + + I have not in anyway extensively tested this grammar, in fact it is barely tested, + but I imagine it is better to have a starting point for a C grammar other than from + scratch. It has not been optimized in anyway, my main aim was to get a parser that + works. Lookahead may not be optimum at choice points and may even be insufficient at + times. I choose to err on the side of not optimum if I made a choice at all. + + If you use this grammar, I would appreciate hearing from you. I will try to maintain + this grammar to the best of my ability, but at this point in time, this is only a side + hobby (unless someone wants to pay me for doing JavaCC work!). In that regards, I am + interested in hearing bugs and comments. + + TODO: + + Insert the appropiate code to enable C source trees from this grammar. + + */ + +PARSER_BEGIN(C2J) + +import java.util.*; + + public class C2J{ + + public static final String version = "C2J Parser Version 1.4 Beta" ; + public static final String vendor = "Jausoft - Sven Goethel Software Development"; + + public static final int EXPORT_JNI_JAVA = 1; + public static final int EXPORT_JNI_JAVA_FINAL = 2; + public static final int EXPORT_MSJDIRECT_JAVA = 3; + 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 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 verbose=false ; + public static boolean syntaxVerbose=false ; + public static boolean echoMode=false ; + public static String clazzName; + public static String dllname; + + public static int lastEnumValue=0; + + // + // Holder of the parsed c-code + // + public static String cSrc; + + // Hastable for storing typedef types + private static Hashtable types = new Hashtable(); + + // Stack for determining when the parser + // is parsing a typdef definition. + private static Stack typedefParsingStack = new Stack(); + + // Returns true if the given string is + // a typedef type. + private static boolean isType(String type){ + + if(types.get(type) != null){ + return true; + } + return false; + } + + // Add a typedef type to those already defined + private static void addType(String type){ + types.put(type, Boolean.TRUE); + cSrc += "\n\t/* WARNING TYPE ADDED : "+type+" */\n"; + } + + // Prints out all the types used in parsing the c source + private static void printTypes(){ + + Enumeration enum = types.keys(); + + while(enum.hasMoreElements()){ + System.out.println(enum.nextElement()); + } + } + + public static void printUsage() + { + System.out.println("Usage is one of:"); + System.out.println(" java C2J [-v] [-s] [-echo] [jnic|jnijava|jnijavaf|msjava|echo] < inputfile"); + System.out.println("OR"); + System.out.println(" java C2J [-v] [-s] [-echo] [-jnic-criticalarray] [-jnic-trial] [jnic|jnic-dyn|jnijava|msjava |glfnames] inputfile"); + System.out.println(" , inputfile is a C-HeaderFile (Preprocessed)."); + System.out.println(" , where must be full qualified with an underscore instead of an dot - if not in (any) Java-Mode."); + System.out.println(" , where -v means verbose"); + System.out.println(" , where -s means including the syntax-states in Output commentary"); + System.out.println(" , where -echo means including the parsed C-Code in Output commentary"); + System.out.println(" , where -jnic-criticalarray includes experimental JNI-C Code"); + System.out.println(" , where -jnic-trial includes experimental JNI-C Code"); + System.out.println(" , where jnic produces JNI-C Code (strong binding)"); + System.out.println(" , where jnic-dyn produces JNI-C Code (dynamic binding)"); + System.out.println(" , where jnijava produces JNI-Java Code (non final)"); + System.out.println(" , where jnijavaf produces JNI-Java Code (final)"); + System.out.println(" , where msjava produces MSJVM-Java Code for the DLL "); + System.out.println(" , where glfnames produces all GL function names"); + 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"); + System.out.println(" java C2J jnijava myPackage_myClass a.h > a.java"); + System.out.println(" java C2J jnijavaf myPackage_myClass a.h > aFinalMethods.java"); + System.out.println(" java C2J msjava OPENGL32 myPackage_myClass a.h > aMSVersion.java"); + System.out.println(" java C2J -echo myPackage_myClass a.h > aCopy.h"); + System.out.println(" ( ALL OpenGL GL's are mapped to JNI types )"); + } + + // Run the parser + public static void main ( String args [ ] ) + { + C2J parser ; + + // Hack to include type "special types" + /* + types.put("__signed__", Boolean.TRUE); + types.put("__const", Boolean.TRUE); + types.put("__inline__", Boolean.TRUE); + types.put("__signed", Boolean.TRUE); + */ + + int i; + String inputFile = null; + + exportMode = -1; /* error */ + exportModifier = 0; + verbose=false; + echoMode=false; + + if(args.length==0) + { + printUsage(); + return; + } + + for(i=0; i +| <"/*" (~["*"])* "*" ("*" | ~["*","/"] (~["*"])* "*")* "/"> +} + +TOKEN : { + (["l","L"])? | (["l","L"])? | (["l","L"])?> +| <#DECIMAL_LITERAL: ["1"-"9"] (["0"-"9"])*> +| <#HEX_LITERAL: "0" ["x","X"] (["0"-"9","a"-"f","A"-"F"])+> +| <#OCTAL_LITERAL: "0" (["0"-"7"])*> +| )? (["f","F","d","D"])? | "." (["0"-"9"])+ ()? (["f","F","d","D"])? | (["0"-"9"])+ (["f","F","d","D"])? | (["0"-"9"])+ ()? ["f","F","d","D"]> +| <#EXPONENT: ["e","E"] (["+","-"])? (["0"-"9"])+> +| +| +} + +TOKEN : { + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + | + +} + +TOKEN : { + ( | )*> +| <#LETTER: ["$","A"-"Z","_","a"-"z"]> +| <#DIGIT: ["0"-"9"]> +} + +void TranslationUnit() : {} +{ + (ExternalDeclaration())+ + { /* printTypes(); */ } +} + +void ExternalDeclaration() : +{ CFuncDeclaration cfunc = null; } +{ + ( LOOKAHEAD( FunctionDefinition() ) + cfunc = FunctionDefinition() | cfunc = Declaration(null) + ) + { + if(echoMode) + { + System.out.println("/**"); + System.out.println(" * Original Function-Prototype :"); + System.out.println(" *
 ");
+	      System.out.print  ("   ");
+	      System.out.print(cSrc);
+	      System.out.println(" * 
"); + System.out.println(" */"); + cSrc=new String(); + } + if(verbose) + { + String tmp = new String(); + + tmp += "/*\n"; + + if(cfunc!=null) + tmp += cfunc.toString(); + else + tmp += "NO CFUNC INSTANCE"; + + tmp += "\n*/"; + + System.out.println(tmp); + } + + if(cfunc==null) + { + System.err.println("ERROR(ExternalDeclaration): no CFuncDeclaration instance received !"); + return; + } + if(!cfunc.isValid()) + { + String name = null; + if(cfunc.funcSpec!=null) + { + name=cfunc.funcSpec.identifier; + if(name==null) + name=cfunc.funcSpec.toString(); + } + if(name==null) + name=""; + System.err.println("WARNING(ExternalDeclaration): Function :<"+ + name+"> can not be proceded - invalid !"); + return; + } + + switch(exportMode) + { + case EXPORT_JNI_JAVA : + System.out.println(cfunc.toJniJavaCode(false)); + break; + case EXPORT_JNI_JAVA_FINAL : + System.out.println(cfunc.toJniJavaCode(true)); + break; + case EXPORT_JNI_C : + case EXPORT_JNI_C_DYN : + System.out.println(cfunc.toJniCCode(clazzName, exportMode, + exportModifier)); + break; + case EXPORT_GL_FUNC_NAMES: + System.out.println("\t\t\""+cfunc.funcSpec.identifier+"\", "); + break; + case EXPORT_MSJDIRECT_JAVA : + System.out.println(cfunc.toMsJDirectCode(dllname)); + break; + } + } +} + +CFuncDeclaration FunctionDefinition() : +{ CFuncDeclaration cfunc= new CFuncDeclaration(); } +{ + [ LOOKAHEAD(DeclarationSpecifiers(null)) DeclarationSpecifiers(cfunc)] + Declarator(cfunc) [ DeclarationList(cfunc) ] + CompoundStatement() + { + return cfunc; + } +} + +CFuncDeclaration Declaration(CFuncDeclaration cfunc) : +{ if(cfunc==null) cfunc = new CFuncDeclaration(); } +{ + DeclarationSpecifiers(cfunc) [ InitDeclaratorList(cfunc) ] + ";" + { + cSrc += ";\n"; + return cfunc; + } +} + +void DeclarationList(CFuncDeclaration cfunc) : {} +{ + ( LOOKAHEAD(Declaration(null)) Declaration(cfunc) )+ +} + +void DeclarationSpecifiers(CFuncDeclaration cfunc) : +{ CFuncVariable cfvar=null; + if(cfunc!=null) cfvar=cfunc.getLastIncompleteVar(); +} +{ + StorageClassSpecifier(cfunc) + [ LOOKAHEAD(DeclarationSpecifiers(null)) + DeclarationSpecifiers(cfunc) ] + | + cfvar=TypeSpecifier(cfvar) + { + if(cfunc!=null) + { + cfunc.setWorkingVar(cfvar); + } + } + [ LOOKAHEAD(DeclarationSpecifiers(null)) + DeclarationSpecifiers(cfunc) ] | + cfvar=TypeQualifier(cfvar) + { + if(cfunc!=null) + { + cfunc.setWorkingVar(cfvar); + } + } + [ LOOKAHEAD(DeclarationSpecifiers(null)) + DeclarationSpecifiers(cfunc) ] +} + +void StorageClassSpecifier(CFuncDeclaration cfunc) : +{ Token t; } +{ + ( t= { cSrc += t.image+" "; } | + t= { cSrc += t.image+" "; }| + t= { cSrc += t.image+" "; } | + t= { cSrc += t.image+" "; }| + t= { cSrc += t.image+" "; } + { + typedefParsingStack.push(Boolean.TRUE); + } ) +} + +CFuncVariable TypeSpecifier(CFuncVariable cfvar) : +{ String typeJava; Token t=null; boolean isVoid=false; } +{ + ( + ( + ( + t= + { typeJava=t.image; + isVoid=true; + cSrc += t.image+" "; + } | + t= + { typeJava="byte"; + cSrc += t.image+" "; + } | + t= + { typeJava=t.image; + cSrc += t.image+" "; + } | + t= + { typeJava=t.image; + cSrc += t.image+" "; + } | + t= + { typeJava=t.image; + cSrc += t.image+" "; + } | + t= + { typeJava=t.image; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava=t.image; + cSrc += t.image+" "; + } + ) + { + if(cfvar==null) + cfvar = new CFuncVariable(); + + cfvar.typeC = t.image; + cfvar.typeJava = typeJava; + cfvar.isVoid = isVoid; + + return cfvar; + } + | cfvar=TypeSpecifierGL(cfvar) + { return cfvar; } + ) | + StructOrUnionSpecifier() | + EnumSpecifier() | + LOOKAHEAD( { isType(getToken(1).image) } ) TypedefName() + ) + { return null; } +} + +CFuncVariable TypeSpecifierGL(CFuncVariable cfvar) : +{ String typeJava; Token t=null; boolean isVoid=false; } +{ + ( + t= + { typeJava="void"; + cSrc += t.image+" "; + isVoid=true; + } | + t= + { typeJava="byte"; + cSrc += t.image+" "; + } | + t= + { typeJava="short"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="float"; + cSrc += t.image+" "; + } | + t= + { typeJava="float"; + cSrc += t.image+" "; + } | + t= + { typeJava="double"; + cSrc += t.image+" "; + } | + t= + { typeJava="double"; + cSrc += t.image+" "; + } | + t= + { typeJava="byte"; + cSrc += t.image+" "; + } | + t= + { typeJava="boolean"; + cSrc += t.image+" "; + } | + t= + { typeJava="short"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } | + t= + { typeJava="int"; + cSrc += t.image+" "; + } + ) + { + if(cfvar==null) + cfvar = new CFuncVariable(); + cfvar.typeC = t.image; + cfvar.typeJava = typeJava; + cfvar.isVoid = isVoid; + + return cfvar; + } +} + +CFuncVariable TypeQualifier(CFuncVariable cfvar) : +{ Token t; } +{ + ( t= + { cSrc += t.image+" "; + if(cfvar==null) + cfvar = new CFuncVariable(); + cfvar.isConst=true; + return cfvar; + } | + t= { cSrc += t.image+" "; return cfvar; } ) +} + +void StructOrUnionSpecifier() : +{ Token t; } +{ + { + typedefParsingStack.push(Boolean.FALSE); + } + + StructOrUnion() ( LOOKAHEAD(3) + [ t= + { + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*StrucOrUnionSpec*/"; + } + ] + "{" { cSrc += "{\n"; } StructDeclarationList() + "}" { cSrc += "}\n"; } | + t= + { + cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*StrucOrUnionSpec2*/"; + } + ) + { + typedefParsingStack.pop(); + } +} + +void StructOrUnion() : +{ Token t; } +{ + ( t= { cSrc += t.image+" "; } | + t= { cSrc += t.image+" "; } ) +} + +void StructDeclarationList() : {} +{ + (StructDeclaration())+ +} + +void InitDeclaratorList(CFuncDeclaration cfunc) : {} +{ + InitDeclarator(cfunc) ( + "," { cSrc += ", "; } InitDeclarator(cfunc))* + { + // Finished with a typedefDeclaration?? + if(!(typedefParsingStack.empty()) && ((Boolean)typedefParsingStack.peek()).booleanValue()){ + typedefParsingStack.pop(); + } + } +} + +void InitDeclarator(CFuncDeclaration cfunc) : {} +{ + Declarator(cfunc) [ "=" { cSrc += "= "; } Initializer() ] +} + +void StructDeclaration() : {} +{ + SpecifierQualifierList(null) StructDeclaratorList() + ";" { cSrc += ";\n"; } +} + +CFuncVariable SpecifierQualifierList(CFuncVariable cfvar) : {} +{ + cfvar=TypeSpecifier(cfvar) [ LOOKAHEAD(SpecifierQualifierList(null)) + SpecifierQualifierList(cfvar) ] + { return cfvar; } | + cfvar=TypeQualifier(cfvar) [ LOOKAHEAD(SpecifierQualifierList(null)) + SpecifierQualifierList(cfvar) ] + { return cfvar; } +} + +void StructDeclaratorList() : {} +{ + StructDeclarator() ( "," { cSrc += ", "; } StructDeclarator() )* +} + +void StructDeclarator() : {} +{ + ( LOOKAHEAD(3) Declarator(null) | [ Declarator(null) ] + ":" { cSrc += ": "; } ConstantExpression() ) +} + +void EnumSpecifier() : +{ Token t; } +{ + t= { cSrc += t.image+" "; } ( LOOKAHEAD(3) + [ t= { cSrc += t.image+" "; } ] + "{" { cSrc += "{\n"; } EnumeratorList() + "}" { cSrc += "}\n"; } | + t= { cSrc += t.image+" "; } ) +} + +void EnumeratorList() : +{ lastEnumValue=0; } +{ + Enumerator() ("," { cSrc += ",\n"; } Enumerator())* + { cSrc += "\n\t;\n"; } +} + +void Enumerator() : +{ Token t; int startIdx; } +{ + t= { cSrc += "\t"+t.image+" "; startIdx=-1; } + [ "=" { cSrc += "= "; startIdx=cSrc.length(); } ConstantExpression() ] + { + System.out.print("\tpublic static final int "+t.image+"\t= "); + if(startIdx>=0) + { + String valStr = cSrc.substring(startIdx, cSrc.length()).trim(); + System.out.print(valStr); + int val = 0; + try { + val=Integer.decode(valStr).intValue(); + lastEnumValue=val; + } catch (Exception ex) { + System.err.println("Error while decoding for <"+ + t.image+">: <"+valStr+">"); + lastEnumValue++; + } + } else { + lastEnumValue++; + System.out.print(lastEnumValue); + } + System.out.println(";"); + } +} + +void Declarator(CFuncDeclaration cfunc) : +{ CFuncVariable cfvar=null; } +{ + { if(cfunc!=null) + cfvar = cfunc.getWorkingVar(); + } + [ Pointer(cfvar) ] DirectDeclarator(cfunc) +} + +void DirectDeclarator(CFuncDeclaration cfunc) : +{ Token t; } +{ + ( + t = + { cSrc+=t.image+" "; + + if(syntaxVerbose) + cSrc += "/*DirectDecl1*/ "; + + if(!(typedefParsingStack.empty()) && + ((Boolean)typedefParsingStack.peek()).booleanValue()) + { + addType(t.image); + } + + if(cfunc==null) + return; + + // + // Complete the variable declarations in the holder ! + // + CFuncVariable cfvar = cfunc.getWorkingVar(); + + cfvar.identifier=t.image; + cfvar.complete=true; + } + + | + + "(" + { cSrc += "( "; + if(syntaxVerbose) + cSrc += "/*DirectDecl2*/ "; + } + Declarator(cfunc) + ")" { cSrc += ") "; } + ) + + ( + "[" { cSrc += "[ "; } + [ ConstantExpression() ] + "]" + { cSrc += "] "; + if(cfunc!=null) + { + CFuncVariable cfvar = (CFuncVariable) + cfunc.argList.elementAt(cfunc.argList.size()-1); + cfvar.arrayNumber++; + } + } + | + + LOOKAHEAD(3) + "(" + { + cSrc += "( "; + if(syntaxVerbose) + cSrc += "/*DirectDecl3*/ "; + } + [ ParameterTypeList(cfunc) ] + ")" + { cSrc += ") "; } + + | + + "(" + { + cSrc += "( "; + if(syntaxVerbose) + cSrc += "/*DirectDecl4*/ "; + } + IdentifierList() + ")" { cSrc += ") "; } )* +} + +void Pointer(CFuncVariable cfvar) : {} +{ + "*" + { + cSrc += "* "; + if(cfvar!=null) + { + if(cfvar.typeC!=null) + { + /** + * No Pointer - These GLU Types are allready + * "long" values for java -> pointer + */ + if(cfvar.typeC.equals("GLUquadricObj") || + cfvar.typeC.equals("GLUnurbsObj") || + cfvar.typeC.equals("GLUtesselator") || + cfvar.typeC.equals("GLUtriangulatorObj") + ) + { + cfvar.isGLUPtrObject=true; + return; + } + } + cfvar.arrayNumber++; + } + } + [ TypeQualifierList(null) ] [ Pointer(cfvar) ] +} + +void TypeQualifierList(CFuncVariable cfvar) : {} +{ + (TypeQualifier(cfvar))+ +} + +void ParameterTypeList(CFuncDeclaration cfunc) : {} +{ + ParameterList(cfunc) + ["," { cSrc += ", "; } "..." { cSrc += "..."; } ] +} + +void ParameterList(CFuncDeclaration cfunc) : {} +{ + ParameterDeclaration(cfunc) (LOOKAHEAD(2) + "," { cSrc += ", "; } ParameterDeclaration(cfunc))* +} + +void ParameterDeclaration(CFuncDeclaration cfunc) : {} +{ + DeclarationSpecifiers(cfunc) + ( LOOKAHEAD(Declarator(null)) Declarator(cfunc) | + [ AbstractDeclarator() ] ) + { + if(cfunc!=null) + { + CFuncVariable cfvar = cfunc.getLastIncompleteVar(); + if(cfvar!=null) + { + /** + * We may must squash the "void" Argument + * E.g. void function(void) ! + */ + if(cfvar.isVoid) + { + cfunc.argList.removeElementAt( + cfunc.argList.size()-1); + return; + } + /** + * We have a regular argument, + * so we must add an instance name here ... + */ + cfvar.identifier="arg"+(cfunc.argList.size()-1); + cfvar.complete=true; + } + } + } +} + +/** + * + * J2C Declaration Changes END (JAU) + * + */ + +void IdentifierList() : +{ Token t; } +{ + t= + { cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*IdentifierList*/ "; + } + ("," { cSrc += ", "; } t= + { cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*IdentifierList2*/ "; + } + )* +} + +void Initializer() : {} +{ + ( AssignmentExpression() | + "{" { cSrc += "{\n"; } InitializerList() + ["," { cSrc += ", "; } ] "}" { cSrc += "}\n"; } ) +} + +void InitializerList() : {} +{ + Initializer() (LOOKAHEAD(2) "," { cSrc += ", "; } Initializer())* +} + +void TypeName() : {} +{ + SpecifierQualifierList(null) [ AbstractDeclarator() ] +} + +void AbstractDeclarator() : {} +{ + ( LOOKAHEAD(3) Pointer(null) | + [Pointer(null)] DirectAbstractDeclarator() ) +} + +void DirectAbstractDeclarator() : {} +{ + ( LOOKAHEAD(2) + "(" { cSrc += "( "; } AbstractDeclarator() + ")" { cSrc += ") "; } | + "[" { cSrc += "[ "; } [ConstantExpression()] + "]" { cSrc += "] "; } | + "(" { cSrc += "( "; } [ParameterTypeList(null)] + ")" { cSrc += ") "; } ) + ( + "[" { cSrc += "[ "; } [ ConstantExpression() ] + "]" { cSrc += "] "; } | + "(" { cSrc += "( "; } [ ParameterTypeList(null) ] + ")" { cSrc += ") "; } )* +} + +void TypedefName() : +{ Token t; } +{ + t= { cSrc += t.image+" /*TypedefName*/"; } +} + +void Statement() : {} +{ + ( LOOKAHEAD(2) LabeledStatement() | + ExpressionStatement() | + CompoundStatement() | + SelectionStatement() | + IterationStatement() | + JumpStatement() ) +} + +void LabeledStatement() : +{ Token t; } +{ + ( t= + { cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*LabeledStatement*/ "; + } + ":" { cSrc += ": "; } Statement() | + t= { cSrc += t.image+" "; } ConstantExpression() + ":"{ cSrc += ": "; } Statement() | + t= { cSrc += t.image+" "; } + ":"{ cSrc += ": "; } Statement() ) +} + +void ExpressionStatement() : {} +{ + [ Expression() ] ";"{ cSrc += ";\n"; } +} + +void CompoundStatement() : {} +{ + "{" { cSrc += "{\n"; } [ LOOKAHEAD(DeclarationList(null)) DeclarationList(null) ] + [ StatementList() ] + "}"{ cSrc += "}\n"; } +} + +void StatementList() : {} +{ + (Statement())+ +} + +void SelectionStatement() : +{ Token t; } +{ + ( t= { cSrc += t.image+" "; } + "(" { cSrc += "( "; } Expression() + ")" { cSrc += ")\n"; } Statement() [ LOOKAHEAD(2) + t= { cSrc += t.image+" "; } Statement() ] | + t= { cSrc += t.image+" "; } + "(" { cSrc += "( "; } Expression() + ")" { cSrc += ")\n"; } Statement() ) +} + +void IterationStatement() : +{ Token t; } +{ + ( t= { cSrc += t.image+" "; } + "(" { cSrc += "( "; } Expression() + ")" { cSrc += ")\n"; } Statement() | + t= { cSrc += t.image+"\n"; } Statement() + t= { cSrc += t.image+" "; } + "(" { cSrc += "( "; } Expression() + ")" ";" { cSrc += ");\n"; } | + t= { cSrc += t.image+" "; } + "(" { cSrc += "( "; } [ Expression() ] + ";" { cSrc += "; "; } [ Expression() ] + ";" { cSrc += "; "; } [ Expression() ] + ")" { cSrc += ")\n"; } + Statement() ) +} + +void JumpStatement() : +{ Token t; } +{ + ( t= { cSrc += t.image+" "; } + t= + { cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*JumpStat*/ "; + } + ";" { cSrc += ";\n"; } | + t= { cSrc += t.image+" "; } ";" { cSrc += ";\n"; } | + t= { cSrc += t.image+" "; } ";" { cSrc += ";\n"; } | + t= { cSrc += t.image+" "; } + [ Expression() ] ";" { cSrc += ";\n"; } ) +} + +void Expression() : {} +{ + AssignmentExpression() ( "," { cSrc += ", "; } AssignmentExpression() )* +} + +void AssignmentExpression() : {} +{ + LOOKAHEAD(UnaryExpression() AssignmentOperator()) UnaryExpression() AssignmentOperator() AssignmentExpression() | + LOOKAHEAD(3) ConditionalExpression() +} + +void AssignmentOperator() : {} +{ + ( "=" { cSrc += "= "; } | + "*=" { cSrc += "*= "; } | + "/=" { cSrc += "/= "; } | + "%=" { cSrc += "%= "; } | + "+=" { cSrc += "+= "; } | + "-=" { cSrc += "-= "; } | + "<<=" { cSrc += "<<= "; } | + ">>=" { cSrc += ">>= "; } | + "&=" { cSrc += "&= "; } | + "^=" { cSrc += "^= "; } | + "|=" { cSrc += "|= "; } ) +} + +void ConditionalExpression() : {} +{ + LogicalORExpression() + [ "?" { cSrc += "? "; } Expression() ":" { cSrc += ": "; } + ConditionalExpression() ] +} + +void ConstantExpression() : {} +{ + ConditionalExpression() +} + +void LogicalORExpression() : {} +{ + LogicalANDExpression() + [ "||" { cSrc += "|| "; } LogicalORExpression() ] +} + +void LogicalANDExpression() : {} +{ + InclusiveORExpression() + [ "&&" { cSrc += "&& "; } LogicalANDExpression() ] +} + +void InclusiveORExpression() : {} +{ + ExclusiveORExpression() + [ "|" { cSrc += "| "; } InclusiveORExpression() ] +} + +void ExclusiveORExpression() : {} +{ + ANDExpression() + [ "^" { cSrc += "^ "; } ExclusiveORExpression() ] +} + +void ANDExpression() : {} +{ + EqualityExpression() + [ "&" { cSrc += "& "; } ANDExpression() ] +} + +void EqualityExpression() : {} +{ + RelationalExpression() + [ ( "==" { cSrc += "== "; } | "!=" { cSrc += "!= "; } ) + EqualityExpression() ] +} + +void RelationalExpression() : {} +{ + ShiftExpression() + [ ( "<" { cSrc += "< "; } | + ">" { cSrc += "> "; } | + "<=" { cSrc += "<= "; } | + ">=" { cSrc += ">= "; } ) RelationalExpression() ] +} + +void ShiftExpression() : {} +{ + AdditiveExpression() + [ ( "<<" { cSrc += "<< "; } | ">>" { cSrc += ">> "; } ) ShiftExpression() ] +} + +void AdditiveExpression() : {} +{ + MultiplicativeExpression() + [ ( "+" { cSrc += "+ "; } | "-" { cSrc += "- "; } ) AdditiveExpression() ] +} + +void MultiplicativeExpression() : {} +{ + CastExpression() + [ ( "*" { cSrc += "* "; } | + "/" { cSrc += "/ "; } | + "%" { cSrc += "% "; } ) MultiplicativeExpression() ] +} + +void CastExpression() : +{ String help1= new String(); + String help2= new String(); +} +{ + ( LOOKAHEAD( "(" TypeName(help1) ")" CastExpression(help2) ) + { cSrc += "( "+help1+") "+help2; } + "(" { cSrc += "( "; } TypeName() ")" { cSrc += ") "; } CastExpression() | + UnaryExpression() ) +} + +void UnaryExpression() : +{ Token t; } +{ + ( LOOKAHEAD(3) PostfixExpression() | + "++" { cSrc += "++ "; } UnaryExpression() | + "--" { cSrc += "-- "; } UnaryExpression() | + UnaryOperator() CastExpression() | + t= { cSrc += t.image+" "; } + ( LOOKAHEAD(UnaryExpression() ) UnaryExpression() | + "(" { cSrc += "( "; } TypeName() ")" { cSrc += ") "; } ) ) +} + +void UnaryOperator() : {} +{ + ( "&" { cSrc += "& "; } | + "*" { cSrc += "* "; } | + "+" { cSrc += "+ "; } | + "-" { cSrc += "- "; } | + "~" { cSrc += "~ "; } | + "!" { cSrc += "! "; } ) +} + +void PostfixExpression() : +{ Token t; } +{ + PrimaryExpression() + ( "[" { cSrc += "[ "; } Expression() "]" { cSrc += "] "; } | + "(" { cSrc += "( "; } + [ LOOKAHEAD(ArgumentExpressionList() ) ArgumentExpressionList() ] + ")" { cSrc += ") "; } | + "." { cSrc += ". "; } t= { cSrc += t.image+" "; } | + "->" { cSrc += "-> "; } t= { cSrc += t.image+" "; } | + "++" { cSrc += "++ "; } | + "--" { cSrc += "-- "; } )* +} + +void PrimaryExpression() : +{ Token t; } +{ + ( t= + { cSrc += t.image+" "; + if(syntaxVerbose) + cSrc += "/*PrimaryExpr*/ "; + } | + Constant() | + "(" { cSrc += "( "; } Expression() ")" { cSrc += ") "; } ) +} + +void ArgumentExpressionList() : +{ } +{ + AssignmentExpression() + ( "," { cSrc += ", "; } AssignmentExpression() )* +} + +void Constant() : +{ Token t; } +{ + t= { cSrc += t.image+" "; } | + t= { cSrc += t.image+" "; } | + t= { cSrc += t.image+" "; } | + t= { cSrc += t.image+" "; } +} + diff --git a/C2J/C2JConstants.java b/C2J/C2JConstants.java new file mode 100644 index 0000000..7f4c2ca --- /dev/null +++ b/C2J/C2JConstants.java @@ -0,0 +1,188 @@ +/* Generated By:JavaCC: Do not edit this line. C2JConstants.java */ +public interface C2JConstants { + + int EOF = 0; + int INTEGER_LITERAL = 7; + int DECIMAL_LITERAL = 8; + int HEX_LITERAL = 9; + int OCTAL_LITERAL = 10; + int FLOATING_POINT_LITERAL = 11; + int EXPONENT = 12; + int CHARACTER_LITERAL = 13; + int STRING_LITERAL = 14; + int CONTINUE = 15; + int VOLATILE = 16; + int REGISTER = 17; + int UNSIGNED = 18; + int TYPEDEF = 19; + int DFLT = 20; + int DOUBLE = 21; + int SIZEOF = 22; + int SWITCH = 23; + int RETURN = 24; + int EXTERN = 25; + int STRUCT = 26; + int STATIC = 27; + int SIGNED = 28; + int WHILE = 29; + int BREAK = 30; + int UNION = 31; + int CONST = 32; + int FLOAT = 33; + int SHORT = 34; + int ELSE = 35; + int CASE = 36; + int LONG = 37; + int ENUM = 38; + int AUTO = 39; + int VOID = 40; + int CHAR = 41; + int GOTO = 42; + int FOR = 43; + int INT = 44; + int IF = 45; + int DO = 46; + int GLvoid = 47; + int GLbyte = 48; + int GLshort = 49; + int GLint = 50; + int GLsizei = 51; + int GLfloat = 52; + int GLclampf = 53; + int GLdouble = 54; + int GLclampd = 55; + int GLubyte = 56; + int GLboolean = 57; + int GLushort = 58; + int GLuint = 59; + int GLenum = 60; + int GLbitfield = 61; + int GLUquadricObj = 62; + int GLUnurbsObj = 63; + int GLUtesselator = 64; + int GLUtriangulatorObj = 65; + int IDENTIFIER = 66; + int LETTER = 67; + int DIGIT = 68; + + int DEFAULT = 0; + + String[] tokenImage = { + "", + "\" \"", + "\"\\t\"", + "\"\\n\"", + "\"\\r\"", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "\"continue\"", + "\"volatile\"", + "\"register\"", + "\"unsigned\"", + "\"typedef\"", + "\"default\"", + "\"double\"", + "\"sizeof\"", + "\"switch\"", + "\"return\"", + "\"extern\"", + "\"struct\"", + "\"static\"", + "\"signed\"", + "\"while\"", + "\"break\"", + "\"union\"", + "\"const\"", + "\"float\"", + "\"short\"", + "\"else\"", + "\"case\"", + "\"long\"", + "\"enum\"", + "\"auto\"", + "\"void\"", + "\"char\"", + "\"goto\"", + "\"for\"", + "\"int\"", + "\"if\"", + "\"do\"", + "\"GLvoid\"", + "\"GLbyte\"", + "\"GLshort\"", + "\"GLint\"", + "\"GLsizei\"", + "\"GLfloat\"", + "\"GLclampf\"", + "\"GLdouble\"", + "\"GLclampd\"", + "\"GLubyte\"", + "\"GLboolean\"", + "\"GLushort\"", + "\"GLuint\"", + "\"GLenum\"", + "\"GLbitfield\"", + "\"GLUquadricObj\"", + "\"GLUnurbsObj\"", + "\"GLUtesselator\"", + "\"GLUtriangulatorObj\"", + "", + "", + "", + "\";\"", + "\"{\"", + "\"}\"", + "\",\"", + "\"=\"", + "\":\"", + "\"(\"", + "\")\"", + "\"[\"", + "\"]\"", + "\"*\"", + "\"...\"", + "\"*=\"", + "\"/=\"", + "\"%=\"", + "\"+=\"", + "\"-=\"", + "\"<<=\"", + "\">>=\"", + "\"&=\"", + "\"^=\"", + "\"|=\"", + "\"?\"", + "\"||\"", + "\"&&\"", + "\"|\"", + "\"^\"", + "\"&\"", + "\"==\"", + "\"!=\"", + "\"<\"", + "\">\"", + "\"<=\"", + "\">=\"", + "\"<<\"", + "\">>\"", + "\"+\"", + "\"-\"", + "\"/\"", + "\"%\"", + "\"++\"", + "\"--\"", + "\"~\"", + "\"!\"", + "\".\"", + "\"->\"", + }; + +} diff --git a/C2J/C2JTokenManager.java b/C2J/C2JTokenManager.java new file mode 100644 index 0000000..1d8ff29 --- /dev/null +++ b/C2J/C2JTokenManager.java @@ -0,0 +1,1623 @@ +/* Generated By:JavaCC: Do not edit this line. C2JTokenManager.java */ +import java.util.*; + +public class C2JTokenManager implements C2JConstants +{ +private static final int jjStopStringLiteralDfa_0(int pos, long active0, long active1) +{ + switch (pos) + { + case 0: + if ((active1 & 0x2000000010000L) != 0L) + return 4; + if ((active1 & 0x80000040000L) != 0L) + return 49; + if ((active0 & 0xffffffffffff8000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + return 28; + } + return -1; + case 1: + if ((active0 & 0x600000200000L) != 0L) + return 28; + if ((active0 & 0xffff9fffffdf8000L) != 0L || (active1 & 0x3L) != 0L) + { + if (jjmatchedPos != 1) + { + jjmatchedKind = 66; + jjmatchedPos = 1; + } + return 28; + } + return -1; + case 2: + if ((active0 & 0xffff87ffffff8000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 2; + return 28; + } + if ((active0 & 0x180000000000L) != 0L) + return 28; + return -1; + case 3: + if ((active0 & 0x7f800000000L) != 0L) + return 28; + if ((active0 & 0xffff8007ffff8000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 3; + return 28; + } + return -1; + case 4: + if ((active0 & 0x40007e0000000L) != 0L) + return 28; + if ((active0 & 0xfffb80001fff8000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 4; + return 28; + } + return -1; + case 5: + if ((active0 & 0x180180001fe00000L) != 0L) + return 28; + if ((active0 & 0xe7fa0000001f8000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 5; + return 28; + } + return -1; + case 6: + if ((active0 & 0xe6e0000000078000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 6; + return 28; + } + if ((active0 & 0x11a000000180000L) != 0L) + return 28; + return -1; + case 7: + if ((active0 & 0x4e0000000078000L) != 0L) + return 28; + if ((active0 & 0xe200000000000000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 7; + return 28; + } + return -1; + case 8: + if ((active0 & 0x200000000000000L) != 0L) + return 28; + if ((active0 & 0xe000000000000000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 8; + return 28; + } + return -1; + case 9: + if ((active0 & 0xc000000000000000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 9; + return 28; + } + if ((active0 & 0x2000000000000000L) != 0L) + return 28; + return -1; + case 10: + if ((active0 & 0x8000000000000000L) != 0L) + return 28; + if ((active0 & 0x4000000000000000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 10; + return 28; + } + return -1; + case 11: + if ((active0 & 0x4000000000000000L) != 0L || (active1 & 0x3L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 11; + return 28; + } + return -1; + case 12: + if ((active1 & 0x2L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 12; + return 28; + } + if ((active0 & 0x4000000000000000L) != 0L || (active1 & 0x1L) != 0L) + return 28; + return -1; + case 13: + if ((active1 & 0x2L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 13; + return 28; + } + return -1; + case 14: + if ((active1 & 0x2L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 14; + return 28; + } + return -1; + case 15: + if ((active1 & 0x2L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 15; + return 28; + } + return -1; + case 16: + if ((active1 & 0x2L) != 0L) + { + jjmatchedKind = 66; + jjmatchedPos = 16; + return 28; + } + return -1; + default : + return -1; + } +} +private static final int jjStartNfa_0(int pos, long active0, long active1) +{ + return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1); +} +static private final int jjStopAtPos(int pos, int kind) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + return pos + 1; +} +static private final int jjStartNfaWithStates_0(int pos, int kind, int state) +{ + jjmatchedKind = kind; + jjmatchedPos = pos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return pos + 1; } + return jjMoveNfa_0(state, pos + 1); +} +static private final int jjMoveStringLiteralDfa0_0() +{ + switch(curChar) + { + case 33: + jjmatchedKind = 112; + return jjMoveStringLiteralDfa1_0(0x0L, 0x400000000L); + case 37: + jjmatchedKind = 108; + return jjMoveStringLiteralDfa1_0(0x0L, 0x80000L); + case 38: + jjmatchedKind = 96; + return jjMoveStringLiteralDfa1_0(0x0L, 0x21000000L); + case 40: + return jjStopAtPos(0, 75); + case 41: + return jjStopAtPos(0, 76); + case 42: + jjmatchedKind = 79; + return jjMoveStringLiteralDfa1_0(0x0L, 0x20000L); + case 43: + jjmatchedKind = 105; + return jjMoveStringLiteralDfa1_0(0x0L, 0x200000100000L); + case 44: + return jjStopAtPos(0, 72); + case 45: + jjmatchedKind = 106; + return jjMoveStringLiteralDfa1_0(0x0L, 0x4400000200000L); + case 46: + jjmatchedKind = 113; + return jjMoveStringLiteralDfa1_0(0x0L, 0x10000L); + case 47: + jjmatchedKind = 107; + return jjMoveStringLiteralDfa1_0(0x0L, 0x40000L); + case 58: + return jjStopAtPos(0, 74); + case 59: + return jjStopAtPos(0, 69); + case 60: + jjmatchedKind = 99; + return jjMoveStringLiteralDfa1_0(0x0L, 0xa000400000L); + case 61: + jjmatchedKind = 73; + return jjMoveStringLiteralDfa1_0(0x0L, 0x200000000L); + case 62: + jjmatchedKind = 100; + return jjMoveStringLiteralDfa1_0(0x0L, 0x14000800000L); + case 63: + return jjStopAtPos(0, 91); + case 71: + return jjMoveStringLiteralDfa1_0(0xffff800000000000L, 0x3L); + case 91: + return jjStopAtPos(0, 77); + case 93: + return jjStopAtPos(0, 78); + case 94: + jjmatchedKind = 95; + return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000L); + case 97: + return jjMoveStringLiteralDfa1_0(0x8000000000L, 0x0L); + case 98: + return jjMoveStringLiteralDfa1_0(0x40000000L, 0x0L); + case 99: + return jjMoveStringLiteralDfa1_0(0x21100008000L, 0x0L); + case 100: + return jjMoveStringLiteralDfa1_0(0x400000300000L, 0x0L); + case 101: + return jjMoveStringLiteralDfa1_0(0x4802000000L, 0x0L); + case 102: + return jjMoveStringLiteralDfa1_0(0x80200000000L, 0x0L); + case 103: + return jjMoveStringLiteralDfa1_0(0x40000000000L, 0x0L); + case 105: + return jjMoveStringLiteralDfa1_0(0x300000000000L, 0x0L); + case 108: + return jjMoveStringLiteralDfa1_0(0x2000000000L, 0x0L); + case 114: + return jjMoveStringLiteralDfa1_0(0x1020000L, 0x0L); + case 115: + return jjMoveStringLiteralDfa1_0(0x41cc00000L, 0x0L); + case 116: + return jjMoveStringLiteralDfa1_0(0x80000L, 0x0L); + case 117: + return jjMoveStringLiteralDfa1_0(0x80040000L, 0x0L); + case 118: + return jjMoveStringLiteralDfa1_0(0x10000010000L, 0x0L); + case 119: + return jjMoveStringLiteralDfa1_0(0x20000000L, 0x0L); + case 123: + return jjStopAtPos(0, 70); + case 124: + jjmatchedKind = 94; + return jjMoveStringLiteralDfa1_0(0x0L, 0x14000000L); + case 125: + return jjStopAtPos(0, 71); + case 126: + return jjStopAtPos(0, 111); + default : + return jjMoveNfa_0(0, 0); + } +} +static private final int jjMoveStringLiteralDfa1_0(long active0, long active1) +{ + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(0, active0, active1); + return 1; + } + switch(curChar) + { + case 38: + if ((active1 & 0x20000000L) != 0L) + return jjStopAtPos(1, 93); + break; + case 43: + if ((active1 & 0x200000000000L) != 0L) + return jjStopAtPos(1, 109); + break; + case 45: + if ((active1 & 0x400000000000L) != 0L) + return jjStopAtPos(1, 110); + break; + case 46: + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x10000L); + case 60: + if ((active1 & 0x8000000000L) != 0L) + { + jjmatchedKind = 103; + jjmatchedPos = 1; + } + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x400000L); + case 61: + if ((active1 & 0x20000L) != 0L) + return jjStopAtPos(1, 81); + else if ((active1 & 0x40000L) != 0L) + return jjStopAtPos(1, 82); + else if ((active1 & 0x80000L) != 0L) + return jjStopAtPos(1, 83); + else if ((active1 & 0x100000L) != 0L) + return jjStopAtPos(1, 84); + else if ((active1 & 0x200000L) != 0L) + return jjStopAtPos(1, 85); + else if ((active1 & 0x1000000L) != 0L) + return jjStopAtPos(1, 88); + else if ((active1 & 0x2000000L) != 0L) + return jjStopAtPos(1, 89); + else if ((active1 & 0x4000000L) != 0L) + return jjStopAtPos(1, 90); + else if ((active1 & 0x200000000L) != 0L) + return jjStopAtPos(1, 97); + else if ((active1 & 0x400000000L) != 0L) + return jjStopAtPos(1, 98); + else if ((active1 & 0x2000000000L) != 0L) + return jjStopAtPos(1, 101); + else if ((active1 & 0x4000000000L) != 0L) + return jjStopAtPos(1, 102); + break; + case 62: + if ((active1 & 0x10000000000L) != 0L) + { + jjmatchedKind = 104; + jjmatchedPos = 1; + } + else if ((active1 & 0x4000000000000L) != 0L) + return jjStopAtPos(1, 114); + return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x800000L); + case 76: + return jjMoveStringLiteralDfa2_0(active0, 0xffff800000000000L, active1, 0x3L); + case 97: + return jjMoveStringLiteralDfa2_0(active0, 0x1000000000L, active1, 0L); + case 101: + return jjMoveStringLiteralDfa2_0(active0, 0x1120000L, active1, 0L); + case 102: + if ((active0 & 0x200000000000L) != 0L) + return jjStartNfaWithStates_0(1, 45, 28); + break; + case 104: + return jjMoveStringLiteralDfa2_0(active0, 0x20420000000L, active1, 0L); + case 105: + return jjMoveStringLiteralDfa2_0(active0, 0x10400000L, active1, 0L); + case 108: + return jjMoveStringLiteralDfa2_0(active0, 0xa00000000L, active1, 0L); + case 110: + return jjMoveStringLiteralDfa2_0(active0, 0x104080040000L, active1, 0L); + case 111: + if ((active0 & 0x400000000000L) != 0L) + { + jjmatchedKind = 46; + jjmatchedPos = 1; + } + return jjMoveStringLiteralDfa2_0(active0, 0xd2100218000L, active1, 0L); + case 114: + return jjMoveStringLiteralDfa2_0(active0, 0x40000000L, active1, 0L); + case 116: + return jjMoveStringLiteralDfa2_0(active0, 0xc000000L, active1, 0L); + case 117: + return jjMoveStringLiteralDfa2_0(active0, 0x8000000000L, active1, 0L); + case 119: + return jjMoveStringLiteralDfa2_0(active0, 0x800000L, active1, 0L); + case 120: + return jjMoveStringLiteralDfa2_0(active0, 0x2000000L, active1, 0L); + case 121: + return jjMoveStringLiteralDfa2_0(active0, 0x80000L, active1, 0L); + case 124: + if ((active1 & 0x10000000L) != 0L) + return jjStopAtPos(1, 92); + break; + default : + break; + } + return jjStartNfa_0(0, active0, active1); +} +static private final int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(0, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(1, active0, active1); + return 2; + } + switch(curChar) + { + case 46: + if ((active1 & 0x10000L) != 0L) + return jjStopAtPos(2, 80); + break; + case 61: + if ((active1 & 0x400000L) != 0L) + return jjStopAtPos(2, 86); + else if ((active1 & 0x800000L) != 0L) + return jjStopAtPos(2, 87); + break; + case 85: + return jjMoveStringLiteralDfa3_0(active0, 0xc000000000000000L, active1, 0x3L); + case 97: + return jjMoveStringLiteralDfa3_0(active0, 0x20008000000L, active1, 0L); + case 98: + return jjMoveStringLiteralDfa3_0(active0, 0x2201000000000000L, active1, 0L); + case 99: + return jjMoveStringLiteralDfa3_0(active0, 0xa0000000000000L, active1, 0L); + case 100: + return jjMoveStringLiteralDfa3_0(active0, 0x40000000000000L, active1, 0L); + case 101: + return jjMoveStringLiteralDfa3_0(active0, 0x1000000040000000L, active1, 0L); + case 102: + return jjMoveStringLiteralDfa3_0(active0, 0x10000000100000L, active1, 0L); + case 103: + return jjMoveStringLiteralDfa3_0(active0, 0x10020000L, active1, 0L); + case 105: + return jjMoveStringLiteralDfa3_0(active0, 0x40100a0800000L, active1, 0L); + case 108: + return jjMoveStringLiteralDfa3_0(active0, 0x10000L, active1, 0L); + case 110: + return jjMoveStringLiteralDfa3_0(active0, 0x2100008000L, active1, 0L); + case 111: + return jjMoveStringLiteralDfa3_0(active0, 0x600000000L, active1, 0L); + case 112: + return jjMoveStringLiteralDfa3_0(active0, 0x80000L, active1, 0L); + case 114: + if ((active0 & 0x80000000000L) != 0L) + return jjStartNfaWithStates_0(2, 43, 28); + return jjMoveStringLiteralDfa3_0(active0, 0x4000000L, active1, 0L); + case 115: + return jjMoveStringLiteralDfa3_0(active0, 0xa001800040000L, active1, 0L); + case 116: + if ((active0 & 0x100000000000L) != 0L) + return jjStartNfaWithStates_0(2, 44, 28); + return jjMoveStringLiteralDfa3_0(active0, 0x48003000000L, active1, 0L); + case 117: + return jjMoveStringLiteralDfa3_0(active0, 0xd00004000200000L, active1, 0L); + case 118: + return jjMoveStringLiteralDfa3_0(active0, 0x800000000000L, active1, 0L); + case 122: + return jjMoveStringLiteralDfa3_0(active0, 0x400000L, active1, 0L); + default : + break; + } + return jjStartNfa_0(1, active0, active1); +} +static private final int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(1, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(2, active0, active1); + return 3; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa4_0(active0, 0x240110000L, active1, 0L); + case 98: + return jjMoveStringLiteralDfa4_0(active0, 0x100000000200000L, active1, 0L); + case 100: + if ((active0 & 0x10000000000L) != 0L) + return jjStartNfaWithStates_0(3, 40, 28); + break; + case 101: + if ((active0 & 0x800000000L) != 0L) + return jjStartNfaWithStates_0(3, 35, 28); + else if ((active0 & 0x1000000000L) != 0L) + return jjStartNfaWithStates_0(3, 36, 28); + return jjMoveStringLiteralDfa4_0(active0, 0x2480000L, active1, 0L); + case 103: + if ((active0 & 0x2000000000L) != 0L) + return jjStartNfaWithStates_0(3, 37, 28); + break; + case 104: + return jjMoveStringLiteralDfa4_0(active0, 0x2000000000000L, active1, 0L); + case 105: + return jjMoveStringLiteralDfa4_0(active0, 0x2808000000060000L, active1, 0L); + case 108: + return jjMoveStringLiteralDfa4_0(active0, 0xb0000020000000L, active1, 0L); + case 109: + if ((active0 & 0x4000000000L) != 0L) + return jjStartNfaWithStates_0(3, 38, 28); + break; + case 110: + return jjMoveStringLiteralDfa4_0(active0, 0x9004000010000000L, active1, 0L); + case 111: + if ((active0 & 0x8000000000L) != 0L) + return jjStartNfaWithStates_0(3, 39, 28); + else if ((active0 & 0x40000000000L) != 0L) + return jjStartNfaWithStates_0(3, 42, 28); + return jjMoveStringLiteralDfa4_0(active0, 0x240800080000000L, active1, 0L); + case 113: + return jjMoveStringLiteralDfa4_0(active0, 0x4000000000000000L, active1, 0L); + case 114: + if ((active0 & 0x20000000000L) != 0L) + return jjStartNfaWithStates_0(3, 41, 28); + return jjMoveStringLiteralDfa4_0(active0, 0x400000000L, active1, 0L); + case 115: + return jjMoveStringLiteralDfa4_0(active0, 0x400000100000000L, active1, 0L); + case 116: + return jjMoveStringLiteralDfa4_0(active0, 0x8808000L, active1, 0x3L); + case 117: + return jjMoveStringLiteralDfa4_0(active0, 0x5000000L, active1, 0L); + case 121: + return jjMoveStringLiteralDfa4_0(active0, 0x1000000000000L, active1, 0L); + default : + break; + } + return jjStartNfa_0(2, active0, active1); +} +static private final int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(2, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(3, active0, active1); + return 4; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa5_0(active0, 0xa0000000000000L, active1, 0L); + case 99: + return jjMoveStringLiteralDfa5_0(active0, 0x4800000L, active1, 0L); + case 100: + return jjMoveStringLiteralDfa5_0(active0, 0x80000L, active1, 0L); + case 101: + if ((active0 & 0x20000000L) != 0L) + return jjStartNfaWithStates_0(4, 29, 28); + return jjMoveStringLiteralDfa5_0(active0, 0x10000000L, active1, 0x1L); + case 103: + return jjMoveStringLiteralDfa5_0(active0, 0x40000L, active1, 0L); + case 104: + return jjMoveStringLiteralDfa5_0(active0, 0x400000000000000L, active1, 0L); + case 105: + return jjMoveStringLiteralDfa5_0(active0, 0x800008008000L, active1, 0L); + case 107: + if ((active0 & 0x40000000L) != 0L) + return jjStartNfaWithStates_0(4, 30, 28); + break; + case 108: + return jjMoveStringLiteralDfa5_0(active0, 0x200000L, active1, 0L); + case 110: + if ((active0 & 0x80000000L) != 0L) + return jjStartNfaWithStates_0(4, 31, 28); + return jjMoveStringLiteralDfa5_0(active0, 0x800000000000000L, active1, 0L); + case 111: + return jjMoveStringLiteralDfa5_0(active0, 0x212000000400000L, active1, 0L); + case 114: + return jjMoveStringLiteralDfa5_0(active0, 0x3000000L, active1, 0x2L); + case 115: + return jjMoveStringLiteralDfa5_0(active0, 0x20000L, active1, 0L); + case 116: + if ((active0 & 0x100000000L) != 0L) + return jjStartNfaWithStates_0(4, 32, 28); + else if ((active0 & 0x200000000L) != 0L) + return jjStartNfaWithStates_0(4, 33, 28); + else if ((active0 & 0x400000000L) != 0L) + return jjStartNfaWithStates_0(4, 34, 28); + else if ((active0 & 0x4000000000000L) != 0L) + return jjStartNfaWithStates_0(4, 50, 28); + return jjMoveStringLiteralDfa5_0(active0, 0x2001000000010000L, active1, 0L); + case 117: + return jjMoveStringLiteralDfa5_0(active0, 0xd040000000100000L, active1, 0L); + case 121: + return jjMoveStringLiteralDfa5_0(active0, 0x100000000000000L, active1, 0L); + case 122: + return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000L, active1, 0L); + default : + break; + } + return jjStartNfa_0(3, active0, active1); +} +static private final int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(3, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(4, active0, active1); + return 5; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa6_0(active0, 0x4010000000000000L, active1, 0L); + case 98: + return jjMoveStringLiteralDfa6_0(active0, 0x40000000000000L, active1, 0L); + case 99: + if ((active0 & 0x8000000L) != 0L) + return jjStartNfaWithStates_0(5, 27, 28); + break; + case 100: + if ((active0 & 0x10000000L) != 0L) + return jjStartNfaWithStates_0(5, 28, 28); + else if ((active0 & 0x800000000000L) != 0L) + return jjStartNfaWithStates_0(5, 47, 28); + break; + case 101: + if ((active0 & 0x200000L) != 0L) + return jjStartNfaWithStates_0(5, 21, 28); + else if ((active0 & 0x1000000000000L) != 0L) + return jjStartNfaWithStates_0(5, 48, 28); + return jjMoveStringLiteralDfa6_0(active0, 0x8000000080000L, active1, 0L); + case 102: + if ((active0 & 0x400000L) != 0L) + return jjStartNfaWithStates_0(5, 22, 28); + return jjMoveStringLiteralDfa6_0(active0, 0x2000000000000000L, active1, 0L); + case 104: + if ((active0 & 0x800000L) != 0L) + return jjStartNfaWithStates_0(5, 23, 28); + break; + case 105: + return jjMoveStringLiteralDfa6_0(active0, 0x10000L, active1, 0x2L); + case 108: + return jjMoveStringLiteralDfa6_0(active0, 0x200000000100000L, active1, 0L); + case 109: + if ((active0 & 0x1000000000000000L) != 0L) + return jjStartNfaWithStates_0(5, 60, 28); + return jjMoveStringLiteralDfa6_0(active0, 0xa0000000000000L, active1, 0L); + case 110: + if ((active0 & 0x1000000L) != 0L) + return jjStartNfaWithStates_0(5, 24, 28); + else if ((active0 & 0x2000000L) != 0L) + return jjStartNfaWithStates_0(5, 25, 28); + return jjMoveStringLiteralDfa6_0(active0, 0x48000L, active1, 0L); + case 111: + return jjMoveStringLiteralDfa6_0(active0, 0x400000000000000L, active1, 0L); + case 114: + return jjMoveStringLiteralDfa6_0(active0, 0x8002000000000000L, active1, 0L); + case 115: + return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x1L); + case 116: + if ((active0 & 0x4000000L) != 0L) + return jjStartNfaWithStates_0(5, 26, 28); + else if ((active0 & 0x800000000000000L) != 0L) + return jjStartNfaWithStates_0(5, 59, 28); + return jjMoveStringLiteralDfa6_0(active0, 0x100000000020000L, active1, 0L); + default : + break; + } + return jjStartNfa_0(4, active0, active1); +} +static private final int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(4, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(5, active0, active1); + return 6; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x2L); + case 98: + return jjMoveStringLiteralDfa7_0(active0, 0x8000000000000000L, active1, 0L); + case 100: + return jjMoveStringLiteralDfa7_0(active0, 0x4000000000000000L, active1, 0L); + case 101: + if ((active0 & 0x100000000000000L) != 0L) + return jjStartNfaWithStates_0(6, 56, 28); + return jjMoveStringLiteralDfa7_0(active0, 0x200000000060000L, active1, 0L); + case 102: + if ((active0 & 0x80000L) != 0L) + return jjStartNfaWithStates_0(6, 19, 28); + break; + case 105: + if ((active0 & 0x8000000000000L) != 0L) + return jjStartNfaWithStates_0(6, 51, 28); + return jjMoveStringLiteralDfa7_0(active0, 0x2000000000000000L, active1, 0L); + case 108: + return jjMoveStringLiteralDfa7_0(active0, 0x40000000010000L, active1, 0L); + case 112: + return jjMoveStringLiteralDfa7_0(active0, 0xa0000000000000L, active1, 0L); + case 114: + return jjMoveStringLiteralDfa7_0(active0, 0x400000000000000L, active1, 0L); + case 115: + return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x1L); + case 116: + if ((active0 & 0x100000L) != 0L) + return jjStartNfaWithStates_0(6, 20, 28); + else if ((active0 & 0x2000000000000L) != 0L) + return jjStartNfaWithStates_0(6, 49, 28); + else if ((active0 & 0x10000000000000L) != 0L) + return jjStartNfaWithStates_0(6, 52, 28); + break; + case 117: + return jjMoveStringLiteralDfa7_0(active0, 0x8000L, active1, 0L); + default : + break; + } + return jjStartNfa_0(5, active0, active1); +} +static private final int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(5, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(6, active0, active1); + return 7; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa8_0(active0, 0x200000000000000L, active1, 0L); + case 100: + if ((active0 & 0x40000L) != 0L) + return jjStartNfaWithStates_0(7, 18, 28); + else if ((active0 & 0x80000000000000L) != 0L) + return jjStartNfaWithStates_0(7, 55, 28); + break; + case 101: + if ((active0 & 0x8000L) != 0L) + return jjStartNfaWithStates_0(7, 15, 28); + else if ((active0 & 0x10000L) != 0L) + return jjStartNfaWithStates_0(7, 16, 28); + else if ((active0 & 0x40000000000000L) != 0L) + return jjStartNfaWithStates_0(7, 54, 28); + return jjMoveStringLiteralDfa8_0(active0, 0x2000000000000000L, active1, 0x1L); + case 102: + if ((active0 & 0x20000000000000L) != 0L) + return jjStartNfaWithStates_0(7, 53, 28); + break; + case 110: + return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x2L); + case 114: + if ((active0 & 0x20000L) != 0L) + return jjStartNfaWithStates_0(7, 17, 28); + return jjMoveStringLiteralDfa8_0(active0, 0x4000000000000000L, active1, 0L); + case 115: + return jjMoveStringLiteralDfa8_0(active0, 0x8000000000000000L, active1, 0L); + case 116: + if ((active0 & 0x400000000000000L) != 0L) + return jjStartNfaWithStates_0(7, 58, 28); + break; + default : + break; + } + return jjStartNfa_0(6, active0, active1); +} +static private final int jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(6, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(7, active0, active1); + return 8; + } + switch(curChar) + { + case 79: + return jjMoveStringLiteralDfa9_0(active0, 0x8000000000000000L, active1, 0L); + case 103: + return jjMoveStringLiteralDfa9_0(active0, 0L, active1, 0x2L); + case 105: + return jjMoveStringLiteralDfa9_0(active0, 0x4000000000000000L, active1, 0L); + case 108: + return jjMoveStringLiteralDfa9_0(active0, 0x2000000000000000L, active1, 0x1L); + case 110: + if ((active0 & 0x200000000000000L) != 0L) + return jjStartNfaWithStates_0(8, 57, 28); + break; + default : + break; + } + return jjStartNfa_0(7, active0, active1); +} +static private final int jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(7, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(8, active0, active1); + return 9; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa10_0(active0, 0L, active1, 0x1L); + case 98: + return jjMoveStringLiteralDfa10_0(active0, 0x8000000000000000L, active1, 0L); + case 99: + return jjMoveStringLiteralDfa10_0(active0, 0x4000000000000000L, active1, 0L); + case 100: + if ((active0 & 0x2000000000000000L) != 0L) + return jjStartNfaWithStates_0(9, 61, 28); + break; + case 117: + return jjMoveStringLiteralDfa10_0(active0, 0L, active1, 0x2L); + default : + break; + } + return jjStartNfa_0(8, active0, active1); +} +static private final int jjMoveStringLiteralDfa10_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(8, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(9, active0, active1); + return 10; + } + switch(curChar) + { + case 79: + return jjMoveStringLiteralDfa11_0(active0, 0x4000000000000000L, active1, 0L); + case 106: + if ((active0 & 0x8000000000000000L) != 0L) + return jjStartNfaWithStates_0(10, 63, 28); + break; + case 108: + return jjMoveStringLiteralDfa11_0(active0, 0L, active1, 0x2L); + case 116: + return jjMoveStringLiteralDfa11_0(active0, 0L, active1, 0x1L); + default : + break; + } + return jjStartNfa_0(9, active0, active1); +} +static private final int jjMoveStringLiteralDfa11_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(9, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(10, active0, active1); + return 11; + } + switch(curChar) + { + case 97: + return jjMoveStringLiteralDfa12_0(active0, 0L, active1, 0x2L); + case 98: + return jjMoveStringLiteralDfa12_0(active0, 0x4000000000000000L, active1, 0L); + case 111: + return jjMoveStringLiteralDfa12_0(active0, 0L, active1, 0x1L); + default : + break; + } + return jjStartNfa_0(10, active0, active1); +} +static private final int jjMoveStringLiteralDfa12_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(10, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(11, active0, active1); + return 12; + } + switch(curChar) + { + case 106: + if ((active0 & 0x4000000000000000L) != 0L) + return jjStartNfaWithStates_0(12, 62, 28); + break; + case 114: + if ((active1 & 0x1L) != 0L) + return jjStartNfaWithStates_0(12, 64, 28); + break; + case 116: + return jjMoveStringLiteralDfa13_0(active0, 0L, active1, 0x2L); + default : + break; + } + return jjStartNfa_0(11, active0, active1); +} +static private final int jjMoveStringLiteralDfa13_0(long old0, long active0, long old1, long active1) +{ + if (((active0 &= old0) | (active1 &= old1)) == 0L) + return jjStartNfa_0(11, old0, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(12, 0L, active1); + return 13; + } + switch(curChar) + { + case 111: + return jjMoveStringLiteralDfa14_0(active1, 0x2L); + default : + break; + } + return jjStartNfa_0(12, 0L, active1); +} +static private final int jjMoveStringLiteralDfa14_0(long old1, long active1) +{ + if (((active1 &= old1)) == 0L) + return jjStartNfa_0(12, 0L, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(13, 0L, active1); + return 14; + } + switch(curChar) + { + case 114: + return jjMoveStringLiteralDfa15_0(active1, 0x2L); + default : + break; + } + return jjStartNfa_0(13, 0L, active1); +} +static private final int jjMoveStringLiteralDfa15_0(long old1, long active1) +{ + if (((active1 &= old1)) == 0L) + return jjStartNfa_0(13, 0L, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(14, 0L, active1); + return 15; + } + switch(curChar) + { + case 79: + return jjMoveStringLiteralDfa16_0(active1, 0x2L); + default : + break; + } + return jjStartNfa_0(14, 0L, active1); +} +static private final int jjMoveStringLiteralDfa16_0(long old1, long active1) +{ + if (((active1 &= old1)) == 0L) + return jjStartNfa_0(14, 0L, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(15, 0L, active1); + return 16; + } + switch(curChar) + { + case 98: + return jjMoveStringLiteralDfa17_0(active1, 0x2L); + default : + break; + } + return jjStartNfa_0(15, 0L, active1); +} +static private final int jjMoveStringLiteralDfa17_0(long old1, long active1) +{ + if (((active1 &= old1)) == 0L) + return jjStartNfa_0(15, 0L, old1); + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { + jjStopStringLiteralDfa_0(16, 0L, active1); + return 17; + } + switch(curChar) + { + case 106: + if ((active1 & 0x2L) != 0L) + return jjStartNfaWithStates_0(17, 65, 28); + break; + default : + break; + } + return jjStartNfa_0(16, 0L, active1); +} +static private final void jjCheckNAdd(int state) +{ + if (jjrounds[state] != jjround) + { + jjstateSet[jjnewStateCnt++] = state; + jjrounds[state] = jjround; + } +} +static private final void jjAddStates(int start, int end) +{ + do { + jjstateSet[jjnewStateCnt++] = jjnextStates[start]; + } while (start++ != end); +} +static private final void jjCheckNAddTwoStates(int state1, int state2) +{ + jjCheckNAdd(state1); + jjCheckNAdd(state2); +} +static private final void jjCheckNAddStates(int start, int end) +{ + do { + jjCheckNAdd(jjnextStates[start]); + } while (start++ != end); +} +static private final void jjCheckNAddStates(int start) +{ + jjCheckNAdd(jjnextStates[start]); + jjCheckNAdd(jjnextStates[start + 1]); +} +static final long[] jjbitVec0 = { + 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL +}; +static private final int jjMoveNfa_0(int startState, int curPos) +{ + int[] nextStates; + int startsAt = 0; + jjnewStateCnt = 60; + int i = 1; + jjstateSet[0] = startState; + int j, kind = 0x7fffffff; + for (;;) + { + if (++jjround == 0x7fffffff) + ReInitRounds(); + if (curChar < 64) + { + long l = 1L << curChar; + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 49: + if (curChar == 42) + jjCheckNAddTwoStates(55, 56); + else if (curChar == 47) + jjCheckNAddStates(0, 2); + break; + case 0: + if ((0x3ff000000000000L & l) != 0L) + jjCheckNAddStates(3, 9); + else if (curChar == 47) + jjAddStates(10, 11); + else if (curChar == 36) + { + if (kind > 66) + kind = 66; + jjCheckNAdd(28); + } + else if (curChar == 34) + jjCheckNAddStates(12, 14); + else if (curChar == 39) + jjAddStates(15, 16); + else if (curChar == 46) + jjCheckNAdd(4); + if ((0x3fe000000000000L & l) != 0L) + { + if (kind > 7) + kind = 7; + jjCheckNAddTwoStates(1, 2); + } + else if (curChar == 48) + { + if (kind > 7) + kind = 7; + jjCheckNAddStates(17, 19); + } + break; + case 1: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 7) + kind = 7; + jjCheckNAddTwoStates(1, 2); + break; + case 3: + if (curChar == 46) + jjCheckNAdd(4); + break; + case 4: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 11) + kind = 11; + jjCheckNAddStates(20, 22); + break; + case 6: + if ((0x280000000000L & l) != 0L) + jjCheckNAdd(7); + break; + case 7: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 11) + kind = 11; + jjCheckNAddTwoStates(7, 8); + break; + case 9: + if (curChar == 39) + jjAddStates(15, 16); + break; + case 10: + if ((0xffffff7fffffdbffL & l) != 0L) + jjCheckNAdd(11); + break; + case 11: + if (curChar == 39 && kind > 13) + kind = 13; + break; + case 13: + if ((0x8400000000L & l) != 0L) + jjCheckNAdd(11); + break; + case 14: + if ((0xff000000000000L & l) != 0L) + jjCheckNAddTwoStates(15, 11); + break; + case 15: + if ((0xff000000000000L & l) != 0L) + jjCheckNAdd(11); + break; + case 16: + if ((0xf000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 17; + break; + case 17: + if ((0xff000000000000L & l) != 0L) + jjCheckNAdd(15); + break; + case 18: + if (curChar == 34) + jjCheckNAddStates(12, 14); + break; + case 19: + if ((0xfffffffbffffdbffL & l) != 0L) + jjCheckNAddStates(12, 14); + break; + case 21: + if ((0x8400000000L & l) != 0L) + jjCheckNAddStates(12, 14); + break; + case 22: + if (curChar == 34 && kind > 14) + kind = 14; + break; + case 23: + if ((0xff000000000000L & l) != 0L) + jjCheckNAddStates(23, 26); + break; + case 24: + if ((0xff000000000000L & l) != 0L) + jjCheckNAddStates(12, 14); + break; + case 25: + if ((0xf000000000000L & l) != 0L) + jjstateSet[jjnewStateCnt++] = 26; + break; + case 26: + if ((0xff000000000000L & l) != 0L) + jjCheckNAdd(24); + break; + case 27: + if (curChar != 36) + break; + if (kind > 66) + kind = 66; + jjCheckNAdd(28); + break; + case 28: + if ((0x3ff001000000000L & l) == 0L) + break; + if (kind > 66) + kind = 66; + jjCheckNAdd(28); + break; + case 29: + if ((0x3ff000000000000L & l) != 0L) + jjCheckNAddStates(3, 9); + break; + case 30: + if ((0x3ff000000000000L & l) != 0L) + jjCheckNAddTwoStates(30, 31); + break; + case 31: + if (curChar != 46) + break; + if (kind > 11) + kind = 11; + jjCheckNAddStates(27, 29); + break; + case 32: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 11) + kind = 11; + jjCheckNAddStates(27, 29); + break; + case 34: + if ((0x280000000000L & l) != 0L) + jjCheckNAdd(35); + break; + case 35: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 11) + kind = 11; + jjCheckNAddTwoStates(35, 8); + break; + case 36: + if ((0x3ff000000000000L & l) != 0L) + jjCheckNAddTwoStates(36, 37); + break; + case 38: + if ((0x280000000000L & l) != 0L) + jjCheckNAdd(39); + break; + case 39: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 11) + kind = 11; + jjCheckNAddTwoStates(39, 8); + break; + case 40: + if ((0x3ff000000000000L & l) != 0L) + jjCheckNAddStates(30, 32); + break; + case 42: + if ((0x280000000000L & l) != 0L) + jjCheckNAdd(43); + break; + case 43: + if ((0x3ff000000000000L & l) != 0L) + jjCheckNAddTwoStates(43, 8); + break; + case 44: + if (curChar != 48) + break; + if (kind > 7) + kind = 7; + jjCheckNAddStates(17, 19); + break; + case 46: + if ((0x3ff000000000000L & l) == 0L) + break; + if (kind > 7) + kind = 7; + jjCheckNAddTwoStates(46, 2); + break; + case 47: + if ((0xff000000000000L & l) == 0L) + break; + if (kind > 7) + kind = 7; + jjCheckNAddTwoStates(47, 2); + break; + case 48: + if (curChar == 47) + jjAddStates(10, 11); + break; + case 50: + if ((0xffffffffffffdbffL & l) != 0L) + jjCheckNAddStates(0, 2); + break; + case 51: + if ((0x2400L & l) != 0L && kind > 5) + kind = 5; + break; + case 52: + if (curChar == 10 && kind > 5) + kind = 5; + break; + case 53: + if (curChar == 13) + jjstateSet[jjnewStateCnt++] = 52; + break; + case 54: + if (curChar == 42) + jjCheckNAddTwoStates(55, 56); + break; + case 55: + if ((0xfffffbffffffffffL & l) != 0L) + jjCheckNAddTwoStates(55, 56); + break; + case 56: + if (curChar == 42) + jjCheckNAddStates(33, 35); + break; + case 57: + if ((0xffff7bffffffffffL & l) != 0L) + jjCheckNAddTwoStates(58, 56); + break; + case 58: + if ((0xfffffbffffffffffL & l) != 0L) + jjCheckNAddTwoStates(58, 56); + break; + case 59: + if (curChar == 47 && kind > 6) + kind = 6; + break; + default : break; + } + } while(i != startsAt); + } + else if (curChar < 128) + { + long l = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 0: + case 28: + if ((0x7fffffe87fffffeL & l) == 0L) + break; + if (kind > 66) + kind = 66; + jjCheckNAdd(28); + break; + case 2: + if ((0x100000001000L & l) != 0L && kind > 7) + kind = 7; + break; + case 5: + if ((0x2000000020L & l) != 0L) + jjAddStates(36, 37); + break; + case 8: + if ((0x5000000050L & l) != 0L && kind > 11) + kind = 11; + break; + case 10: + if ((0xffffffffefffffffL & l) != 0L) + jjCheckNAdd(11); + break; + case 12: + if (curChar == 92) + jjAddStates(38, 40); + break; + case 13: + if ((0x14404410000000L & l) != 0L) + jjCheckNAdd(11); + break; + case 19: + if ((0xffffffffefffffffL & l) != 0L) + jjCheckNAddStates(12, 14); + break; + case 20: + if (curChar == 92) + jjAddStates(41, 43); + break; + case 21: + if ((0x14404410000000L & l) != 0L) + jjCheckNAddStates(12, 14); + break; + case 33: + if ((0x2000000020L & l) != 0L) + jjAddStates(44, 45); + break; + case 37: + if ((0x2000000020L & l) != 0L) + jjAddStates(46, 47); + break; + case 41: + if ((0x2000000020L & l) != 0L) + jjAddStates(48, 49); + break; + case 45: + if ((0x100000001000000L & l) != 0L) + jjCheckNAdd(46); + break; + case 46: + if ((0x7e0000007eL & l) == 0L) + break; + if (kind > 7) + kind = 7; + jjCheckNAddTwoStates(46, 2); + break; + case 50: + jjAddStates(0, 2); + break; + case 55: + jjCheckNAddTwoStates(55, 56); + break; + case 57: + case 58: + jjCheckNAddTwoStates(58, 56); + break; + default : break; + } + } while(i != startsAt); + } + else + { + int i2 = (curChar & 0xff) >> 6; + long l2 = 1L << (curChar & 077); + MatchLoop: do + { + switch(jjstateSet[--i]) + { + case 10: + if ((jjbitVec0[i2] & l2) != 0L) + jjstateSet[jjnewStateCnt++] = 11; + break; + case 19: + if ((jjbitVec0[i2] & l2) != 0L) + jjAddStates(12, 14); + break; + case 50: + if ((jjbitVec0[i2] & l2) != 0L) + jjAddStates(0, 2); + break; + case 55: + if ((jjbitVec0[i2] & l2) != 0L) + jjCheckNAddTwoStates(55, 56); + break; + case 57: + case 58: + if ((jjbitVec0[i2] & l2) != 0L) + jjCheckNAddTwoStates(58, 56); + break; + default : break; + } + } while(i != startsAt); + } + if (kind != 0x7fffffff) + { + jjmatchedKind = kind; + jjmatchedPos = curPos; + kind = 0x7fffffff; + } + ++curPos; + if ((i = jjnewStateCnt) == (startsAt = 60 - (jjnewStateCnt = startsAt))) + return curPos; + try { curChar = input_stream.readChar(); } + catch(java.io.IOException e) { return curPos; } + } +} +static final int[] jjnextStates = { + 50, 51, 53, 30, 31, 36, 37, 40, 41, 8, 49, 54, 19, 20, 22, 10, + 12, 45, 47, 2, 4, 5, 8, 19, 20, 24, 22, 32, 33, 8, 40, 41, + 8, 56, 57, 59, 6, 7, 13, 14, 16, 21, 23, 25, 34, 35, 38, 39, + 42, 43, +}; +public static final String[] jjstrLiteralImages = { +"", null, null, null, null, null, null, null, null, null, null, null, null, +null, null, "\143\157\156\164\151\156\165\145", "\166\157\154\141\164\151\154\145", +"\162\145\147\151\163\164\145\162", "\165\156\163\151\147\156\145\144", "\164\171\160\145\144\145\146", +"\144\145\146\141\165\154\164", "\144\157\165\142\154\145", "\163\151\172\145\157\146", +"\163\167\151\164\143\150", "\162\145\164\165\162\156", "\145\170\164\145\162\156", +"\163\164\162\165\143\164", "\163\164\141\164\151\143", "\163\151\147\156\145\144", +"\167\150\151\154\145", "\142\162\145\141\153", "\165\156\151\157\156", "\143\157\156\163\164", +"\146\154\157\141\164", "\163\150\157\162\164", "\145\154\163\145", "\143\141\163\145", +"\154\157\156\147", "\145\156\165\155", "\141\165\164\157", "\166\157\151\144", +"\143\150\141\162", "\147\157\164\157", "\146\157\162", "\151\156\164", "\151\146", "\144\157", +"\107\114\166\157\151\144", "\107\114\142\171\164\145", "\107\114\163\150\157\162\164", +"\107\114\151\156\164", "\107\114\163\151\172\145\151", "\107\114\146\154\157\141\164", +"\107\114\143\154\141\155\160\146", "\107\114\144\157\165\142\154\145", "\107\114\143\154\141\155\160\144", +"\107\114\165\142\171\164\145", "\107\114\142\157\157\154\145\141\156", "\107\114\165\163\150\157\162\164", +"\107\114\165\151\156\164", "\107\114\145\156\165\155", "\107\114\142\151\164\146\151\145\154\144", +"\107\114\125\161\165\141\144\162\151\143\117\142\152", "\107\114\125\156\165\162\142\163\117\142\152", +"\107\114\125\164\145\163\163\145\154\141\164\157\162", "\107\114\125\164\162\151\141\156\147\165\154\141\164\157\162\117\142\152", +null, null, null, "\73", "\173", "\175", "\54", "\75", "\72", "\50", "\51", "\133", +"\135", "\52", "\56\56\56", "\52\75", "\57\75", "\45\75", "\53\75", "\55\75", +"\74\74\75", "\76\76\75", "\46\75", "\136\75", "\174\75", "\77", "\174\174", "\46\46", +"\174", "\136", "\46", "\75\75", "\41\75", "\74", "\76", "\74\75", "\76\75", "\74\74", +"\76\76", "\53", "\55", "\57", "\45", "\53\53", "\55\55", "\176", "\41", "\56", +"\55\76", }; +public static final String[] lexStateNames = { + "DEFAULT", +}; +static final long[] jjtoToken = { + 0xffffffffffffe881L, 0x7ffffffffffe7L, +}; +static final long[] jjtoSkip = { + 0x7eL, 0x0L, +}; +static private ASCII_CharStream input_stream; +static private final int[] jjrounds = new int[60]; +static private final int[] jjstateSet = new int[120]; +static protected char curChar; +public C2JTokenManager(ASCII_CharStream stream) +{ + if (input_stream != null) + throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR); + input_stream = stream; +} +public C2JTokenManager(ASCII_CharStream stream, int lexState) +{ + this(stream); + SwitchTo(lexState); +} +static public void ReInit(ASCII_CharStream stream) +{ + jjmatchedPos = jjnewStateCnt = 0; + curLexState = defaultLexState; + input_stream = stream; + ReInitRounds(); +} +static private final void ReInitRounds() +{ + int i; + jjround = 0x80000001; + for (i = 60; i-- > 0;) + jjrounds[i] = 0x80000000; +} +static public void ReInit(ASCII_CharStream stream, int lexState) +{ + ReInit(stream); + SwitchTo(lexState); +} +static public void SwitchTo(int lexState) +{ + if (lexState >= 1 || lexState < 0) + throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); + else + curLexState = lexState; +} + +static private final Token jjFillToken() +{ + Token t = Token.newToken(jjmatchedKind); + t.kind = jjmatchedKind; + String im = jjstrLiteralImages[jjmatchedKind]; + t.image = (im == null) ? input_stream.GetImage() : im; + t.beginLine = input_stream.getBeginLine(); + t.beginColumn = input_stream.getBeginColumn(); + t.endLine = input_stream.getEndLine(); + t.endColumn = input_stream.getEndColumn(); + return t; +} + +static int curLexState = 0; +static int defaultLexState = 0; +static int jjnewStateCnt; +static int jjround; +static int jjmatchedPos; +static int jjmatchedKind; + +public static final Token getNextToken() +{ + int kind; + Token specialToken = null; + Token matchedToken; + int curPos = 0; + + EOFLoop : + for (;;) + { + try + { + curChar = input_stream.BeginToken(); + } + catch(java.io.IOException e) + { + jjmatchedKind = 0; + matchedToken = jjFillToken(); + return matchedToken; + } + + try { input_stream.backup(0); + while (curChar <= 32 && (0x100002600L & (1L << curChar)) != 0L) + curChar = input_stream.BeginToken(); + } + catch (java.io.IOException e1) { continue EOFLoop; } + jjmatchedKind = 0x7fffffff; + jjmatchedPos = 0; + curPos = jjMoveStringLiteralDfa0_0(); + if (jjmatchedKind != 0x7fffffff) + { + if (jjmatchedPos + 1 < curPos) + input_stream.backup(curPos - jjmatchedPos - 1); + if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) + { + matchedToken = jjFillToken(); + return matchedToken; + } + else + { + continue EOFLoop; + } + } + int error_line = input_stream.getEndLine(); + int error_column = input_stream.getEndColumn(); + String error_after = null; + boolean EOFSeen = false; + try { input_stream.readChar(); input_stream.backup(1); } + catch (java.io.IOException e1) { + EOFSeen = true; + error_after = curPos <= 1 ? "" : input_stream.GetImage(); + if (curChar == '\n' || curChar == '\r') { + error_line++; + error_column = 0; + } + else + error_column++; + } + if (!EOFSeen) { + input_stream.backup(1); + error_after = curPos <= 1 ? "" : input_stream.GetImage(); + } + throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); + } +} + +} diff --git a/C2J/CFuncDeclaration.java b/C2J/CFuncDeclaration.java new file mode 100644 index 0000000..b28740a --- /dev/null +++ b/C2J/CFuncDeclaration.java @@ -0,0 +1,959 @@ +/** + * @(#) CFuncDeclaration.java + */ + +import java.lang.System; +import java.lang.String; +import java.util.Vector; + +/** + * The function-declaration holder ! + * + * @see CFuncVariable + * @version 1.00, 12. Novemeber 1999 + * @author Sven Goethel + * + */ +public class CFuncDeclaration + implements Cloneable +{ + public boolean isValid; + + public CFuncVariable funcSpec; + public Vector argList; + + + public static final String jniFuncPrefixStd= "Java_" ; + public static final String jniFuncArgPrefix="JNIEnv *env, jobject obj"; + + public static final int FUNC_ERROR = 0; + public static final int FUNC_OK = 1; + public static final int FUNC_TYPE_MISSING = 2; + public static final int FUNC_NAME_MISSING = 3; + public static final int FUNC_LASTARG_INCOMPLETE = 4; + + public CFuncDeclaration() + { + isValid = true; + funcSpec = null; + argList = new Vector(); + } + + protected Object clone() + throws CloneNotSupportedException + { + int i; + CFuncDeclaration nobj = new CFuncDeclaration(); + + nobj.isValid=isValid; + + try { + nobj.funcSpec=(CFuncVariable)funcSpec.clone(); + } catch (Exception ex) {} + + for(i=0; i0) + { + if(which==n || which<0) + { + cfvar.typeJava=customType; + cfvar.isVoid=isNewTypeVoid; + } + if(which==n) + break; /* job done - leave loop */ + n++; + } + } + return tmp; + } + + protected String args2JNIStrList() + { + String res = new String(); + CFuncVariable cfvar; + int i,j; + + for (i=0; i0) + n++; + } + return n; + } + + protected String getFuncArgsSignature() + { + String res = new String(); + CFuncVariable cfvar; + int i,j; + + res += "__"; + + for (i=0; i type[] */ + if(cfvar.typeJava.equals("boolean")) + res+="Z"; + else if(cfvar.typeJava.equals("byte")) + res+="B"; + else if(cfvar.typeJava.equals("char")) + res+="C"; + else if(cfvar.typeJava.equals("short")) + res+="S"; + else if(cfvar.typeJava.equals("int")) + res+="I"; + else if(cfvar.typeJava.equals("long")) + res+="J"; + else if(cfvar.typeJava.equals("float")) + res+="F"; + else if(cfvar.typeJava.equals("double")) + res+="D"; + else if(cfvar.typeJava.equals("String")) + res+="Ljava_lang_String_2"; + } + return res; + } + + protected String __toJniJavaCode(boolean isFinal) + { + String res = new String(); + + if(funcSpec.arrayNumber>0) + { + System.err.println("ERROR: Pointer As Function-ReturnType is not supported yet !"); + System.err.println("Function: "+funcSpec); + return ""; + } + + if(isFinal) + res += "\tpublic final native "; + else + res += "\tpublic native "; + + res += funcSpec.getJavaTypeString() + " " + + funcSpec.identifier + " (\n"; + + res += args2JavaStrList(); + res += "\t) ;\n"; + + return res; + } + + public String toJniJavaCode(boolean isFinal) + { + int numberOfVoidPointerArgs = getNumberOfVoidPointerArgs(); + + if(numberOfVoidPointerArgs==0) + { + return __toJniJavaCode(isFinal); + } + + CFuncDeclaration tmp = null; + String res = new String(); + + tmp=getChangedVoidPtr2CustomPtrClone("byte", -1); + if(tmp!=null) res+=tmp.__toJniJavaCode(isFinal); + + tmp=getChangedVoidPtr2CustomPtrClone("short", -1); + if(tmp!=null) res+=tmp.__toJniJavaCode(isFinal); + + tmp=getChangedVoidPtr2CustomPtrClone("int", -1); + if(tmp!=null) res+=tmp.__toJniJavaCode(isFinal); + + tmp=getChangedVoidPtr2CustomPtrClone("float", -1); + if(tmp!=null) res+=tmp.__toJniJavaCode(isFinal); + + tmp=getChangedVoidPtr2CustomPtrClone("double", -1); + if(tmp!=null) res+=tmp.__toJniJavaCode(isFinal); + + tmp=getChangedVoidPtr2CustomPtrClone("boolean", -1); + if(tmp!=null) res+=tmp.__toJniJavaCode(isFinal); + + tmp=getChangedVoidPtr2CustomPtrClone("long", -1); + if(tmp!=null) res+=tmp.__toJniJavaCode(isFinal); + + return res; + } + + protected String __toJniCCode(String clazzName, int exportMode, + int modifier, boolean overloaded) + { + String res = new String(); + CFuncVariable cfvar; + int i; + + if(funcSpec.arrayNumber>0) + { + System.err.println("ERROR: Pointer As Function-ReturnType is not supported yet !"); + System.err.println("Function: "+funcSpec); + return ""; + } + + res += "\tJNIEXPORT " + funcSpec.getJNITypeString() + + " JNICALL\n" ; + + res += "\t" + + jniFuncPrefixStd+clazzName+"_"+funcSpec.identifier; + + if(overloaded) + res += getFuncArgsSignature(); + res += " (\n"; + + res += "\t\t"+jniFuncArgPrefix; + res += args2JNIStrList(); + res += ")\n"; + + 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 + // + if(funcSpec.typeJava.equals("void")==false) + { + res += "\t\t"+funcSpec.getJNITypeString()+" ret;\n\n"; + } + + String jniCMethodBaseType; + + // + // Adding the JNI access Methods + // for Arrays ... + // THE VARABLE DEFINITIONS + // + for (i=0; i0 ) + { + + jniCMethodBaseType = cfvar.getJniCMethodBaseType(); + + if( !cfvar.isConst || + (modifier&C2J.MODIFIER_JNI_COPY_CHECK)>0 ) + res += "\t\tjboolean isCopiedArray" +i+ " = JNI_FALSE;\n"; + + res += "\t\t" + + "j" + cfvar.typeJava + + " *ptr" + i + + " = NULL;\n"; + + if( (modifier&C2J.MODIFIER_JNI_COPY_CHECK )>0 ) + { + // + // JAU COPY Warning, if copy is used !!! + // + res += "\t\tstatic int isWarned"+i+" = 0;\n"; + } + } + } + + 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 ... + // THE ARGUMENT ACCESS + // + for (i=0; i0 ) + { + jniCMethodBaseType = cfvar.getJniCMethodBaseType(); + + res += "\t\tif("+cfvar.identifier+"!=NULL)\n"; + res += "\t\t{\n"; + + if ( (modifier&C2J.MODIFIER_JNI_CRITICAL_ARRAY)>0 ) + { + if( !cfvar.isConst || + (modifier&C2J.MODIFIER_JNI_COPY_CHECK)>0 ) + { + res += "\t\t\t" + + "ptr" + i + " = " + + "(j" + cfvar.typeJava + " *) " + + "(*env)->GetPrimitiveArrayCritical" + + "(env, " + cfvar.identifier + ", " + + "&isCopiedArray"+i+");\n"; + } else { + res += "\t\t\t" + + "ptr" + i + " = " + + "(j" + cfvar.typeJava + " *) " + + "(*env)->GetPrimitiveArrayCritical" + + "(env, " + cfvar.identifier + ", 0);\n"; + } + } else { + if( !cfvar.isConst || + (modifier&C2J.MODIFIER_JNI_COPY_CHECK)>0 ) + { + res += "\t\t\t" + + "ptr" + i + " = " + + "(*env)->Get" + jniCMethodBaseType + + "ArrayElements(env, " + + cfvar.identifier + ", " + + "&isCopiedArray"+i+");\n"; + } else { + res += "\t\t\t" + + "ptr" + i + " = " + + "(*env)->Get" + jniCMethodBaseType + + "ArrayElements(env, " + + cfvar.identifier + ", 0);\n"; + } + } + if( (modifier&C2J.MODIFIER_JNI_COPY_CHECK)>0 ) + { + // + // JAU COPY Warning, if copy is used !!! + // + res += "\t\t\tif( isCopiedArray"+i+" == JNI_TRUE && isWarned"+i+"==0 ) {\n"; + res += "\t\t\t\tisWarned"+i+"=1;\n"; + res += "\t\t\t\tprintf(\"COPY by "+funcSpec.identifier+" arg: "+cfvar.identifier+"\");\n"; + res += "\t\t\t}\n"; + } + res += "\t\t}\n"; + + } + } + + // + // Add the return variable assignment, incl. casting ! + // + if(funcSpec.typeC.equals("void")==false) + { + res += "\t\tret = ("+funcSpec.getJNITypeString()+") "; + } + else res += "\t\t"; + + // + // Add the native function call ! + // + if(exportMode==C2J.EXPORT_JNI_C) + res += funcSpec.identifier + " (\n"; + else + res += "__func_ptr__ (\n"; + + for (i=0; i0 ) + res += "ptr"+i; + else + res += cfvar.identifier; + + if(i0 ) + { + jniCMethodBaseType = cfvar.getJniCMethodBaseType(); + + res += "\t\tif("+cfvar.identifier+"!=NULL)\n"; + res += "\t\t{\n"; + if ( (modifier&C2J.MODIFIER_JNI_CRITICAL_ARRAY)>0 ) + { + if( !cfvar.isConst ) + { + // + // Free the memory, or the pinning lock. + // A copy is needed, + // if the Get*Array method used + // the copy method ! + // + res += "\t\t\t(*env)->ReleasePrimitiveArrayCritical" + + "(env, "+ cfvar.identifier + + ", ptr" + i + ", " + +"(isCopiedArray"+i+" == JNI_TRUE)?0:JNI_ABORT" + +");\n"; + } else { + // + // Just free the memory, or the pinning lock. + // No copy needed, + // because of the const data type ! + // + res += "\t\t\t(*env)->ReleasePrimitiveArrayCritical" + + "(env, "+ cfvar.identifier + + ", ptr" + i + ", JNI_ABORT);\n"; + } + } else { + if( !cfvar.isConst ) + { + // + // Free the memory, or the pinning lock. + // A copy is needed, + // if the Get*Array method used + // the copy method ! + // + res += "\t\t\t(*env)->Release" + + jniCMethodBaseType+ + "ArrayElements(env, "+ + cfvar.identifier + + ", ptr" + i + ", " + +"(isCopiedArray"+i+" == JNI_TRUE)?0:JNI_ABORT" + +");\n"; + } else { + // + // Just free the memory, or the pinning lock. + // No copy needed, + // because of the const data type ! + // + res += "\t\t\t(*env)->Release" + + jniCMethodBaseType+ + "ArrayElements(env, "+ + cfvar.identifier + + ", ptr" + i + ", JNI_ABORT);\n"; + } + } + res += "\t\t}\n"; + } + } + + // + // Let's give the baby to the caller ... + // + if(funcSpec.typeJava.equals("void")==false) + res += "\t\treturn ret;\n"; + res += "\t}\n"; + + return res; + } + + public String toJniCCode(String clazzName, int exportMode, int modifier) + { + int numberOfVoidPointerArgs = getNumberOfVoidPointerArgs(); + + if(numberOfVoidPointerArgs==0) + { + return __toJniCCode(clazzName, exportMode, modifier, false); + } + + CFuncDeclaration tmp = null; + String res = new String(); + + tmp=getChangedVoidPtr2CustomPtrClone("byte", -1); + if(tmp!=null) res+=tmp.__toJniCCode(clazzName, exportMode, modifier, true); + + tmp=getChangedVoidPtr2CustomPtrClone("short", -1); + if(tmp!=null) res+=tmp.__toJniCCode(clazzName, exportMode, modifier, true); + + tmp=getChangedVoidPtr2CustomPtrClone("int", -1); + if(tmp!=null) res+=tmp.__toJniCCode(clazzName, exportMode, modifier, true); + + tmp=getChangedVoidPtr2CustomPtrClone("float", -1); + if(tmp!=null) res+=tmp.__toJniCCode(clazzName, exportMode, modifier, true); + + tmp=getChangedVoidPtr2CustomPtrClone("double", -1); + if(tmp!=null) res+=tmp.__toJniCCode(clazzName, exportMode, modifier, true); + + tmp=getChangedVoidPtr2CustomPtrClone("boolean", -1); + if(tmp!=null) res+=tmp.__toJniCCode(clazzName, exportMode, modifier, true); + + tmp=getChangedVoidPtr2CustomPtrClone("long", -1); + if(tmp!=null) res+=tmp.__toJniCCode(clazzName, exportMode, modifier, true); + + return res; + } + + protected String __toMsJDirectCode(String dllname) + { + String res = new String(); + CFuncVariable cfvar; + int i; + + if(funcSpec.arrayNumber>0) + { + System.err.println("ERROR: Pointer As Function-ReturnType is not supported yet !"); + System.err.println("Function: "+funcSpec); + return ""; + } + + // + // Use The JDirect security tag to make security calls easy ! + // This one grants access to all MSJVM's >= + // "Microsoft (R) VM for Java, 5.0 Release 5.0.0.3186" + // without signing the applet !!! + // + // Making the mapping from the "static native" wrapper function + // to the corresponding native function + // + res += "\t/**\n"; + res += "\t * @dll.import(\""+dllname+"\",entrypoint=\""+ + funcSpec.identifier+"\")\n"; + res += "\t */\n"; + + // + // adding the "static native" wrapper function + // + res += "\tprivate static native "; + res += funcSpec.getJavaTypeString() + + " __" + funcSpec.identifier + " (\n"; + res += args2JavaStrList(); + res += "\t) ;\n"; + + // + // adding our GL4Java glue to the + // "static native" wrapper function + // + res += "\tpublic final "; + res += funcSpec.getJavaTypeString() + + " " + funcSpec.identifier + " (\n"; + res += args2JavaStrList(); + res += "\t)\n"; + res += "\t{\n"; + res += "\t\t"; + if(funcSpec.typeJava.equals("void")==false) + res += "return "; + res += "__"+funcSpec.identifier+"(\n"; + for (i=0; i "int" + * "const GLint *" -> "GLint" + * + */ + public String typeC; + + /** + * This Variable holds the base type + * of the corresponding Java type ! + * + * E.g. "const int[][]" -> "int" + * "const GLint *" -> "int" + * + */ + public String typeJava; + + /** + * This Variable holds the + * name of the variable ! + * + * E.g. "const int[][] arg1;" -> "arg1" + * + */ + public String identifier; + + public CFuncVariable() + { + complete=false; + + isVoid=false; + isConst=false; + isGLUPtrObject=false; + + arrayNumber=0; + + typeC = null; + typeJava = null; + identifier = null; + } + + protected Object clone() + throws CloneNotSupportedException + { + CFuncVariable nobj=new CFuncVariable(); + nobj.typeC=new String(typeC); + nobj.typeJava=new String(typeJava); + nobj.identifier=new String(identifier); + nobj.complete=complete; + nobj.isVoid=isVoid; + nobj.isConst=isConst; + nobj.arrayNumber=arrayNumber; + nobj.isGLUPtrObject=isGLUPtrObject; + return nobj; + } + + public String toString() + { + int i; + String res = new String(); + if(isConst) + res += "const "; + res += "("+typeC+"|"+typeJava+") "; + for(i=0; i Int : (*env)->GetIntArrayElements(...) + */ + public String getJniCMethodBaseType() + { + if(typeJava!=null) + { + return typeJava.substring(0, 1).toUpperCase() + + typeJava.substring(1, typeJava.length()); + } + + return null; + } + + /** + * This Method returns the complete + * Java-Type-String for this variable. + * + */ + public String getJavaTypeString() + { + int j; + String res = new String(); + + res+=typeJava; + + for(j=0; j0) + res+="Array"; + + return res; + } + + /** + * This Method returns the complete + * C-Type-String for this variable. + * + */ + public String getCTypeString() + { + int j; + String res = new String(); + + if(isConst) + res+="const "; + + res+=typeC; + + if(arrayNumber>0||isGLUPtrObject) + res+=" "; + for(j=0; j + */ + public ParseException(Token currentTokenVal, + int[][] expectedTokenSequencesVal, + String[] tokenImageVal + ) + { + super(""); + specialConstructor = true; + currentToken = currentTokenVal; + expectedTokenSequences = expectedTokenSequencesVal; + tokenImage = tokenImageVal; + } + + /** + * The following constructors are for use by you for whatever + * purpose you can think of. Constructing the exception in this + * manner makes the exception behave in the normal way - i.e., as + * documented in the class "Throwable". The fields "errorToken", + * "expectedTokenSequences", and "tokenImage" do not contain + * relevant information. The JavaCC generated code does not use + * these constructors. + */ + + public ParseException() { + super(); + specialConstructor = false; + } + + public ParseException(String message) { + super(message); + specialConstructor = false; + } + + /** + * This variable determines which constructor was used to create + * this object and thereby affects the semantics of the + * "getMessage" method (see below). + */ + protected boolean specialConstructor; + + /** + * This is the last token that has been consumed successfully. If + * this object has been created due to a parse error, the token + * followng this token will (therefore) be the first error token. + */ + public Token currentToken; + + /** + * Each entry in this array is an array of integers. Each array + * of integers represents a sequence of tokens (by their ordinal + * values) that is expected at this point of the parse. + */ + public int[][] expectedTokenSequences; + + /** + * This is a reference to the "tokenImage" array of the generated + * parser within which the parse error occurred. This array is + * defined in the generated ...Constants interface. + */ + public String[] tokenImage; + + /** + * This method has the standard behavior when this object has been + * created using the standard constructors. Otherwise, it uses + * "currentToken" and "expectedTokenSequences" to generate a parse + * error message and returns it. If this object has been created + * due to a parse error, and you do not catch it (it gets thrown + * from the parser), then this method is called during the printing + * of the final stack trace, and hence the correct error message + * gets displayed. + */ + public String getMessage() { + if (!specialConstructor) { + return super.getMessage(); + } + String expected = ""; + int maxSize = 0; + for (int i = 0; i < expectedTokenSequences.length; i++) { + if (maxSize < expectedTokenSequences[i].length) { + maxSize = expectedTokenSequences[i].length; + } + for (int j = 0; j < expectedTokenSequences[i].length; j++) { + expected += tokenImage[expectedTokenSequences[i][j]] + " "; + } + if (expectedTokenSequences[i][expectedTokenSequences[i].length - 1] != 0) { + expected += "..."; + } + expected += eol + " "; + } + String retval = "Encountered \""; + Token tok = currentToken.next; + for (int i = 0; i < maxSize; i++) { + if (i != 0) retval += " "; + if (tok.kind == 0) { + retval += tokenImage[0]; + break; + } + retval += add_escapes(tok.image); + tok = tok.next; + } + retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColumn + "." + eol; + if (expectedTokenSequences.length == 1) { + retval += "Was expecting:" + eol + " "; + } else { + retval += "Was expecting one of:" + eol + " "; + } + retval += expected; + return retval; + } + + /** + * The end of line string for this machine. + */ + protected String eol = System.getProperty("line.separator", "\n"); + + /** + * Used to convert raw characters to their escaped version + * when these raw version cannot be used as part of an ASCII + * string literal. + */ + protected String add_escapes(String str) { + StringBuffer retval = new StringBuffer(); + char ch; + for (int i = 0; i < str.length(); i++) { + switch (str.charAt(i)) + { + case 0 : + continue; + case '\b': + retval.append("\\b"); + continue; + case '\t': + retval.append("\\t"); + continue; + case '\n': + retval.append("\\n"); + continue; + case '\f': + retval.append("\\f"); + continue; + case '\r': + retval.append("\\r"); + continue; + case '\"': + retval.append("\\\""); + continue; + case '\'': + retval.append("\\\'"); + continue; + case '\\': + retval.append("\\\\"); + continue; + default: + if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) { + String s = "0000" + Integer.toString(ch, 16); + retval.append("\\u" + s.substring(s.length() - 4, s.length())); + } else { + retval.append(ch); + } + continue; + } + } + return retval.toString(); + } + +} diff --git a/C2J/Token.java b/C2J/Token.java new file mode 100644 index 0000000..4a72e32 --- /dev/null +++ b/C2J/Token.java @@ -0,0 +1,79 @@ +/* Generated By:JavaCC: Do not edit this line. Token.java Version 0.7pre3 */ +/** + * Describes the input token stream. + */ + +public class Token { + + /** + * An integer that describes the kind of this token. This numbering + * system is determined by JavaCCParser, and a table of these numbers is + * stored in the file ...Constants.java. + */ + public int kind; + + /** + * beginLine and beginColumn describe the position of the first character + * of this token; endLine and endColumn describe the position of the + * last character of this token. + */ + public int beginLine, beginColumn, endLine, endColumn; + + /** + * The string image of the token. + */ + public String image; + + /** + * A reference to the next regular (non-special) token from the input + * stream. If this is the last token from the input stream, or if the + * token manager has not read tokens beyond this one, this field is + * set to null. This is true only if this token is also a regular + * token. Otherwise, see below for a description of the contents of + * this field. + */ + public Token next; + + /** + * This field is used to access special tokens that occur prior to this + * token, but after the immediately preceding regular (non-special) token. + * If there are no such special tokens, this field is set to null. + * When there are more than one such special token, this field refers + * to the last of these special tokens, which in turn refers to the next + * previous special token through its specialToken field, and so on + * until the first special token (whose specialToken field is null). + * The next fields of special tokens refer to other special tokens that + * immediately follow it (without an intervening regular token). If there + * is no such token, this field is null. + */ + public Token specialToken; + + /** + * Returns the image. + */ + public final String toString() + { + return image; + } + + /** + * Returns a new Token object, by default. However, if you want, you + * can create and return subclass objects based on the value of ofKind. + * Simply add the cases to the switch for all those special cases. + * For example, if you have a subclass of Token called IDToken that + * you want to create if ofKind is ID, simlpy add something like : + * + * case MyParserConstants.ID : return new IDToken(); + * + * to the following switch statement. Then you can cast matchedToken + * variable to the appropriate type and use it in your lexical actions. + */ + public static final Token newToken(int ofKind) + { + switch(ofKind) + { + default : return new Token(); + } + } + +} diff --git a/C2J/TokenMgrError.java b/C2J/TokenMgrError.java new file mode 100644 index 0000000..e967e4d --- /dev/null +++ b/C2J/TokenMgrError.java @@ -0,0 +1,131 @@ +/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 0.7pre2 */ +public class TokenMgrError extends Error +{ + /* + * Ordinals for various reasons why an Error of this type can be thrown. + */ + + /** + * Lexical error occured. + */ + static final int LEXICAL_ERROR = 0; + + /** + * An attempt wass made to create a second instance of a static token manager. + */ + static final int STATIC_LEXER_ERROR = 1; + + /** + * Tried to change to an invalid lexical state. + */ + static final int INVALID_LEXICAL_STATE = 2; + + /** + * Detected (and bailed out of) an infinite loop in the token manager. + */ + static final int LOOP_DETECTED = 3; + + /** + * Indicates the reason why the exception is thrown. It will have + * one of the above 4 values. + */ + int errorCode; + + /** + * Replaces unprintable characters by their espaced (or unicode escaped) + * equivalents in the given string + */ + protected static final String addEscapes(String str) { + StringBuffer retval = new StringBuffer(); + char ch; + for (int i = 0; i < str.length(); i++) { + switch (str.charAt(i)) + { + case 0 : + continue; + case '\b': + retval.append("\\b"); + continue; + case '\t': + retval.append("\\t"); + continue; + case '\n': + retval.append("\\n"); + continue; + case '\f': + retval.append("\\f"); + continue; + case '\r': + retval.append("\\r"); + continue; + case '\"': + retval.append("\\\""); + continue; + case '\'': + retval.append("\\\'"); + continue; + case '\\': + retval.append("\\\\"); + continue; + default: + if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) { + String s = "0000" + Integer.toString(ch, 16); + retval.append("\\u" + s.substring(s.length() - 4, s.length())); + } else { + retval.append(ch); + } + continue; + } + } + return retval.toString(); + } + + /** + * Returns a detailed message for the Error when it is thrown by the + * token manager to indicate a lexical error. + * Parameters : + * EOFSeen : indicates if EOF caused the lexicl error + * curLexState : lexical state in which this error occured + * errorLine : line number when the error occured + * errorColumn : column number when the error occured + * errorAfter : prefix that was seen before this error occured + * curchar : the offending character + * Note: You can customize the lexical error message by modifying this method. + */ + private static final String LexicalError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar) { + return("Lexical error at line " + + errorLine + ", column " + + errorColumn + ". Encountered: " + + (EOFSeen ? " " : ("\"" + addEscapes(String.valueOf(curChar)) + "\"") + " (" + (int)curChar + "), ") + + "after : \"" + addEscapes(errorAfter) + "\""); + } + + /** + * You can also modify the body of this method to customize your error messages. + * For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not + * of end-users concern, so you can return something like : + * + * "Internal Error : Please file a bug report .... " + * + * from this method for such cases in the release version of your parser. + */ + public String getMessage() { + return super.getMessage(); + } + + /* + * Constructors of various flavors follow. + */ + + public TokenMgrError() { + } + + public TokenMgrError(String message, int reason) { + super(message); + errorCode = reason; + } + + public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { + this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason); + } +} diff --git a/C2J/gl-enum-auto.java b/C2J/gl-enum-auto.java new file mode 100644 index 0000000..97860ad --- /dev/null +++ b/C2J/gl-enum-auto.java @@ -0,0 +1,1317 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-enum-auto.orig . . . + * Destination-Class: gl4java_GLEnum ! + */ + + public static final int GL_1PASS_ARB = 0x80A1; + public static final int GL_1PASS_SGIS = 0x80A1; + public static final int GL_2D = 0x0600; + public static final int GL_2PASS_0_ARB = 0x80A2; + public static final int GL_2PASS_0_SGIS = 0x80A2; + public static final int GL_2PASS_1_ARB = 0x80A3; + public static final int GL_2PASS_1_SGIS = 0x80A3; + public static final int GL_2_BYTES = 0x1407; + public static final int GL_3D = 0x0601; + public static final int GL_3D_COLOR = 0x0602; + public static final int GL_3D_COLOR_TEXTURE = 0x0603; + public static final int GL_3_BYTES = 0x1408; + public static final int GL_422_AVERAGE_EXT = 0x80CE; + public static final int GL_422_EXT = 0x80CC; + public static final int GL_422_REV_AVERAGE_EXT = 0x80CF; + public static final int GL_422_REV_EXT = 0x80CD; + public static final int GL_4D_COLOR_TEXTURE = 0x0604; + public static final int GL_4PASS_0_ARB = 0x80A4; + public static final int GL_4PASS_0_SGIS = 0x80A4; + public static final int GL_4PASS_1_ARB = 0x80A5; + public static final int GL_4PASS_1_SGIS = 0x80A5; + public static final int GL_4PASS_2_ARB = 0x80A6; + public static final int GL_4PASS_2_SGIS = 0x80A6; + public static final int GL_4PASS_3_ARB = 0x80A7; + public static final int GL_4PASS_3_SGIS = 0x80A7; + public static final int GL_4_BYTES = 0x1409; + public static final int GL_ABGR_EXT = 0x8000; + public static final int GL_ACCUM = 0x0100; + public static final int GL_ACCUM_ALPHA_BITS = 0x0D5B; + public static final int GL_ACCUM_BLUE_BITS = 0x0D5A; + public static final int GL_ACCUM_BUFFER_BIT = 0x00000200; + public static final int GL_ACCUM_CLEAR_VALUE = 0x0B80; + public static final int GL_ACCUM_GREEN_BITS = 0x0D59; + public static final int GL_ACCUM_RED_BITS = 0x0D58; + public static final int GL_ACTIVE_TEXTURE_ARB = 0x84E0; + public static final int GL_ADD = 0x0104; + public static final int GL_ADD_SIGNED_EXT = 0x8574; + public static final int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E; + public static final int GL_ALIASED_POINT_SIZE_RANGE = 0x846D; + public static final int GL_ALLOW_DRAW_FRG_HINT_PGI = 107024; + public static final int GL_ALLOW_DRAW_MEM_HINT_PGI = 107025; + public static final int GL_ALLOW_DRAW_OBJ_HINT_PGI = 107022; + public static final int GL_ALLOW_DRAW_WIN_HINT_PGI = 107023; + public static final int GL_ALL_ATTRIB_BITS = 0x000FFFFF; + public static final int GL_ALL_STATIC_DATA_IBM = 0x19294; + public static final int GL_ALPHA = 0x1906; + public static final int GL_ALPHA12 = 0x803D; + public static final int GL_ALPHA12_EXT = 0x803D; + public static final int GL_ALPHA16 = 0x803E; + public static final int GL_ALPHA16_EXT = 0x803E; + public static final int GL_ALPHA4 = 0x803B; + public static final int GL_ALPHA4_EXT = 0x803B; + public static final int GL_ALPHA8 = 0x803C; + public static final int GL_ALPHA8_EXT = 0x803C; + public static final int GL_ALPHA_BIAS = 0x0D1D; + public static final int GL_ALPHA_BITS = 0x0D55; + public static final int GL_ALPHA_MAX_CLAMP_INGR = 0x8567; + public static final int GL_ALPHA_MIN_CLAMP_INGR = 0x8563; + public static final int GL_ALPHA_SCALE = 0x0D1C; + public static final int GL_ALPHA_TEST = 0x0BC0; + public static final int GL_ALPHA_TEST_FUNC = 0x0BC1; + public static final int GL_ALPHA_TEST_REF = 0x0BC2; + public static final int GL_ALWAYS = 0x0207; + public static final int GL_ALWAYS_FAST_HINT_PGI = 107020; + public static final int GL_ALWAYS_SOFT_HINT_PGI = 107021; + public static final int GL_AMBIENT = 0x1200; + public static final int GL_AMBIENT_AND_DIFFUSE = 0x1602; + public static final int GL_AND = 0x1501; + public static final int GL_AND_INVERTED = 0x1504; + public static final int GL_AND_REVERSE = 0x1502; + public static final int GL_ARRAY_ELEMENT_LOCK_COUNT_EXT = 0x81A9; + public static final int GL_ARRAY_ELEMENT_LOCK_FIRST_EXT = 0x81A8; + public static final int GL_ATTENUATION_EXT = 0x834D; + public static final int GL_ATTRIB_STACK_DEPTH = 0x0BB0; + public static final int GL_AUTO_NORMAL = 0x0D80; + public static final int GL_AUX0 = 0x0409; + public static final int GL_AUX1 = 0x040A; + public static final int GL_AUX2 = 0x040B; + public static final int GL_AUX3 = 0x040C; + public static final int GL_AUX_BUFFERS = 0x0C00; + public static final int GL_AVERAGE_EXT = 0x8335; + public static final int GL_BACK = 0x0405; + public static final int GL_BACK_LEFT = 0x0402; + public static final int GL_BACK_NORMALS_HINT_PGI = 107043; + public static final int GL_BACK_RIGHT = 0x0403; + public static final int GL_BGR = 0x80E0; + public static final int GL_BGRA = 0x80E1; + public static final int GL_BGRA_EXT = 0x80E1; + public static final int GL_BGR_EXT = 0x80E0; + public static final int GL_BIAS_BY_NEGATIVE_ONE_HALF_NV = 0x8541; + public static final int GL_BINORMAL_ARRAY_EXT = 0x843A; + public static final int GL_BINORMAL_ARRAY_POINTER_EXT = 0x8443; + public static final int GL_BINORMAL_ARRAY_STRIDE_EXT = 0x8441; + public static final int GL_BINORMAL_ARRAY_TYPE_EXT = 0x8440; + public static final int GL_BITMAP = 0x1A00; + public static final int GL_BITMAP_TOKEN = 0x0704; + public static final int GL_BLEND = 0x0BE2; + public static final int GL_BLEND_COLOR_EXT = 0x8005; + public static final int GL_BLEND_DST = 0x0BE0; + public static final int GL_BLEND_DST_ALPHA_EXT = 0x80CA; + public static final int GL_BLEND_DST_ALPHA_INGR = 0x80CA; + public static final int GL_BLEND_DST_RGB_EXT = 0x80C8; + public static final int GL_BLEND_DST_RGB_INGR = 0x80C8; + public static final int GL_BLEND_EQUATION = 0x8009; + public static final int GL_BLEND_EQUATION_EXT = 0x8009; + public static final int GL_BLEND_SRC = 0x0BE1; + public static final int GL_BLEND_SRC_ALPHA_EXT = 0x80CB; + public static final int GL_BLEND_SRC_ALPHA_INGR = 0x80CB; + public static final int GL_BLEND_SRC_RGB_EXT = 0x80C9; + public static final int GL_BLEND_SRC_RGB_INGR = 0x80C9; + public static final int GL_BLUE = 0x1905; + public static final int GL_BLUE_BIAS = 0x0D1B; + public static final int GL_BLUE_BITS = 0x0D54; + public static final int GL_BLUE_MAX_CLAMP_INGR = 0x8566; + public static final int GL_BLUE_MIN_CLAMP_INGR = 0x8562; + public static final int GL_BLUE_SCALE = 0x0D1A; + public static final int GL_BYTE = 0x1400; + public static final int GL_C3F_V3F = 0x2A24; + public static final int GL_C4F_N3F_V3F = 0x2A26; + public static final int GL_C4UB_V2F = 0x2A22; + public static final int GL_C4UB_V3F = 0x2A23; + public static final int GL_CCW = 0x0901; + public static final int GL_CLAMP = 0x2900; + public static final int GL_CLAMP_TO_BORDER_SGIS = 0x812D; + public static final int GL_CLAMP_TO_EDGE = 0x812F; + public static final int GL_CLAMP_TO_EDGE_SGIS = 0x812F; + public static final int GL_CLEAR = 0x1500; + public static final int GL_CLIENT_ACTIVE_TEXTURE_ARB = 0x84E1; + public static final int GL_CLIENT_ALL_ATTRIB_BITS = 0xFFFFFFFF; + public static final int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1; + public static final int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001; + public static final int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002; + public static final int GL_CLIP_FAR_HINT_PGI = 107041; + public static final int GL_CLIP_NEAR_HINT_PGI = 107040; + public static final int GL_CLIP_PLANE0 = 0x3000; + public static final int GL_CLIP_PLANE1 = 0x3001; + public static final int GL_CLIP_PLANE2 = 0x3002; + public static final int GL_CLIP_PLANE3 = 0x3003; + public static final int GL_CLIP_PLANE4 = 0x3004; + public static final int GL_CLIP_PLANE5 = 0x3005; + public static final int GL_CLIP_VOLUME_CLIPPING_HINT_EXT = 0x80F; + public static final int GL_CMYKA_EXT = 0x800D; + public static final int GL_CMYK_EXT = 0x800C; + public static final int GL_COEFF = 0x0A00; + public static final int GL_COLOR = 0x1800; + public static final int GL_COLOR_ARRAY = 0x8076; + public static final int GL_COLOR_ARRAY_COUNT_EXT = 0x8084; + public static final int GL_COLOR_ARRAY_EXT = 0x8076; + public static final int GL_COLOR_ARRAY_POINTER = 0x8090; + public static final int GL_COLOR_ARRAY_POINTER_EXT = 0x8090; + public static final int GL_COLOR_ARRAY_SIZE = 0x8081; + public static final int GL_COLOR_ARRAY_SIZE_EXT = 0x8081; + public static final int GL_COLOR_ARRAY_STRIDE = 0x8083; + public static final int GL_COLOR_ARRAY_STRIDE_EXT = 0x8083; + public static final int GL_COLOR_ARRAY_TYPE = 0x8082; + public static final int GL_COLOR_ARRAY_TYPE_EXT = 0x8082; + public static final int GL_COLOR_BUFFER_BIT = 0x00004000; + public static final int GL_COLOR_CLEAR_VALUE = 0x0C22; + public static final int GL_COLOR_INDEX = 0x1900; + public static final int GL_COLOR_INDEX12_EXT = 0x80E6; + public static final int GL_COLOR_INDEX16_EXT = 0x80E7; + public static final int GL_COLOR_INDEX1_EXT = 0x80E2; + public static final int GL_COLOR_INDEX2_EXT = 0x80E3; + public static final int GL_COLOR_INDEX4_EXT = 0x80E4; + public static final int GL_COLOR_INDEX8_EXT = 0x80E5; + public static final int GL_COLOR_INDEXES = 0x1603; + public static final int GL_COLOR_LOGIC_OP = 0x0BF2; + public static final int GL_COLOR_MATERIAL = 0x0B57; + public static final int GL_COLOR_MATERIAL_FACE = 0x0B55; + public static final int GL_COLOR_MATERIAL_PARAMETER = 0x0B56; + public static final int GL_COLOR_MATRIX = 0x80B1; + public static final int GL_COLOR_MATRIX_SGI = 0x80B1; + public static final int GL_COLOR_MATRIX_STACK_DEPTH = 0x80B2; + public static final int GL_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B2; + public static final int GL_COLOR_SUM_CLAMP_NV = 0x854F; + public static final int GL_COLOR_SUM_EXT = 0x8458; + public static final int GL_COLOR_TABLE = 0x80D0; + public static final int GL_COLOR_TABLE_ALPHA_SIZE = 0x80DD; + public static final int GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD; + public static final int GL_COLOR_TABLE_ALPHA_SIZE_SGI = 0x80DD; + public static final int GL_COLOR_TABLE_BIAS = 0x80D7; + public static final int GL_COLOR_TABLE_BIAS_SGI = 0x80D7; + public static final int GL_COLOR_TABLE_BLUE_SIZE = 0x80DC; + public static final int GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC; + public static final int GL_COLOR_TABLE_BLUE_SIZE_SGI = 0x80DC; + public static final int GL_COLOR_TABLE_FORMAT = 0x80D8; + public static final int GL_COLOR_TABLE_FORMAT_EXT = 0x80D8; + public static final int GL_COLOR_TABLE_FORMAT_SGI = 0x80D8; + public static final int GL_COLOR_TABLE_GREEN_SIZE = 0x80DB; + public static final int GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB; + public static final int GL_COLOR_TABLE_GREEN_SIZE_SGI = 0x80DB; + public static final int GL_COLOR_TABLE_INTENSITY_SIZE = 0x80DF; + public static final int GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF; + public static final int GL_COLOR_TABLE_INTENSITY_SIZE_SGI = 0x80DF; + public static final int GL_COLOR_TABLE_LUMINANCE_SIZE = 0x80DE; + public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE; + public static final int GL_COLOR_TABLE_LUMINANCE_SIZE_SGI = 0x80DE; + public static final int GL_COLOR_TABLE_RED_SIZE = 0x80DA; + public static final int GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA; + public static final int GL_COLOR_TABLE_RED_SIZE_SGI = 0x80DA; + public static final int GL_COLOR_TABLE_SCALE = 0x80D6; + public static final int GL_COLOR_TABLE_SCALE_SGI = 0x80D6; + public static final int GL_COLOR_TABLE_SGI = 0x80D0; + public static final int GL_COLOR_TABLE_SGI_80BC = 0x80BC; + public static final int GL_COLOR_TABLE_WIDTH = 0x80D9; + public static final int GL_COLOR_TABLE_WIDTH_EXT = 0x80D9; + public static final int GL_COLOR_TABLE_WIDTH_SGI = 0x80D9; + public static final int GL_COLOR_WRITEMASK = 0x0C23; + public static final int GL_COMBINE4_NV = 0x8503; + public static final int GL_COMBINER0_NV = 0x8550; + public static final int GL_COMBINER1_NV = 0x8551; + public static final int GL_COMBINER2_NV = 0x8552; + public static final int GL_COMBINER3_NV = 0x8553; + public static final int GL_COMBINER4_NV = 0x8554; + public static final int GL_COMBINER5_NV = 0x8555; + public static final int GL_COMBINER6_NV = 0x8556; + public static final int GL_COMBINER7_NV = 0x8557; + public static final int GL_COMBINER_AB_DOT_PRODUCT_NV = 0x8545; + public static final int GL_COMBINER_AB_OUTPUT_NV = 0x854A; + public static final int GL_COMBINER_BIAS_NV = 0x8549; + public static final int GL_COMBINER_CD_DOT_PRODUCT_NV = 0x8546; + public static final int GL_COMBINER_CD_OUTPUT_NV = 0x854B; + public static final int GL_COMBINER_COMPONENT_USAGE_NV = 0x8544; + public static final int GL_COMBINER_INPUT_NV = 0x8542; + public static final int GL_COMBINER_MAPPING_NV = 0x8543; + public static final int GL_COMBINER_MUX_SUM_NV = 0x8547; + public static final int GL_COMBINER_SCALE_NV = 0x8548; + public static final int GL_COMBINER_SUM_OUTPUT_NV = 0x854C; + public static final int GL_COMBINE_ALPHA_EXT = 0x8572; + public static final int GL_COMBINE_EXT = 0x8570; + public static final int GL_COMBINE_RGB_EXT = 0x8571; + public static final int GL_COMPILE = 0x1300; + public static final int GL_COMPILE_AND_EXECUTE = 0x1301; + public static final int GL_COMPRESSED_ALPHA_ARB = 0x84E9; + public static final int GL_COMPRESSED_INTENSITY_ARB = 0x84EC; + public static final int GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB; + public static final int GL_COMPRESSED_LUMINANCE_ARB = 0x84EA; + public static final int GL_COMPRESSED_RGBA_ARB = 0x84EE; + public static final int GL_COMPRESSED_RGB_ARB = 0x84ED; + public static final int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3; + public static final int GL_CONSERVE_MEMORY_HINT_PGI = 107005; + public static final int GL_CONSTANT_ALPHA = 0x8003; + public static final int GL_CONSTANT_ALPHA_EXT = 0x8003; + public static final int GL_CONSTANT_ATTENUATION = 0x1207; + public static final int GL_CONSTANT_BORDER = 0x8151; + public static final int GL_CONSTANT_COLOR = 0x8001; + public static final int GL_CONSTANT_COLOR0_NV = 0x852A; + public static final int GL_CONSTANT_COLOR1_NV = 0x852B; + public static final int GL_CONSTANT_COLOR_EXT = 0x8001; + public static final int GL_CONSTANT_EXT = 0x8576; + public static final int GL_CONVOLUTION_1D = 0x8010; + public static final int GL_CONVOLUTION_1D_EXT = 0x8010; + public static final int GL_CONVOLUTION_2D = 0x8011; + public static final int GL_CONVOLUTION_2D_EXT = 0x8011; + public static final int GL_CONVOLUTION_BORDER_COLOR = 0x8154; + public static final int GL_CONVOLUTION_BORDER_MODE = 0x8013; + public static final int GL_CONVOLUTION_BORDER_MODE_EXT = 0x8013; + public static final int GL_CONVOLUTION_FILTER_BIAS = 0x8015; + public static final int GL_CONVOLUTION_FILTER_BIAS_EXT = 0x8015; + public static final int GL_CONVOLUTION_FILTER_SCALE = 0x8014; + public static final int GL_CONVOLUTION_FILTER_SCALE_EXT = 0x8014; + public static final int GL_CONVOLUTION_FORMAT = 0x8017; + public static final int GL_CONVOLUTION_FORMAT_EXT = 0x8017; + public static final int GL_CONVOLUTION_HEIGHT = 0x8019; + public static final int GL_CONVOLUTION_HEIGHT_EXT = 0x8019; + public static final int GL_CONVOLUTION_WIDTH = 0x8018; + public static final int GL_CONVOLUTION_WIDTH_EXT = 0x8018; + public static final int GL_COPY = 0x1503; + public static final int GL_COPY_INVERTED = 0x150C; + public static final int GL_COPY_PIXEL_TOKEN = 0x0706; + public static final int GL_CUBIC_EXT = 0x8334; + public static final int GL_CULL_FACE = 0x0B44; + public static final int GL_CULL_FACE_MODE = 0x0B45; + public static final int GL_CULL_VERTEX_EXT = 0x81AA; + public static final int GL_CULL_VERTEX_EYE_POSITION_EXT = 0x81AB; + public static final int GL_CULL_VERTEX_IBM = 0x1928A; + public static final int GL_CULL_VERTEX_OBJECT_POSITION_EXT = 0x81AC; + public static final int GL_CURRENT_BINORMAL_EXT = 0x843C; + public static final int GL_CURRENT_BIT = 0x00000001; + public static final int GL_CURRENT_COLOR = 0x0B00; + public static final int GL_CURRENT_FOG_COORDINATE_EXT = 0x8453; + public static final int GL_CURRENT_INDEX = 0x0B01; + public static final int GL_CURRENT_NORMAL = 0x0B02; + public static final int GL_CURRENT_RASTER_COLOR = 0x0B04; + public static final int GL_CURRENT_RASTER_DISTANCE = 0x0B09; + public static final int GL_CURRENT_RASTER_INDEX = 0x0B05; + public static final int GL_CURRENT_RASTER_POSITION = 0x0B07; + public static final int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08; + public static final int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06; + public static final int GL_CURRENT_SECONDARY_COLOR_EXT = 0x8459; + public static final int GL_CURRENT_TANGENT_EXT = 0x843B; + public static final int GL_CURRENT_TEXTURE_COORDS = 0x0B03; + public static final int GL_CURRENT_VERTEX_WEIGHT_EXT = 0x850B; + public static final int GL_CW = 0x0900; + public static final int GL_DECAL = 0x2101; + public static final int GL_DECR = 0x1E03; + public static final int GL_DECR_WRAP_EXT = 0x8508; + public static final int GL_DEPTH = 0x1801; + public static final int GL_DEPTH_BIAS = 0x0D1F; + public static final int GL_DEPTH_BITS = 0x0D56; + public static final int GL_DEPTH_BUFFER_BIT = 0x00000100; + public static final int GL_DEPTH_CLEAR_VALUE = 0x0B73; + public static final int GL_DEPTH_COMPONENT = 0x1902; + public static final int GL_DEPTH_COMPONENT16_SGIX = 0x81A5; + public static final int GL_DEPTH_COMPONENT24_SGIX = 0x81A6; + public static final int GL_DEPTH_COMPONENT32_SGIX = 0x81A7; + public static final int GL_DEPTH_FUNC = 0x0B74; + public static final int GL_DEPTH_RANGE = 0x0B70; + public static final int GL_DEPTH_SCALE = 0x0D1E; + public static final int GL_DEPTH_TEST = 0x0B71; + public static final int GL_DEPTH_WRITEMASK = 0x0B72; + public static final int GL_DETAIL_TEXTURE_2D_BINDING_SGIS = 0x8096; + public static final int GL_DETAIL_TEXTURE_2D_SGIS = 0x8095; + public static final int GL_DETAIL_TEXTURE_LEVEL_SGIS = 0x809A; + public static final int GL_DETAIL_TEXTURE_MODE_SGIS = 0x809B; + public static final int GL_DIFFUSE = 0x1201; + public static final int GL_DISCARD_NV = 0x8530; + public static final int GL_DISTANCE_ATTENUATION_EXT = 0x8129; + public static final int GL_DITHER = 0x0BD0; + public static final int GL_DOMAIN = 0x0A02; + public static final int GL_DONT_CARE = 0x1100; + public static final int GL_DOUBLE = 0x140A; + public static final int GL_DOUBLEBUFFER = 0x0C32; + public static final int GL_DRAW_BUFFER = 0x0C01; + public static final int GL_DRAW_PIXEL_TOKEN = 0x0705; + public static final int GL_DST_ALPHA = 0x0304; + public static final int GL_DST_COLOR = 0x0306; + public static final int GL_DUAL_ALPHA12_SGIS = 0x8112; + public static final int GL_DUAL_ALPHA16_SGIS = 0x8113; + public static final int GL_DUAL_ALPHA4_SGIS = 0x8110; + public static final int GL_DUAL_ALPHA8_SGIS = 0x8111; + public static final int GL_DUAL_INTENSITY12_SGIS = 0x811A; + public static final int GL_DUAL_INTENSITY16_SGIS = 0x811B; + public static final int GL_DUAL_INTENSITY4_SGIS = 0x8118; + public static final int GL_DUAL_INTENSITY8_SGIS = 0x8119; + public static final int GL_DUAL_LUMINANCE12_SGIS = 0x8116; + public static final int GL_DUAL_LUMINANCE16_SGIS = 0x8117; + public static final int GL_DUAL_LUMINANCE4_SGIS = 0x8114; + public static final int GL_DUAL_LUMINANCE8_SGIS = 0x8115; + public static final int GL_DUAL_LUMINANCE_ALPHA4_SGIS = 0x811C; + public static final int GL_DUAL_LUMINANCE_ALPHA8_SGIS = 0x811D; + public static final int GL_DUAL_TEXTURE_SELECT_SGIS = 0x8124; + public static final int GL_EDGE_FLAG = 0x0B43; + public static final int GL_EDGE_FLAG_ARRAY = 0x8079; + public static final int GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D; + public static final int GL_EDGE_FLAG_ARRAY_EXT = 0x8079; + public static final int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093; + public static final int GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093; + public static final int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C; + public static final int GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C; + public static final int GL_EMBOSS_CONSTANT_NV = 0x855E; + public static final int GL_EMBOSS_LIGHT_NV = 0x855D; + public static final int GL_EMBOSS_MAP_NV = 0x855F; + public static final int GL_EMISSION = 0x1600; + public static final int GL_ENABLE_BIT = 0x00002000; + public static final int GL_EQUAL = 0x0202; + public static final int GL_EQUIV = 0x1509; + public static final int GL_EVAL_BIT = 0x00010000; + public static final int GL_EXP = 0x0800; + public static final int GL_EXP2 = 0x0801; + public static final int GL_EXPAND_NEGATE_NV = 0x8539; + public static final int GL_EXPAND_NORMAL_NV = 0x8538; + public static final int GL_EXTENSIONS = 0x1F03; + public static final int GL_EYE_LINEAR = 0x2400; + public static final int GL_EYE_PLANE = 0x2502; + public static final int GL_EYE_PLANE_ABSOLUTE_NV = 0x855C; + public static final int GL_EYE_RADIAL_NV = 0x855B; + public static final int GL_E_TIMES_F_NV = 0x8531; + public static final int GL_FASTEST = 0x1101; + public static final int GL_FEEDBACK = 0x1C01; + public static final int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0; + public static final int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1; + public static final int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2; + public static final int GL_FILL = 0x1B02; + public static final int GL_FILTER4_SGIS = 0x8146; + public static final int GL_FLAT = 0x1D00; + public static final int GL_FLOAT = 0x1406; + public static final int GL_FOG = 0x0B60; + public static final int GL_FOG_BIT = 0x00000080; + public static final int GL_FOG_COLOR = 0x0B66; + public static final int GL_FOG_COORDINATE_ARRAY_EXT = 0x8457; + public static final int GL_FOG_COORDINATE_ARRAY_POINTER_EXT = 0x8456; + public static final int GL_FOG_COORDINATE_ARRAY_STRIDE_EXT = 0x8455; + public static final int GL_FOG_COORDINATE_ARRAY_TYPE_EXT = 0x8454; + public static final int GL_FOG_COORDINATE_EXT = 0x8451; + public static final int GL_FOG_COORDINATE_SOURCE_EXT = 0x8450; + public static final int GL_FOG_DENSITY = 0x0B62; + public static final int GL_FOG_DISTANCE_MODE_NV = 0x855A; + public static final int GL_FOG_END = 0x0B64; + public static final int GL_FOG_FUNC_POINTS_SGIS = 0x812B; + public static final int GL_FOG_FUNC_SGIS = 0x812A; + public static final int GL_FOG_HINT = 0x0C54; + public static final int GL_FOG_INDEX = 0x0B61; + public static final int GL_FOG_MODE = 0x0B65; + public static final int GL_FOG_OFFSET_SGIX = 0x8198; + public static final int GL_FOG_OFFSET_VALUE_SGIX = 0x8199; + public static final int GL_FOG_SPECULAR_TEXTURE_WIN = 0x80EC; + public static final int GL_FOG_START = 0x0B63; + public static final int GL_FRAGMENT_COLOR_EXT = 0x834C; + public static final int GL_FRAGMENT_DEPTH_EXT = 0x8452; + public static final int GL_FRAGMENT_DEPTH_EXT_834B = 0x834B; + public static final int GL_FRAGMENT_MATERIAL_EXT = 0x8349; + public static final int GL_FRAGMENT_NORMAL_EXT = 0x834A; + public static final int GL_FRAMEZOOM_FACTOR_SGIX = 0x818C; + public static final int GL_FRAMEZOOM_SGIX = 0x818B; + public static final int GL_FRONT = 0x0404; + public static final int GL_FRONT_AND_BACK = 0x0408; + public static final int GL_FRONT_FACE = 0x0B46; + public static final int GL_FRONT_LEFT = 0x0400; + public static final int GL_FRONT_RIGHT = 0x0401; + public static final int GL_FULL_STIPPLE_HINT_PGI = 107033; + public static final int GL_FUNC_ADD = 0x8006; + public static final int GL_FUNC_ADD_EXT = 0x8006; + public static final int GL_FUNC_REVERSE_SUBTRACT = 0x800B; + public static final int GL_FUNC_REVERSE_SUBTRACT_EXT = 0x800B; + public static final int GL_FUNC_SUBTRACT = 0x800A; + public static final int GL_FUNC_SUBTRACT_EXT = 0x800A; + public static final int GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192; + public static final int GL_GENERATE_MIPMAP_SGIS = 0x8191; + public static final int GL_GEQUAL = 0x0206; + public static final int GL_GLEXT_VERSION_EXT = 8; + public static final int GL_GLOBAL_ALPHA_FACTOR_SUN = 0x81DA; + public static final int GL_GLOBAL_ALPHA_SUN = 0x81D9; + public static final int GL_GREATER = 0x0204; + public static final int GL_GREEN = 0x1904; + public static final int GL_GREEN_BIAS = 0x0D19; + public static final int GL_GREEN_BITS = 0x0D53; + public static final int GL_GREEN_MAX_CLAMP_INGR = 0x8565; + public static final int GL_GREEN_MIN_CLAMP_INGR = 0x8561; + public static final int GL_GREEN_SCALE = 0x0D18; + public static final int GL_HALF_BIAS_NEGATE_NV = 0x853B; + public static final int GL_HALF_BIAS_NORMAL_NV = 0x853A; + public static final int GL_HINT_BIT = 0x00008000; + public static final int GL_HISTOGRAM = 0x8024; + public static final int GL_HISTOGRAM_ALPHA_SIZE = 0x802B; + public static final int GL_HISTOGRAM_ALPHA_SIZE_EXT = 0x802B; + public static final int GL_HISTOGRAM_BLUE_SIZE = 0x802A; + public static final int GL_HISTOGRAM_BLUE_SIZE_EXT = 0x802A; + public static final int GL_HISTOGRAM_EXT = 0x8024; + public static final int GL_HISTOGRAM_FORMAT = 0x8027; + public static final int GL_HISTOGRAM_FORMAT_EXT = 0x8027; + public static final int GL_HISTOGRAM_GREEN_SIZE = 0x8029; + public static final int GL_HISTOGRAM_GREEN_SIZE_EXT = 0x8029; + public static final int GL_HISTOGRAM_LUMINANCE_SIZE = 0x802C; + public static final int GL_HISTOGRAM_LUMINANCE_SIZE_EXT = 0x802C; + public static final int GL_HISTOGRAM_RED_SIZE = 0x8028; + public static final int GL_HISTOGRAM_RED_SIZE_EXT = 0x8028; + public static final int GL_HISTOGRAM_SINK = 0x802D; + public static final int GL_HISTOGRAM_SINK_EXT = 0x802D; + public static final int GL_HISTOGRAM_WIDTH = 0x8026; + public static final int GL_HISTOGRAM_WIDTH_EXT = 0x8026; + public static final int GL_INCR = 0x1E02; + public static final int GL_INCR_WRAP_EXT = 0x8507; + public static final int GL_INDEX_ARRAY = 0x8077; + public static final int GL_INDEX_ARRAY_COUNT_EXT = 0x8087; + public static final int GL_INDEX_ARRAY_EXT = 0x8077; + public static final int GL_INDEX_ARRAY_POINTER = 0x8091; + public static final int GL_INDEX_ARRAY_POINTER_EXT = 0x8091; + public static final int GL_INDEX_ARRAY_STRIDE = 0x8086; + public static final int GL_INDEX_ARRAY_STRIDE_EXT = 0x8086; + public static final int GL_INDEX_ARRAY_TYPE = 0x8085; + public static final int GL_INDEX_ARRAY_TYPE_EXT = 0x8085; + public static final int GL_INDEX_BITS = 0x0D51; + public static final int GL_INDEX_CLEAR_VALUE = 0x0C20; + public static final int GL_INDEX_LOGIC_OP = 0x0BF1; + public static final int GL_INDEX_MODE = 0x0C30; + public static final int GL_INDEX_OFFSET = 0x0D13; + public static final int GL_INDEX_SHIFT = 0x0D12; + public static final int GL_INDEX_WRITEMASK = 0x0C21; + public static final int GL_INSTRUMENT_BUFFER_POINTER_SGIX = 0x8180; + public static final int GL_INSTRUMENT_MEASUREMENTS_SGIX = 0x8181; + public static final int GL_INT = 0x1404; + public static final int GL_INTENSITY = 0x8049; + public static final int GL_INTENSITY12 = 0x804C; + public static final int GL_INTENSITY12_EXT = 0x804C; + public static final int GL_INTENSITY16 = 0x804D; + public static final int GL_INTENSITY16_EXT = 0x804D; + public static final int GL_INTENSITY4 = 0x804A; + public static final int GL_INTENSITY4_EXT = 0x804A; + public static final int GL_INTENSITY8 = 0x804B; + public static final int GL_INTENSITY8_EXT = 0x804B; + public static final int GL_INTENSITY_EXT = 0x8049; + public static final int GL_INTERLACE_READ_INGR = 0x8568; + public static final int GL_INTERLACE_SGIX = 0x8094; + public static final int GL_INTERPOLATE_EXT = 0x8575; + public static final int GL_INVALID_ENUM = 0x0500; + public static final int GL_INVALID_OPERATION = 0x0502; + public static final int GL_INVALID_VALUE = 0x0501; + public static final int GL_INVERT = 0x150A; + public static final int GL_INVERTED_SCREEN_W_REND = 0x8491; + public static final int GL_IR_INSTRUMENT1_SGIX = 0x817F; + public static final int GL_KEEP = 0x1E00; + public static final int GL_LEFT = 0x0406; + public static final int GL_LEQUAL = 0x0203; + public static final int GL_LESS = 0x0201; + public static final int GL_LIGHT0 = 0x4000; + public static final int GL_LIGHT1 = 0x4001; + public static final int GL_LIGHT2 = 0x4002; + public static final int GL_LIGHT3 = 0x4003; + public static final int GL_LIGHT4 = 0x4004; + public static final int GL_LIGHT5 = 0x4005; + public static final int GL_LIGHT6 = 0x4006; + public static final int GL_LIGHT7 = 0x4007; + public static final int GL_LIGHTING = 0x0B50; + public static final int GL_LIGHTING_BIT = 0x00000040; + public static final int GL_LIGHT_MODEL_AMBIENT = 0x0B53; + public static final int GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8; + public static final int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8; + public static final int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51; + public static final int GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE = 0x85B0; + public static final int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52; + public static final int GL_LINE = 0x1B01; + public static final int GL_LINEAR = 0x2601; + public static final int GL_LINEAR_ATTENUATION = 0x1208; + public static final int GL_LINEAR_CLIPMAP_LINEAR_SGIX = 0x8170; + public static final int GL_LINEAR_DETAIL_ALPHA_SGIS = 0x8098; + public static final int GL_LINEAR_DETAIL_COLOR_SGIS = 0x8099; + public static final int GL_LINEAR_DETAIL_SGIS = 0x8097; + public static final int GL_LINEAR_MIPMAP_LINEAR = 0x2703; + public static final int GL_LINEAR_MIPMAP_NEAREST = 0x2701; + public static final int GL_LINEAR_SHARPEN_ALPHA_SGIS = 0x80AE; + public static final int GL_LINEAR_SHARPEN_COLOR_SGIS = 0x80AF; + public static final int GL_LINEAR_SHARPEN_SGIS = 0x80AD; + public static final int GL_LINES = 0x0001; + public static final int GL_LINE_BIT = 0x00000004; + public static final int GL_LINE_LOOP = 0x0002; + public static final int GL_LINE_RESET_TOKEN = 0x0707; + public static final int GL_LINE_SMOOTH = 0x0B20; + public static final int GL_LINE_SMOOTH_HINT = 0x0C52; + public static final int GL_LINE_STIPPLE = 0x0B24; + public static final int GL_LINE_STIPPLE_PATTERN = 0x0B25; + public static final int GL_LINE_STIPPLE_REPEAT = 0x0B26; + public static final int GL_LINE_STRIP = 0x0003; + public static final int GL_LINE_TOKEN = 0x0702; + public static final int GL_LINE_WIDTH = 0x0B21; + public static final int GL_LINE_WIDTH_GRANULARITY = 0x0B23; + public static final int GL_LINE_WIDTH_RANGE = 0x0B22; + public static final int GL_LIST_BASE = 0x0B32; + public static final int GL_LIST_BIT = 0x00020000; + public static final int GL_LIST_INDEX = 0x0B33; + public static final int GL_LIST_MODE = 0x0B30; + public static final int GL_LIST_PRIORITY_SGIX = 0x8182; + public static final int GL_LOAD = 0x0101; + public static final int GL_LOGIC_OP = 0x0BF1; + public static final int GL_LOGIC_OP_MODE = 0x0BF0; + public static final int GL_LUMINANCE = 0x1909; + public static final int GL_LUMINANCE12 = 0x8041; + public static final int GL_LUMINANCE12_ALPHA12 = 0x8047; + public static final int GL_LUMINANCE12_ALPHA12_EXT = 0x8047; + public static final int GL_LUMINANCE12_ALPHA4 = 0x8046; + public static final int GL_LUMINANCE12_ALPHA4_EXT = 0x8046; + public static final int GL_LUMINANCE12_EXT = 0x8041; + public static final int GL_LUMINANCE16 = 0x8042; + public static final int GL_LUMINANCE16_ALPHA16 = 0x8048; + public static final int GL_LUMINANCE16_ALPHA16_EXT = 0x8048; + public static final int GL_LUMINANCE16_EXT = 0x8042; + public static final int GL_LUMINANCE4 = 0x803F; + public static final int GL_LUMINANCE4_ALPHA4 = 0x8043; + public static final int GL_LUMINANCE4_ALPHA4_EXT = 0x8043; + public static final int GL_LUMINANCE4_EXT = 0x803F; + public static final int GL_LUMINANCE6_ALPHA2 = 0x8044; + public static final int GL_LUMINANCE6_ALPHA2_EXT = 0x8044; + public static final int GL_LUMINANCE8 = 0x8040; + public static final int GL_LUMINANCE8_ALPHA8 = 0x8045; + public static final int GL_LUMINANCE8_ALPHA8_EXT = 0x8045; + public static final int GL_LUMINANCE8_EXT = 0x8040; + public static final int GL_LUMINANCE_ALPHA = 0x190A; + public static final int GL_MAP1_BINORMAL_EXT = 0x8446; + public static final int GL_MAP1_COLOR_4 = 0x0D90; + public static final int GL_MAP1_GRID_DOMAIN = 0x0DD0; + public static final int GL_MAP1_GRID_SEGMENTS = 0x0DD1; + public static final int GL_MAP1_INDEX = 0x0D91; + public static final int GL_MAP1_NORMAL = 0x0D92; + public static final int GL_MAP1_TANGENT_EXT = 0x8444; + public static final int GL_MAP1_TEXTURE_COORD_1 = 0x0D93; + public static final int GL_MAP1_TEXTURE_COORD_2 = 0x0D94; + public static final int GL_MAP1_TEXTURE_COORD_3 = 0x0D95; + public static final int GL_MAP1_TEXTURE_COORD_4 = 0x0D96; + public static final int GL_MAP1_VERTEX_3 = 0x0D97; + public static final int GL_MAP1_VERTEX_4 = 0x0D98; + public static final int GL_MAP2_BINORMAL_EXT = 0x8447; + public static final int GL_MAP2_COLOR_4 = 0x0DB0; + public static final int GL_MAP2_GRID_DOMAIN = 0x0DD2; + public static final int GL_MAP2_GRID_SEGMENTS = 0x0DD3; + public static final int GL_MAP2_INDEX = 0x0DB1; + public static final int GL_MAP2_NORMAL = 0x0DB2; + public static final int GL_MAP2_TANGENT_EXT = 0x8445; + public static final int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3; + public static final int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4; + public static final int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5; + public static final int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6; + public static final int GL_MAP2_VERTEX_3 = 0x0DB7; + public static final int GL_MAP2_VERTEX_4 = 0x0DB8; + public static final int GL_MAP_COLOR = 0x0D10; + public static final int GL_MAP_STENCIL = 0x0D11; + public static final int GL_MATRIX_MODE = 0x0BA0; + public static final int GL_MAX = 0x8008; + public static final int GL_MAX_3D_TEXTURE_SIZE = 0x8073; + public static final int GL_MAX_3D_TEXTURE_SIZE_EXT = 0x8073; + public static final int GL_MAX_4D_TEXTURE_SIZE_SGIS = 0x8138; + public static final int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35; + public static final int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B; + public static final int GL_MAX_CLIPMAP_DEPTH_SGIX = 0x8177; + public static final int GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8178; + public static final int GL_MAX_CLIP_PLANES = 0x0D32; + public static final int GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3; + public static final int GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI = 0x80B3; + public static final int GL_MAX_CONVOLUTION_HEIGHT = 0x801B; + public static final int GL_MAX_CONVOLUTION_HEIGHT_EXT = 0x801B; + public static final int GL_MAX_CONVOLUTION_WIDTH = 0x801A; + public static final int GL_MAX_CONVOLUTION_WIDTH_EXT = 0x801A; + public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT = 0x851C; + public static final int GL_MAX_ELEMENTS_INDICES = 0x80E9; + public static final int GL_MAX_ELEMENTS_INDICES_EXT = 0x80E9; + public static final int GL_MAX_ELEMENTS_VERTICES = 0x80E8; + public static final int GL_MAX_ELEMENTS_VERTICES_EXT = 0x80E8; + public static final int GL_MAX_EVAL_ORDER = 0x0D30; + public static final int GL_MAX_EXT = 0x8008; + public static final int GL_MAX_FOG_FUNC_POINTS_SGIS = 0x812C; + public static final int GL_MAX_FRAMEZOOM_FACTOR_SGIX = 0x818D; + public static final int GL_MAX_GENERAL_COMBINERS_NV = 0x854D; + public static final int GL_MAX_LIGHTS = 0x0D31; + public static final int GL_MAX_LIST_NESTING = 0x0B31; + public static final int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36; + public static final int GL_MAX_NAME_STACK_DEPTH = 0x0D37; + public static final int GL_MAX_PIXEL_MAP_TABLE = 0x0D34; + public static final int GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8337; + public static final int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38; + public static final int GL_MAX_SHININESS_NV = 0x8507; + public static final int GL_MAX_SPOT_EXPONENT_NV = 0x8508; + public static final int GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; + public static final int GL_MAX_TEXTURE_SIZE = 0x0D33; + public static final int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39; + public static final int GL_MAX_TEXTURE_UNITS_ARB = 0x84E2; + public static final int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520; + public static final int GL_MAX_VIEWPORT_DIMS = 0x0D3A; + public static final int GL_MIN = 0x8007; + public static final int GL_MINMAX = 0x802E; + public static final int GL_MINMAX_FORMAT = 0x802F; + public static final int GL_MINMAX_SINK = 0x8030; + public static final int GL_MIN_EXT = 0x8007; + public static final int GL_MIRRORED_REPEAT_IBM = 0x8370; + public static final int GL_MODELVIEW = 0x1700; + public static final int GL_MODELVIEW0_EXT = 0x1700; + public static final int GL_MODELVIEW0_STACK_DEPTH_EXT = 0x0BA3; + public static final int GL_MODELVIEW1_EXT = 0x850A; + public static final int GL_MODELVIEW1_STACK_DEPTH_EXT = 0x8502; + public static final int GL_MODELVIEW_MATRIX = 0x0BA6; + public static final int GL_MODELVIEW_STACK_DEPTH = 0x0BA3; + public static final int GL_MODULATE = 0x2100; + public static final int GL_MULT = 0x0103; + public static final int GL_MULTISAMPLE_ARBfunda = 0x809D; + public static final int GL_MULTISAMPLE_BIT_ARB = 0x20000000; + public static final int GL_MULTISAMPLE_BIT_EXT = 0x20000000; + public static final int GL_MULTISAMPLE_SGIS = 0x809D; + public static final int GL_N3F_V3F = 0x2A25; + public static final int GL_NAME_STACK_DEPTH = 0x0D70; + public static final int GL_NAND = 0x150E; + public static final int GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI = 107011; + public static final int GL_NATIVE_GRAPHICS_END_HINT_PGI = 107012; + public static final int GL_NATIVE_GRAPHICS_HANDLE_PGI = 107010; + public static final int GL_NEAREST = 0x2600; + public static final int GL_NEAREST_MIPMAP_LINEAR = 0x2702; + public static final int GL_NEAREST_MIPMAP_NEAREST = 0x2700; + public static final int GL_NEVER = 0x0200; + public static final int GL_NICEST = 0x1102; + public static final int GL_NONE = 0x0; + public static final int GL_NOOP = 0x1505; + public static final int GL_NOR = 0x1508; + public static final int GL_NORMALIZE = 0x0BA1; + public static final int GL_NORMAL_ARRAY = 0x8075; + public static final int GL_NORMAL_ARRAY_COUNT_EXT = 0x8080; + public static final int GL_NORMAL_ARRAY_EXT = 0x8075; + public static final int GL_NORMAL_ARRAY_POINTER = 0x808F; + public static final int GL_NORMAL_ARRAY_POINTER_EXT = 0x808F; + public static final int GL_NORMAL_ARRAY_STRIDE = 0x807F; + public static final int GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F; + public static final int GL_NORMAL_ARRAY_TYPE = 0x807E; + public static final int GL_NORMAL_ARRAY_TYPE_EXT = 0x807E; + public static final int GL_NORMAL_MAP_EXT = 0x8511; + public static final int GL_NORMAL_MAP_NV = 0x8511; + public static final int GL_NOTEQUAL = 0x0205; + public static final int GL_NO_ERROR = 0x0; + public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2; + public static final int GL_NUM_GENERAL_COMBINERS_NV = 0x854E; + public static final int GL_OBJECT_LINEAR = 0x2401; + public static final int GL_OBJECT_PLANE = 0x2501; + public static final int GL_OCCLUSION_TEST_HP = 0x8165; + public static final int GL_OCCLUSION_TEST_RESULT_HP = 0x8166; + public static final int GL_ONE = 0x1; + public static final int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004; + public static final int GL_ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004; + public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002; + public static final int GL_ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002; + public static final int GL_ONE_MINUS_DST_ALPHA = 0x0305; + public static final int GL_ONE_MINUS_DST_COLOR = 0x0307; + public static final int GL_ONE_MINUS_SRC_ALPHA = 0x0303; + public static final int GL_ONE_MINUS_SRC_COLOR = 0x0301; + public static final int GL_OPERAND0_ALPHA_EXT = 0x8598; + public static final int GL_OPERAND0_RGB_EXT = 0x8590; + public static final int GL_OPERAND1_ALPHA_EXT = 0x8599; + public static final int GL_OPERAND1_RGB_EXT = 0x8591; + public static final int GL_OPERAND2_ALPHA_EXT = 0x859A; + public static final int GL_OPERAND2_RGB_EXT = 0x8592; + public static final int GL_OPERAND3_ALPHA_NV = 0x859B; + public static final int GL_OPERAND3_RGB_NV = 0x8593; + public static final int GL_OR = 0x1507; + public static final int GL_ORDER = 0x0A01; + public static final int GL_OR_INVERTED = 0x150D; + public static final int GL_OR_REVERSE = 0x150B; + public static final int GL_OUT_OF_MEMORY = 0x0505; + public static final int GL_PACK_ALIGNMENT = 0x0D05; + public static final int GL_PACK_CMYK_HINT_EXT = 0x800E; + public static final int GL_PACK_IMAGE_DEPTH_SGIS = 0x8131; + public static final int GL_PACK_IMAGE_HEIGHT = 0x806C; + public static final int GL_PACK_IMAGE_HEIGHT_EXT = 0x806C; + public static final int GL_PACK_LSB_FIRST = 0x0D01; + public static final int GL_PACK_ROW_LENGTH = 0x0D02; + public static final int GL_PACK_SKIP_IMAGES = 0x806B; + public static final int GL_PACK_SKIP_IMAGES_EXT = 0x806B; + public static final int GL_PACK_SKIP_PIXELS = 0x0D04; + public static final int GL_PACK_SKIP_ROWS = 0x0D03; + public static final int GL_PACK_SKIP_VOLUMES_SGIS = 0x8130; + public static final int GL_PACK_SWAP_BYTES = 0x0D00; + public static final int GL_PASS_THROUGH_TOKEN = 0x0700; + public static final int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50; + public static final int GL_PERTURB_EXT = 0x85AE; + public static final int GL_PHONG_HINT_WIN = 0x80EB; + public static final int GL_PHONG_WIN = 0x80EA; + public static final int GL_PIXEL_CUBIC_WEIGHT_EXT = 0x8333; + public static final int GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS = 0x1002; + public static final int GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS = 0x1001; + public static final int GL_PIXEL_GROUP_COLOR_SGIS = 0x1003; + public static final int GL_PIXEL_MAG_FILTER_EXT = 0x8331; + public static final int GL_PIXEL_MAP_A_TO_A = 0x0C79; + public static final int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9; + public static final int GL_PIXEL_MAP_B_TO_B = 0x0C78; + public static final int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8; + public static final int GL_PIXEL_MAP_G_TO_G = 0x0C77; + public static final int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7; + public static final int GL_PIXEL_MAP_I_TO_A = 0x0C75; + public static final int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5; + public static final int GL_PIXEL_MAP_I_TO_B = 0x0C74; + public static final int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4; + public static final int GL_PIXEL_MAP_I_TO_G = 0x0C73; + public static final int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3; + public static final int GL_PIXEL_MAP_I_TO_I = 0x0C70; + public static final int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0; + public static final int GL_PIXEL_MAP_I_TO_R = 0x0C72; + public static final int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2; + public static final int GL_PIXEL_MAP_R_TO_R = 0x0C76; + public static final int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6; + public static final int GL_PIXEL_MAP_S_TO_S = 0x0C71; + public static final int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1; + public static final int GL_PIXEL_MIN_FILTER_EXT = 0x8332; + public static final int GL_PIXEL_MODE_BIT = 0x00000020; + public static final int GL_PIXEL_TEXTURE_SGIS = 0x1000; + public static final int GL_PIXEL_TEX_GEN_MODE_SGIX = 0x832B; + public static final int GL_PIXEL_TEX_GEN_SGIX = 0x8139; + public static final int GL_PIXEL_TRANSFORM_2D_EXT = 0x8330; + public static final int GL_PIXEL_TRANSFORM_2D_MATRIX_EXT = 0x8338; + public static final int GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT = 0x8336; + public static final int GL_POINT = 0x1B00; + public static final int GL_POINTS = 0x0000; + public static final int GL_POINT_BIT = 0x00000002; + public static final int GL_POINT_FADE_THRESHOLD_SIZE_EXT = 0x8128; + public static final int GL_POINT_SIZE = 0x0B11; + public static final int GL_POINT_SIZE_GRANULARITY = 0x0B13; + public static final int GL_POINT_SIZE_MAX_EXT = 0x8127; + public static final int GL_POINT_SIZE_MIN_EXT = 0x8126; + public static final int GL_POINT_SIZE_RANGE = 0x0B12; + public static final int GL_POINT_SMOOTH = 0x0B10; + public static final int GL_POINT_SMOOTH_HINT = 0x0C51; + public static final int GL_POINT_TOKEN = 0x0701; + public static final int GL_POLYGON = 0x0009; + public static final int GL_POLYGON_BIT = 0x00000008; + public static final int GL_POLYGON_MODE = 0x0B40; + public static final int GL_POLYGON_OFFSET_BIAS_EXT = 0x8039; + public static final int GL_POLYGON_OFFSET_EXT = 0x8037; + public static final int GL_POLYGON_OFFSET_FACTOR = 0x8038; + public static final int GL_POLYGON_OFFSET_FACTOR_EXT = 0x8038; + public static final int GL_POLYGON_OFFSET_FILL = 0x8037; + public static final int GL_POLYGON_OFFSET_LINE = 0x2A02; + public static final int GL_POLYGON_OFFSET_POINT = 0x2A01; + public static final int GL_POLYGON_OFFSET_UNITS = 0x2A00; + public static final int GL_POLYGON_SMOOTH = 0x0B41; + public static final int GL_POLYGON_SMOOTH_HINT = 0x0C53; + public static final int GL_POLYGON_STIPPLE = 0x0B42; + public static final int GL_POLYGON_STIPPLE_BIT = 0x00000010; + public static final int GL_POLYGON_TOKEN = 0x0703; + public static final int GL_POSITION = 0x1203; + public static final int GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB; + public static final int GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI = 0x80BB; + public static final int GL_POST_COLOR_MATRIX_ALPHA_SCALE = 0x80B7; + public static final int GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI = 0x80B7; + public static final int GL_POST_COLOR_MATRIX_BLUE_BIAS = 0x80BA; + public static final int GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI = 0x80BA; + public static final int GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6; + public static final int GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI = 0x80B6; + public static final int GL_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D2; + public static final int GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D2; + public static final int GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9; + public static final int GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI = 0x80B9; + public static final int GL_POST_COLOR_MATRIX_GREEN_SCALE = 0x80B5; + public static final int GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI = 0x80B5; + public static final int GL_POST_COLOR_MATRIX_RED_BIAS = 0x80B8; + public static final int GL_POST_COLOR_MATRIX_RED_BIAS_SGI = 0x80B8; + public static final int GL_POST_COLOR_MATRIX_RED_SCALE = 0x80B4; + public static final int GL_POST_COLOR_MATRIX_RED_SCALE_SGI = 0x80B4; + public static final int GL_POST_CONVOLUTION_ALPHA_BIAS = 0x8023; + public static final int GL_POST_CONVOLUTION_ALPHA_BIAS_EXT = 0x8023; + public static final int GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F; + public static final int GL_POST_CONVOLUTION_ALPHA_SCALE_EXT = 0x801F; + public static final int GL_POST_CONVOLUTION_BLUE_BIAS = 0x8022; + public static final int GL_POST_CONVOLUTION_BLUE_BIAS_EXT = 0x8022; + public static final int GL_POST_CONVOLUTION_BLUE_SCALE = 0x801E; + public static final int GL_POST_CONVOLUTION_BLUE_SCALE_EXT = 0x801E; + public static final int GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1; + public static final int GL_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D1; + public static final int GL_POST_CONVOLUTION_GREEN_BIAS = 0x8021; + public static final int GL_POST_CONVOLUTION_GREEN_BIAS_EXT = 0x8021; + public static final int GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D; + public static final int GL_POST_CONVOLUTION_GREEN_SCALE_EXT = 0x801D; + public static final int GL_POST_CONVOLUTION_RED_BIAS = 0x8020; + public static final int GL_POST_CONVOLUTION_RED_BIAS_EXT = 0x8020; + public static final int GL_POST_CONVOLUTION_RED_SCALE = 0x801C; + public static final int GL_POST_CONVOLUTION_RED_SCALE_EXT = 0x801C; + public static final int GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX = 0x817B; + public static final int GL_POST_TEXTURE_FILTER_BIAS_SGIX = 0x8179; + public static final int GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX = 0x817C; + public static final int GL_POST_TEXTURE_FILTER_SCALE_SGIX = 0x817A; + public static final int GL_PREFER_DOUBLEBUFFER_HINT_PGI = 107000; + public static final int GL_PREVIOUS_EXT = 0x8578; + public static final int GL_PRIMARY_COLOR_EXT = 0x8577; + public static final int GL_PRIMARY_COLOR_NV = 0x852C; + public static final int GL_PROJECTION = 0x1701; + public static final int GL_PROJECTION_MATRIX = 0x0BA7; + public static final int GL_PROJECTION_STACK_DEPTH = 0x0BA4; + public static final int GL_PROXY_COLOR_TABLE = 0x80D3; + public static final int GL_PROXY_COLOR_TABLE_SGI = 0x80D3; + public static final int GL_PROXY_HISTOGRAM = 0x8025; + public static final int GL_PROXY_HISTOGRAM_EXT = 0x8025; + public static final int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5; + public static final int GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI = 0x80D5; + public static final int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4; + public static final int GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI = 0x80D4; + public static final int GL_PROXY_TEXTURE_1D = 0x8063; + public static final int GL_PROXY_TEXTURE_1D_EXT = 0x8063; + public static final int GL_PROXY_TEXTURE_2D = 0x8064; + public static final int GL_PROXY_TEXTURE_2D_EXT = 0x8064; + public static final int GL_PROXY_TEXTURE_3D = 0x8070; + public static final int GL_PROXY_TEXTURE_3D_EXT = 0x8070; + public static final int GL_PROXY_TEXTURE_4D_SGIS = 0x8135; + public static final int GL_PROXY_TEXTURE_COLOR_TABLE_SGI = 0x80BD; + public static final int GL_PROXY_TEXTURE_CUBE_MAP_EXT = 0x851B; + public static final int GL_Q = 0x2003; + public static final int GL_QUADRATIC_ATTENUATION = 0x1209; + public static final int GL_QUADS = 0x0007; + public static final int GL_QUAD_ALPHA4_SGIS = 0x811E; + public static final int GL_QUAD_ALPHA8_SGIS = 0x811F; + public static final int GL_QUAD_INTENSITY4_SGIS = 0x8122; + public static final int GL_QUAD_INTENSITY8_SGIS = 0x8123; + public static final int GL_QUAD_LUMINANCE4_SGIS0 = 0x8120; + public static final int GL_QUAD_LUMINANCE8_SGIS = 0x8121; + public static final int GL_QUAD_STRIP = 0x0008; + public static final int GL_QUAD_TEXTURE_SELECT_SGIS = 0x8125; + public static final int GL_R = 0x2002; + public static final int GL_R1UI_C3F_V3F_SUN = 0x85C6; + public static final int GL_R1UI_C4F_N3F_V3F_SUN = 0x85C8; + public static final int GL_R1UI_C4UB_V3F_SUN = 0x85C5; + public static final int GL_R1UI_N3F_V3F_SUN = 0x85C7; + public static final int GL_R1UI_T2F_C4F_N3F_V3F_SUN = 0x85CB; + public static final int GL_R1UI_T2F_N3F_V3F_SUN = 0x85CA; + public static final int GL_R1UI_T2F_V3F_SUN = 0x85C9; + public static final int GL_R1UI_V3F_SUN = 0x85C4; + public static final int GL_R3_G3_B2 = 0x2A10; + public static final int GL_READ_BUFFER = 0x0C02; + public static final int GL_RECLAIM_MEMORY_HINT_PGI = 107006; + public static final int GL_RED = 0x1903; + public static final int GL_REDUCE = 0x8016; + public static final int GL_REDUCE_EXT = 0x8016; + public static final int GL_RED_BIAS = 0x0D15; + public static final int GL_RED_BITS = 0x0D52; + public static final int GL_RED_MAX_CLAMP_INGR = 0x8564; + public static final int GL_RED_MIN_CLAMP_INGR = 0x8560; + public static final int GL_RED_SCALE = 0x0D14; + public static final int GL_REFERENCE_PLANE_EQUATION_SGIX = 0x817E; + public static final int GL_REFERENCE_PLANE_SGIX = 0x817D; + public static final int GL_REFLECTION_MAP_EXT = 0x8512; + public static final int GL_REFLECTION_MAP_NV = 0x8512; + public static final int GL_REGISTER_COMBINERS_NV = 0x8522; + public static final int GL_RENDER = 0x1C00; + public static final int GL_RENDERER = 0x1F01; + public static final int GL_RENDER_MODE = 0x0C40; + public static final int GL_REPEAT = 0x2901; + public static final int GL_REPLACE = 0x1E01; + public static final int GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN = 0x85C3; + public static final int GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN = 0x85C2; + public static final int GL_REPLACEMENT_CODE_ARRAY_SUN = 0x85C0; + public static final int GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN = 0x85C1; + public static final int GL_REPLACEMENT_CODE_SUN = 0x81D8; + public static final int GL_REPLACE_EXT = 0x8062; + public static final int GL_REPLACE_MIDDLE_SUN = 0x02; + public static final int GL_REPLACE_OLDEST_SUN = 0x03; + public static final int GL_REPLICATE_BORDER = 0x8153; + public static final int GL_RESCALE_NORMAL = 0x803A; + public static final int GL_RESCALE_NORMAL_EXT = 0x803A; + public static final int GL_RESTART_SUN = 0x01; + public static final int GL_RETURN = 0x0102; + public static final int GL_RGB = 0x1907; + public static final int GL_RGB10 = 0x8052; + public static final int GL_RGB10_A2 = 0x8059; + public static final int GL_RGB10_A2_EXT = 0x8059; + public static final int GL_RGB10_EXT = 0x8052; + public static final int GL_RGB12 = 0x8053; + public static final int GL_RGB12_EXT = 0x8053; + public static final int GL_RGB16 = 0x8054; + public static final int GL_RGB16_EXT = 0x8054; + public static final int GL_RGB2_EXT = 0x804E; + public static final int GL_RGB4 = 0x804F; + public static final int GL_RGB4_EXT = 0x804F; + public static final int GL_RGB5 = 0x8050; + public static final int GL_RGB5_A1 = 0x8057; + public static final int GL_RGB5_A1_EXT = 0x8057; + public static final int GL_RGB5_EXT = 0x8050; + public static final int GL_RGB8 = 0x8051; + public static final int GL_RGB8_EXT = 0x8051; + public static final int GL_RGBA = 0x1908; + public static final int GL_RGBA12 = 0x805A; + public static final int GL_RGBA12_EXT = 0x805A; + public static final int GL_RGBA16 = 0x805B; + public static final int GL_RGBA16_EXT = 0x805B; + public static final int GL_RGBA2 = 0x8055; + public static final int GL_RGBA2_EXT = 0x8055; + public static final int GL_RGBA4 = 0x8056; + public static final int GL_RGBA4_EXT = 0x8056; + public static final int GL_RGBA8 = 0x8058; + public static final int GL_RGBA8_EXT = 0x8058; + public static final int GL_RGBA_MODE = 0x0C31; + public static final int GL_RGB_SCALE_EXT = 0x8573; + public static final int GL_RIGHT = 0x0407; + public static final int GL_S = 0x2000; + public static final int GL_SAMPLES_ARB = 0x80A9; + public static final int GL_SAMPLES_SGIS = 0x80A9; + public static final int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809E; + public static final int GL_SAMPLE_ALPHA_TO_MASK_SGIS = 0x809E; + public static final int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809F; + public static final int GL_SAMPLE_ALPHA_TO_ONE_SGIS = 0x809F; + public static final int GL_SAMPLE_BUFFERS_ARB = 0x80A8; + public static final int GL_SAMPLE_BUFFERS_SGIS = 0x80A8; + public static final int GL_SAMPLE_COVERAGE_ARB = 0x80A0; + public static final int GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80AB; + public static final int GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80AA; + public static final int GL_SAMPLE_MASK_INVERT_SGIS = 0x80AB; + public static final int GL_SAMPLE_MASK_SGIS = 0x80A0; + public static final int GL_SAMPLE_MASK_VALUE_SGIS = 0x80AA; + public static final int GL_SAMPLE_MAX_PASSES_ARB = 0x84E7; + public static final int GL_SAMPLE_PASS_ARB = 0x84E8; + public static final int GL_SAMPLE_PATTERN_SGIS = 0x80AC; + public static final int GL_SCALE_BY_FOUR_NV = 0x853F; + public static final int GL_SCALE_BY_ONE_HALF_NV = 0x8540; + public static final int GL_SCALE_BY_TWO_NV = 0x853E; + public static final int GL_SCISSOR_BIT = 0x00080000; + public static final int GL_SCISSOR_BOX = 0x0C10; + public static final int GL_SCISSOR_TEST = 0x0C11; + public static final int GL_SCREEN_COORDINATES_REND = 0x8490; + public static final int GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E; + public static final int GL_SECONDARY_COLOR_ARRAY_POINTER_EXT = 0x845D; + public static final int GL_SECONDARY_COLOR_ARRAY_SIZE_EXT = 0x845A; + public static final int GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT = 0x845C; + public static final int GL_SECONDARY_COLOR_ARRAY_TYPE_EXT = 0x845B; + public static final int GL_SECONDARY_COLOR_NV = 0x852D; + public static final int GL_SELECT = 0x1C02; + public static final int GL_SELECTION_BUFFER_POINTER = 0x0DF3; + public static final int GL_SELECTION_BUFFER_SIZE = 0x0DF4; + public static final int GL_SEPARABLE_2D = 0x8012; + public static final int GL_SEPARABLE_2D_EXT = 0x8012; + public static final int GL_SEPARATE_SPECULAR_COLOR = 0x81FA; + public static final int GL_SEPARATE_SPECULAR_COLOR_EXT = 0x81FA; + public static final int GL_SET = 0x150F; + public static final int GL_SHADE_MODEL = 0x0B54; + public static final int GL_SHADOW_ATTENUATION_EXT = 0x834E; + public static final int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB; + public static final int GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS = 0x80B0; + public static final int GL_SHININESS = 0x1601; + public static final int GL_SHORT = 0x1402; + public static final int GL_SIGNED_IDENTITY_NV = 0x853C; + public static final int GL_SIGNED_NEGATE_NV = 0x853D; + public static final int GL_SINGLE_COLOR = 0x81F9; + public static final int GL_SINGLE_COLOR_EXT = 0x81F9; + public static final int GL_SMOOTH = 0x1D01; + public static final int GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23; + public static final int GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22; + public static final int GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13; + public static final int GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12; + public static final int GL_SOURCE0_ALPHA_EXT = 0x8588; + public static final int GL_SOURCE0_RGB_EXT = 0x8580; + public static final int GL_SOURCE1_ALPHA_EXT = 0x8589; + public static final int GL_SOURCE1_RGB_EXT = 0x8581; + public static final int GL_SOURCE2_ALPHA_EXT = 0x858A; + public static final int GL_SOURCE2_RGB_EXT = 0x8582; + public static final int GL_SOURCE3_ALPHA_NV = 0x858B; + public static final int GL_SOURCE3_RGB_NV = 0x8583; + public static final int GL_SPARE0_NV = 0x852E; + public static final int GL_SPARE0_PLUS_SECONDARY_COLOR_NV = 0x8532; + public static final int GL_SPARE1_NV = 0x852F; + public static final int GL_SPECULAR = 0x1202; + public static final int GL_SPHERE_MAP = 0x2402; + public static final int GL_SPOT_CUTOFF = 0x1206; + public static final int GL_SPOT_DIRECTION = 0x1204; + public static final int GL_SPOT_EXPONENT = 0x1205; + public static final int GL_SPRITE_AXIAL_SGIX = 0x814C; + public static final int GL_SPRITE_AXIS_SGIX = 0x814A; + public static final int GL_SPRITE_EYE_ALIGNED_SGIX = 0x814E; + public static final int GL_SPRITE_MODE_SGIX = 0x8149; + public static final int GL_SPRITE_OBJECT_ALIGNED_SGIX = 0x814D; + public static final int GL_SPRITE_SGIX = 0x8148; + public static final int GL_SPRITE_TRANSLATION_SGIX = 0x814B; + public static final int GL_SRC_ALPHA = 0x0302; + public static final int GL_SRC_ALPHA_SATURATE = 0x0308; + public static final int GL_SRC_COLOR = 0x0300; + public static final int GL_STACK_OVERFLOW = 0x0503; + public static final int GL_STACK_UNDERFLOW = 0x0504; + public static final int GL_STATIC_VERTEX_ARRAY_IBM = 0x19295; + public static final int GL_STENCIL = 0x1802; + public static final int GL_STENCIL_BITS = 0x0D57; + public static final int GL_STENCIL_BUFFER_BIT = 0x00000400; + public static final int GL_STENCIL_CLEAR_VALUE = 0x0B91; + public static final int GL_STENCIL_FAIL = 0x0B94; + public static final int GL_STENCIL_FUNC = 0x0B92; + public static final int GL_STENCIL_INDEX = 0x1901; + public static final int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; + public static final int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; + public static final int GL_STENCIL_REF = 0x0B97; + public static final int GL_STENCIL_TEST = 0x0B90; + public static final int GL_STENCIL_VALUE_MASK = 0x0B93; + public static final int GL_STENCIL_WRITEMASK = 0x0B98; + public static final int GL_STEREO = 0x0C33; + public static final int GL_STRICT_DEPTHFUNC_HINT_PGI = 107030; + public static final int GL_STRICT_LIGHTING_HINT_PGI = 107031; + public static final int GL_STRICT_SCISSOR_HINT_PGI = 107032; + public static final int GL_SUBPIXEL_BITS = 0x0D50; + public static final int GL_T = 0x2001; + public static final int GL_T2F_C3F_V3F = 0x2A2A; + public static final int GL_T2F_C4F_N3F_V3F = 0x2A2C; + public static final int GL_T2F_C4UB_V3F = 0x2A29; + public static final int GL_T2F_N3F_V3F = 0x2A2B; + public static final int GL_T2F_V3F = 0x2A27; + public static final int GL_T4F_C4F_N3F_V4F = 0x2A2D; + public static final int GL_T4F_V4F = 0x2A28; + public static final int GL_TABLE_TOO_LARGE = 0x8031; + public static final int GL_TABLE_TOO_LARGE_EXT = 0x8031; + public static final int GL_TANGENT_ARRAY_EXT = 0x8439; + public static final int GL_TANGENT_ARRAY_POINTER_EXT = 0x8442; + public static final int GL_TANGENT_ARRAY_STRIDE_EXT = 0x843F; + public static final int GL_TANGENT_ARRAY_TYPE_EXT = 0x843E; + public static final int GL_TEXTURE = 0x1702; + public static final int GL_TEXTURE0_ARB = 0x84C0; + public static final int GL_TEXTURE10_ARB = 0x84CA; + public static final int GL_TEXTURE11_ARB = 0x84CB; + public static final int GL_TEXTURE12_ARB = 0x84CC; + public static final int GL_TEXTURE13_ARB = 0x84CD; + public static final int GL_TEXTURE14_ARB = 0x84CE; + public static final int GL_TEXTURE15_ARB = 0x84CF; + public static final int GL_TEXTURE16_ARB = 0x84D0; + public static final int GL_TEXTURE17_ARB = 0x84D1; + public static final int GL_TEXTURE18_ARB = 0x84D2; + public static final int GL_TEXTURE19_ARB = 0x84D3; + public static final int GL_TEXTURE1_ARB = 0x84C1; + public static final int GL_TEXTURE20_ARB = 0x84D4; + public static final int GL_TEXTURE21_ARB = 0x84D5; + public static final int GL_TEXTURE22_ARB = 0x84D6; + public static final int GL_TEXTURE23_ARB = 0x84D7; + public static final int GL_TEXTURE24_ARB = 0x84D8; + public static final int GL_TEXTURE25_ARB = 0x84D9; + public static final int GL_TEXTURE26_ARB = 0x84DA; + public static final int GL_TEXTURE27_ARB = 0x84DB; + public static final int GL_TEXTURE28_ARB = 0x84DC; + public static final int GL_TEXTURE29_ARB = 0x84DD; + public static final int GL_TEXTURE2_ARB = 0x84C2; + public static final int GL_TEXTURE30_ARB = 0x84DE; + public static final int GL_TEXTURE31_ARB = 0x84DF; + public static final int GL_TEXTURE3_ARB = 0x84C3; + public static final int GL_TEXTURE4_ARB = 0x84C4; + public static final int GL_TEXTURE5_ARB = 0x84C5; + public static final int GL_TEXTURE6_ARB = 0x84C6; + public static final int GL_TEXTURE7_ARB = 0x84C7; + public static final int GL_TEXTURE8_ARB = 0x84C8; + public static final int GL_TEXTURE9_ARB = 0x84C9; + public static final int GL_TEXTURE_1D = 0x0DE0; + public static final int GL_TEXTURE_1D_BINDING_EXT = 0x8068; + public static final int GL_TEXTURE_2D = 0x0DE1; + public static final int GL_TEXTURE_2D_BINDING_EXT = 0x8069; + public static final int GL_TEXTURE_3D = 0x806F; + public static final int GL_TEXTURE_3D_BINDING_EXT = 0x806A; + public static final int GL_TEXTURE_3D_EXT = 0x806F; + public static final int GL_TEXTURE_4DSIZE_SGIS = 0x8136; + public static final int GL_TEXTURE_4D_BINDING_SGIS = 0x814F; + public static final int GL_TEXTURE_4D_SGIS = 0x8134; + public static final int GL_TEXTURE_ALPHA_SIZE = 0x805F; + public static final int GL_TEXTURE_ALPHA_SIZE_EXT = 0x805F; + public static final int GL_TEXTURE_APPLICATION_MODE_EXT = 0x834F; + public static final int GL_TEXTURE_BASE_LEVEL = 0x813C; + public static final int GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C; + public static final int GL_TEXTURE_BINDING_1D = 0x8068; + public static final int GL_TEXTURE_BINDING_2D = 0x8069; + public static final int GL_TEXTURE_BINDING_3D = 0x806A; + public static final int GL_TEXTURE_BINDING_CUBE_MAP_EXT = 0x8514; + public static final int GL_TEXTURE_BIT = 0x00040000; + public static final int GL_TEXTURE_BLUE_SIZE = 0x805E; + public static final int GL_TEXTURE_BLUE_SIZE_EXT = 0x805E; + public static final int GL_TEXTURE_BORDER = 0x1005; + public static final int GL_TEXTURE_BORDER_COLOR = 0x1004; + public static final int GL_TEXTURE_CLIPMAP_CENTER_SGIX = 0x8171; + public static final int GL_TEXTURE_CLIPMAP_DEPTH_SGIX = 0x8176; + public static final int GL_TEXTURE_CLIPMAP_FRAME_SGIX = 0x8172; + public static final int GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX = 0x8175; + public static final int GL_TEXTURE_CLIPMAP_OFFSET_SGIX = 0x8173; + public static final int GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX = 0x8174; + public static final int GL_TEXTURE_COMPARE_OPERATOR_SGIX = 0x819B; + public static final int GL_TEXTURE_COMPARE_SGIX = 0x819A; + public static final int GL_TEXTURE_COMPONENTS = 0x1003; + public static final int GL_TEXTURE_COMPRESSED_ARB = 0x86A1; + public static final int GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = 0x86A0; + public static final int GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF; + public static final int GL_TEXTURE_CONSTANT_DATA_SUNX = 0x81D6; + public static final int GL_TEXTURE_COORD_ARRAY = 0x8078; + public static final int GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B; + public static final int GL_TEXTURE_COORD_ARRAY_EXT = 0x8078; + public static final int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092; + public static final int GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092; + public static final int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088; + public static final int GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088; + public static final int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A; + public static final int GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A; + public static final int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089; + public static final int GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089; + public static final int GL_TEXTURE_CUBE_MAP_EXT = 0x8513; + public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT = 0x8516; + public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT = 0x8518; + public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT = 0x851A; + public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT = 0x8515; + public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT = 0x8517; + public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT = 0x8519; + public static final int GL_TEXTURE_DEPTH = 0x8071; + public static final int GL_TEXTURE_DEPTH_EXT = 0x8071; + public static final int GL_TEXTURE_ENV = 0x2300; + public static final int GL_TEXTURE_ENV_BIAS_SGIX = 0x80BE; + public static final int GL_TEXTURE_ENV_COLOR = 0x2201; + public static final int GL_TEXTURE_ENV_MODE = 0x2200; + public static final int GL_TEXTURE_FILTER4_SIZE_SGIS = 0x8147; + public static final int GL_TEXTURE_FILTER_CONTROL_EXT = 0x8500; + public static final int GL_TEXTURE_GEN_MODE = 0x2500; + public static final int GL_TEXTURE_GEN_Q = 0x0C63; + public static final int GL_TEXTURE_GEN_R = 0x0C62; + public static final int GL_TEXTURE_GEN_S = 0x0C60; + public static final int GL_TEXTURE_GEN_T = 0x0C61; + public static final int GL_TEXTURE_GEQUAL_R_SGIX = 0x819D; + public static final int GL_TEXTURE_GREEN_SIZE = 0x805D; + public static final int GL_TEXTURE_GREEN_SIZE_EXT = 0x805D; + public static final int GL_TEXTURE_HEIGHT = 0x1001; + public static final int GL_TEXTURE_INDEX_SIZE_EXT = 0x80ED; + public static final int GL_TEXTURE_INTENSITY_SIZE = 0x8061; + public static final int GL_TEXTURE_INTENSITY_SIZE_EXT = 0x8061; + public static final int GL_TEXTURE_INTERNAL_FORMAT = 0x1003; + public static final int GL_TEXTURE_LEQUAL_R_SGIX = 0x819C; + public static final int GL_TEXTURE_LIGHT_EXT = 0x8350; + public static final int GL_TEXTURE_LOD_BIAS_EXT = 0x8501; + public static final int GL_TEXTURE_LOD_BIAS_R_SGIX = 0x8190; + public static final int GL_TEXTURE_LOD_BIAS_S_SGIX = 0x818E; + public static final int GL_TEXTURE_LOD_BIAS_T_SGIX = 0x818F; + public static final int GL_TEXTURE_LUMINANCE_SIZE = 0x8060; + public static final int GL_TEXTURE_LUMINANCE_SIZE_EXT = 0x8060; + public static final int GL_TEXTURE_MAG_FILTER = 0x2800; + public static final int GL_TEXTURE_MATERIAL_FACE_EXT = 0x8351; + public static final int GL_TEXTURE_MATERIAL_PARAMETER_EXT = 0x8352; + public static final int GL_TEXTURE_MATRIX = 0x0BA8; + public static final int GL_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; + public static final int GL_TEXTURE_MAX_LEVEL = 0x813D; + public static final int GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D; + public static final int GL_TEXTURE_MAX_LOD = 0x813B; + public static final int GL_TEXTURE_MAX_LOD_SGIS = 0x813B; + public static final int GL_TEXTURE_MIN_FILTER = 0x2801; + public static final int GL_TEXTURE_MIN_LOD = 0x813A; + public static final int GL_TEXTURE_MIN_LOD_SGIS = 0x813A; + public static final int GL_TEXTURE_NORMAL_EXT = 0x85AF; + public static final int GL_TEXTURE_PRIORITY = 0x8066; + public static final int GL_TEXTURE_PRIORITY_EXT = 0x8066; + public static final int GL_TEXTURE_RED_SIZE = 0x805C; + public static final int GL_TEXTURE_RED_SIZE_EXT = 0x805C; + public static final int GL_TEXTURE_RESIDENT = 0x8067; + public static final int GL_TEXTURE_RESIDENT_EXT = 0x8067; + public static final int GL_TEXTURE_STACK_DEPTH = 0x0BA5; + public static final int GL_TEXTURE_WIDTH = 0x1000; + public static final int GL_TEXTURE_WRAP_Q_SGIS = 0x8137; + public static final int GL_TEXTURE_WRAP_R = 0x8072; + public static final int GL_TEXTURE_WRAP_R_EXT = 0x8072; + public static final int GL_TEXTURE_WRAP_S = 0x2802; + public static final int GL_TEXTURE_WRAP_T = 0x2803; + public static final int GL_TRANSFORM_BIT = 0x00001000; + public static final int GL_TRANSFORM_HINT_APPLE = 0x85B1; + public static final int GL_TRANSPOSE_COLOR_MATRIX_ARB = 0x84E6; + public static final int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB = 0x84E3; + public static final int GL_TRANSPOSE_PROJECTION_MATRIX_ARB = 0x84E4; + public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB = 0x84E5; + public static final int GL_TRIANGLES = 0x0004; + public static final int GL_TRIANGLE_FAN = 0x0006; + public static final int GL_TRIANGLE_LIST_SUN = 0x81D7; + public static final int GL_TRIANGLE_STRIP = 0x0005; + public static final int GL_UNPACK_ALIGNMENT = 0x0CF5; + public static final int GL_UNPACK_CMYK_HINT_EXT = 0x800F; + public static final int GL_UNPACK_CONSTANT_DATA_SUNX = 0x81D5; + public static final int GL_UNPACK_IMAGE_DEPTH_SGIS = 0x8133; + public static final int GL_UNPACK_IMAGE_HEIGHT = 0x806E; + public static final int GL_UNPACK_IMAGE_HEIGHT_EXT = 0x806E; + public static final int GL_UNPACK_LSB_FIRST = 0x0CF1; + public static final int GL_UNPACK_ROW_LENGTH = 0x0CF2; + public static final int GL_UNPACK_SKIP_IMAGES = 0x806D; + public static final int GL_UNPACK_SKIP_IMAGES_EXT = 0x806D; + public static final int GL_UNPACK_SKIP_PIXELS = 0x0CF4; + public static final int GL_UNPACK_SKIP_ROWS = 0x0CF3; + public static final int GL_UNPACK_SKIP_VOLUMES_SGIS = 0x8132; + public static final int GL_UNPACK_SWAP_BYTES = 0x0CF0; + public static final int GL_UNSIGNED_BYTE = 0x1401; + public static final int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362; + public static final int GL_UNSIGNED_BYTE_3_3_2 = 0x8032; + public static final int GL_UNSIGNED_BYTE_3_3_2_EXT = 0x8032; + public static final int GL_UNSIGNED_IDENTITY_NV = 0x8536; + public static final int GL_UNSIGNED_INT = 0x1405; + public static final int GL_UNSIGNED_INT_10_10_10_2 = 0x8036; + public static final int GL_UNSIGNED_INT_10_10_10_2_EXT = 0x8036; + public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368; + public static final int GL_UNSIGNED_INT_8_8_8_8 = 0x8035; + public static final int GL_UNSIGNED_INT_8_8_8_8_EXT = 0x8035; + public static final int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367; + public static final int GL_UNSIGNED_INVERT_NV = 0x8537; + public static final int GL_UNSIGNED_SHORT = 0x1403; + public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366; + public static final int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033; + public static final int GL_UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033; + public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365; + public static final int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034; + public static final int GL_UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034; + public static final int GL_UNSIGNED_SHORT_5_6_5 = 0x8363; + public static final int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364; + public static final int GL_V2F = 0x2A20; + public static final int GL_V3F = 0x2A21; + public static final int GL_VARIABLE_A_NV = 0x8523; + public static final int GL_VARIABLE_B_NV = 0x8524; + public static final int GL_VARIABLE_C_NV = 0x8525; + public static final int GL_VARIABLE_D_NV = 0x8526; + public static final int GL_VARIABLE_E_NV = 0x8527; + public static final int GL_VARIABLE_F_NV = 0x8528; + public static final int GL_VARIABLE_G_NV = 0x8529; + public static final int GL_VATERIAL_SIDE_HINT_PGI = 107052; + public static final int GL_VAT_AMBIENT_AND_DIFFUSE_BIT_PGI = 0x00200000; + public static final int GL_VAT_AMBIENT_BIT_PGI = 0x00100000; + public static final int GL_VAT_COLOR_INDEXES_BIT_PGI = 0x01000000; + public static final int GL_VAT_DIFFUSE_BIT_PGI = 0x00400000; + public static final int GL_VAT_EMISSION_BIT_PGI = 0x00800000; + public static final int GL_VAT_SHININESS_BIT_PGI = 0x02000000; + public static final int GL_VAT_SPECULAR_BIT_PGI = 0x04000000; + public static final int GL_VAX_VERTEX_HINT_PGI = 107053; + public static final int GL_VDGEFLAG_BIT_PGI = 0x00040000; + public static final int GL_VENDOR = 0x1F00; + public static final int GL_VERSION = 0x1F02; + public static final int GL_VERTEX23_BIT_PGI = 0x00000004; + public static final int GL_VERTEX4_BIT_PGI = 0x00000008; + public static final int GL_VERTEX_ARRAY = 0x8074; + public static final int GL_VERTEX_ARRAY_COUNT_EXT = 0x807D; + public static final int GL_VERTEX_ARRAY_EXT = 0x8074; + public static final int GL_VERTEX_ARRAY_POINTER = 0x808E; + public static final int GL_VERTEX_ARRAY_POINTER_EXT = 0x808E; + public static final int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E; + public static final int GL_VERTEX_ARRAY_RANGE_NV = 0x851D; + public static final int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521; + public static final int GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F; + public static final int GL_VERTEX_ARRAY_SIZE = 0x807A; + public static final int GL_VERTEX_ARRAY_SIZE_EXT = 0x807A; + public static final int GL_VERTEX_ARRAY_STRIDE = 0x807C; + public static final int GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C; + public static final int GL_VERTEX_ARRAY_TYPE = 0x807B; + public static final int GL_VERTEX_ARRAY_TYPE_EXT = 0x807B; + public static final int GL_VERTEX_CONSISTENT_HINT_PGI = 107051; + public static final int GL_VERTEX_DATA_HINT_PGI = 107050; + public static final int GL_VERTEX_WEIGHTING_EXT = 0x8509; + public static final int GL_VERTEX_WEIGHT_ARRAY_EXT = 0x850C; + public static final int GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT = 0x8510; + public static final int GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT = 0x850D; + public static final int GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT = 0x850F; + public static final int GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT = 0x850E; + public static final int GL_VEXCOORD1_BIT_PGI = 0x10000000; + public static final int GL_VEXCOORD2_BIT_PGI = 0x20000000; + public static final int GL_VEXCOORD3_BIT_PGI = 0x40000000; + public static final int GL_VEXCOORD4_BIT_PGI = 0x80000000; + public static final int GL_VIEWPORT = 0x0BA2; + public static final int GL_VIEWPORT_BIT = 0x00000800; + public static final int GL_VNDEX_BIT_PGI = 0x00080000; + public static final int GL_VOLOR3_BIT_PGI = 0x00010000; + public static final int GL_VOLOR4_BIT_PGI = 0x00020000; + public static final int GL_VORMAL_BIT_PGI = 0x08000000; + public static final int GL_WIDE_LINE_HINT_PGI = 107042; + public static final int GL_WRAP_BORDER_SUN = 0x81D4; + public static final int GL_XOR = 0x1506; + public static final int GL_YCRCB_422_SGIX = 0x81BB; + public static final int GL_YCRCB_444_SGIX = 0x81BC; + 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.4 Beta: Java program parsed successfully. */ diff --git a/C2J/gl-funcnames.skel b/C2J/gl-funcnames.skel new file mode 100644 index 0000000..e2298a4 --- /dev/null +++ b/C2J/gl-funcnames.skel @@ -0,0 +1,445 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + + "glClearIndex", + "glClearColor", + "glClear", + "glIndexMask", + "glColorMask", + "glAlphaFunc", + "glBlendFunc", + "glLogicOp", + "glCullFace", + "glFrontFace", + "glPointSize", + "glLineWidth", + "glLineStipple", + "glPolygonMode", + "glPolygonOffset", + "glPolygonStipple", + "glGetPolygonStipple", + "glEdgeFlag", + "glEdgeFlagv", + "glScissor", + "glClipPlane", + "glGetClipPlane", + "glDrawBuffer", + "glReadBuffer", + "glEnable", + "glDisable", + "glIsEnabled", + "glEnableClientState", + "glDisableClientState", + "glGetBooleanv", + "glGetDoublev", + "glGetFloatv", + "glGetIntegerv", + "glPushAttrib", + "glPopAttrib", + "glPushClientAttrib", + "glPopClientAttrib", + "glRenderMode", + "glGetError", + "glFinish", + "glFlush", + "glHint", + "glClearDepth", + "glDepthFunc", + "glDepthMask", + "glDepthRange", + "glClearAccum", + "glAccum", + "glMatrixMode", + "glOrtho", + "glFrustum", + "glViewport", + "glPushMatrix", + "glPopMatrix", + "glLoadIdentity", + "glLoadMatrixd", + "glLoadMatrixf", + "glMultMatrixd", + "glMultMatrixf", + "glRotated", + "glRotatef", + "glScaled", + "glScalef", + "glTranslated", + "glTranslatef", + "glIsList", + "glDeleteLists", + "glGenLists", + "glNewList", + "glEndList", + "glCallList", + "glCallLists", + "glListBase", + "glBegin", + "glEnd", + "glVertex2d", + "glVertex2f", + "glVertex2i", + "glVertex2s", + "glVertex3d", + "glVertex3f", + "glVertex3i", + "glVertex3s", + "glVertex4d", + "glVertex4f", + "glVertex4i", + "glVertex4s", + "glVertex2dv", + "glVertex2fv", + "glVertex2iv", + "glVertex2sv", + "glVertex3dv", + "glVertex3fv", + "glVertex3iv", + "glVertex3sv", + "glVertex4dv", + "glVertex4fv", + "glVertex4iv", + "glVertex4sv", + "glNormal3b", + "glNormal3d", + "glNormal3f", + "glNormal3i", + "glNormal3s", + "glNormal3bv", + "glNormal3dv", + "glNormal3fv", + "glNormal3iv", + "glNormal3sv", + "glIndexd", + "glIndexf", + "glIndexi", + "glIndexs", + "glIndexub", + "glIndexdv", + "glIndexfv", + "glIndexiv", + "glIndexsv", + "glIndexubv", + "glColor3b", + "glColor3d", + "glColor3f", + "glColor3i", + "glColor3s", + "glColor3ub", + "glColor3ui", + "glColor3us", + "glColor4b", + "glColor4d", + "glColor4f", + "glColor4i", + "glColor4s", + "glColor4ub", + "glColor4ui", + "glColor4us", + "glColor3bv", + "glColor3dv", + "glColor3fv", + "glColor3iv", + "glColor3sv", + "glColor3ubv", + "glColor3uiv", + "glColor3usv", + "glColor4bv", + "glColor4dv", + "glColor4fv", + "glColor4iv", + "glColor4sv", + "glColor4ubv", + "glColor4uiv", + "glColor4usv", + "glTexCoord1d", + "glTexCoord1f", + "glTexCoord1i", + "glTexCoord1s", + "glTexCoord2d", + "glTexCoord2f", + "glTexCoord2i", + "glTexCoord2s", + "glTexCoord3d", + "glTexCoord3f", + "glTexCoord3i", + "glTexCoord3s", + "glTexCoord4d", + "glTexCoord4f", + "glTexCoord4i", + "glTexCoord4s", + "glTexCoord1dv", + "glTexCoord1fv", + "glTexCoord1iv", + "glTexCoord1sv", + "glTexCoord2dv", + "glTexCoord2fv", + "glTexCoord2iv", + "glTexCoord2sv", + "glTexCoord3dv", + "glTexCoord3fv", + "glTexCoord3iv", + "glTexCoord3sv", + "glTexCoord4dv", + "glTexCoord4fv", + "glTexCoord4iv", + "glTexCoord4sv", + "glRasterPos2d", + "glRasterPos2f", + "glRasterPos2i", + "glRasterPos2s", + "glRasterPos3d", + "glRasterPos3f", + "glRasterPos3i", + "glRasterPos3s", + "glRasterPos4d", + "glRasterPos4f", + "glRasterPos4i", + "glRasterPos4s", + "glRasterPos2dv", + "glRasterPos2fv", + "glRasterPos2iv", + "glRasterPos2sv", + "glRasterPos3dv", + "glRasterPos3fv", + "glRasterPos3iv", + "glRasterPos3sv", + "glRasterPos4dv", + "glRasterPos4fv", + "glRasterPos4iv", + "glRasterPos4sv", + "glRectd", + "glRectf", + "glRecti", + "glRects", + "glRectdv", + "glRectfv", + "glRectiv", + "glRectsv", + "glVertexPointer", + "glNormalPointer", + "glColorPointer", + "glIndexPointer", + "glTexCoordPointer", + "glEdgeFlagPointer", + "glGetPointerv", + "glArrayElement", + "glDrawArrays", + "glDrawElements", + "glInterleavedArrays", + "glShadeModel", + "glLightf", + "glLighti", + "glLightfv", + "glLightiv", + "glGetLightfv", + "glGetLightiv", + "glLightModelf", + "glLightModeli", + "glLightModelfv", + "glLightModeliv", + "glMaterialf", + "glMateriali", + "glMaterialfv", + "glMaterialiv", + "glGetMaterialfv", + "glGetMaterialiv", + "glColorMaterial", + "glPixelZoom", + "glPixelStoref", + "glPixelStorei", + "glPixelTransferf", + "glPixelTransferi", + "glPixelMapfv", + "glPixelMapuiv", + "glPixelMapusv", + "glGetPixelMapfv", + "glGetPixelMapuiv", + "glGetPixelMapusv", + "glBitmap", + "glReadPixels", + "glDrawPixels", + "glCopyPixels", + "glStencilFunc", + "glStencilMask", + "glStencilOp", + "glClearStencil", + "glTexGend", + "glTexGenf", + "glTexGeni", + "glTexGendv", + "glTexGenfv", + "glTexGeniv", + "glGetTexGendv", + "glGetTexGenfv", + "glGetTexGeniv", + "glTexEnvf", + "glTexEnvi", + "glTexEnvfv", + "glTexEnviv", + "glGetTexEnvfv", + "glGetTexEnviv", + "glTexParameterf", + "glTexParameteri", + "glTexParameterfv", + "glTexParameteriv", + "glGetTexParameterfv", + "glGetTexParameteriv", + "glGetTexLevelParameterfv", + "glGetTexLevelParameteriv", + "glTexImage1D", + "glTexImage2D", + "glGetTexImage", + "glGenTextures", + "glDeleteTextures", + "glBindTexture", + "glPrioritizeTextures", + "glAreTexturesResident", + "glIsTexture", + "glTexSubImage1D", + "glTexSubImage2D", + "glCopyTexImage1D", + "glCopyTexImage2D", + "glCopyTexSubImage1D", + "glCopyTexSubImage2D", + "glMap1d", + "glMap1f", + "glMap2d", + "glMap2f", + "glGetMapdv", + "glGetMapfv", + "glGetMapiv", + "glEvalCoord1d", + "glEvalCoord1f", + "glEvalCoord1dv", + "glEvalCoord1fv", + "glEvalCoord2d", + "glEvalCoord2f", + "glEvalCoord2dv", + "glEvalCoord2fv", + "glMapGrid1d", + "glMapGrid1f", + "glMapGrid2d", + "glMapGrid2f", + "glEvalPoint1", + "glEvalPoint2", + "glEvalMesh1", + "glEvalMesh2", + "glFogf", + "glFogi", + "glFogfv", + "glFogiv", + "glFeedbackBuffer", + "glPassThrough", + "glSelectBuffer", + "glInitNames", + "glLoadName", + "glPushName", + "glPopName", + "glDrawRangeElements", + "glTexImage3D", + "glTexSubImage3D", + "glCopyTexSubImage3D", + "glColorTable", + "glColorSubTable", + "glColorTableParameteriv", + "glColorTableParameterfv", + "glCopyColorSubTable", + "glCopyColorTable", + "glGetColorTable", + "glGetColorTableParameterfv", + "glGetColorTableParameteriv", + "glBlendEquation", + "glBlendColor", + "glHistogram", + "glResetHistogram", + "glGetHistogram", + "glGetHistogramParameterfv", + "glGetHistogramParameteriv", + "glMinmax", + "glResetMinmax", + "glGetMinmax", + "glGetMinmaxParameterfv", + "glGetMinmaxParameteriv", + "glConvolutionFilter1D", + "glConvolutionFilter2D", + "glConvolutionParameterf", + "glConvolutionParameterfv", + "glConvolutionParameteri", + "glConvolutionParameteriv", + "glCopyConvolutionFilter1D", + "glCopyConvolutionFilter2D", + "glGetConvolutionFilter", + "glGetConvolutionParameterfv", + "glGetConvolutionParameteriv", + "glSeparableFilter2D", + "glGetSeparableFilter", + "glBlendColorEXT", + "glPolygonOffsetEXT", + "glTexImage3DEXT", + "glTexSubImage3DEXT", + "glCopyTexSubImage3DEXT", + "glGenTexturesEXT", + "glDeleteTexturesEXT", + "glBindTextureEXT", + "glPrioritizeTexturesEXT", + "glAreTexturesResidentEXT", + "glIsTextureEXT", + "glVertexPointerEXT", + "glNormalPointerEXT", + "glColorPointerEXT", + "glIndexPointerEXT", + "glTexCoordPointerEXT", + "glEdgeFlagPointerEXT", + "glGetPointervEXT", + "glArrayElementEXT", + "glDrawArraysEXT", + "glBlendEquationEXT", + "glPointParameterfEXT", + "glPointParameterfvEXT", + "glColorTableEXT", + "glColorSubTableEXT", + "glGetColorTableEXT", + "glGetColorTableParameterfvEXT", + "glGetColorTableParameterivEXT", + "glLockArraysEXT", + "glUnlockArraysEXT", + "glActiveTextureARB", + "glClientActiveTextureARB", + "glMultiTexCoord1dARB", + "glMultiTexCoord1dvARB", + "glMultiTexCoord1fARB", + "glMultiTexCoord1fvARB", + "glMultiTexCoord1iARB", + "glMultiTexCoord1ivARB", + "glMultiTexCoord1sARB", + "glMultiTexCoord1svARB", + "glMultiTexCoord2dARB", + "glMultiTexCoord2dvARB", + "glMultiTexCoord2fARB", + "glMultiTexCoord2fvARB", + "glMultiTexCoord2iARB", + "glMultiTexCoord2ivARB", + "glMultiTexCoord2sARB", + "glMultiTexCoord2svARB", + "glMultiTexCoord3dARB", + "glMultiTexCoord3dvARB", + "glMultiTexCoord3fARB", + "glMultiTexCoord3fvARB", + "glMultiTexCoord3iARB", + "glMultiTexCoord3ivARB", + "glMultiTexCoord3sARB", + "glMultiTexCoord3svARB", + "glMultiTexCoord4dARB", + "glMultiTexCoord4dvARB", + "glMultiTexCoord4fARB", + "glMultiTexCoord4fvARB", + "glMultiTexCoord4iARB", + "glMultiTexCoord4ivARB", + "glMultiTexCoord4sARB", + "glMultiTexCoord4svARB", +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/gl-proto-auto.java b/C2J/gl-proto-auto.java new file mode 100644 index 0000000..386ea7a --- /dev/null +++ b/C2J/gl-proto-auto.java @@ -0,0 +1,6955 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void glClearIndex ( GLfloat c ) ;
+ * 
+ */ + public final native void glClearIndex ( + float c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + public final native void glClearColor ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClear ( GLbitfield mask ) ;
+ * 
+ */ + public final native void glClear ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexMask ( GLuint mask ) ;
+ * 
+ */ + public final native void glIndexMask ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * 
+ */ + public final native void glColorMask ( + boolean red, + boolean green, + boolean blue, + boolean alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * 
+ */ + public final native void glAlphaFunc ( + int func, + float ref + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * 
+ */ + public final native void glBlendFunc ( + int sfactor, + int dfactor + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLogicOp ( GLenum opcode ) ;
+ * 
+ */ + public final native void glLogicOp ( + int opcode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCullFace ( GLenum mode ) ;
+ * 
+ */ + public final native void glCullFace ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFrontFace ( GLenum mode ) ;
+ * 
+ */ + public final native void glFrontFace ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPointSize ( GLfloat size ) ;
+ * 
+ */ + public final native void glPointSize ( + float size + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLineWidth ( GLfloat width ) ;
+ * 
+ */ + public final native void glLineWidth ( + float width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * 
+ */ + public final native void glLineStipple ( + int factor, + short pattern + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * 
+ */ + public final native void glPolygonMode ( + int face, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * 
+ */ + public final native void glPolygonOffset ( + float factor, + float units + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * 
+ */ + public final native void glPolygonStipple ( + byte[] mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * 
+ */ + public final native void glGetPolygonStipple ( + byte[] mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlag ( GLboolean flag ) ;
+ * 
+ */ + public final native void glEdgeFlag ( + boolean flag + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * 
+ */ + public final native void glEdgeFlagv ( + boolean[] flag + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public final native void glScissor ( + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * 
+ */ + public final native void glClipPlane ( + int plane, + double[] equation + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * 
+ */ + public final native void glGetClipPlane ( + int plane, + double[] equation + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawBuffer ( GLenum mode ) ;
+ * 
+ */ + public final native void glDrawBuffer ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glReadBuffer ( GLenum mode ) ;
+ * 
+ */ + public final native void glReadBuffer ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEnable ( GLenum cap ) ;
+ * 
+ */ + public final native void glEnable ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDisable ( GLenum cap ) ;
+ * 
+ */ + public final native void glDisable ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * 
+ */ + public final native boolean glIsEnabled ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEnableClientState ( GLenum cap ) ;
+ * 
+ */ + public final native void glEnableClientState ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDisableClientState ( GLenum cap ) ;
+ * 
+ */ + public final native void glDisableClientState ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * 
+ */ + public final native void glGetBooleanv ( + int pname, + boolean[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * 
+ */ + public final native void glGetDoublev ( + int pname, + double[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetFloatv ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetIntegerv ( + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushAttrib ( GLbitfield mask ) ;
+ * 
+ */ + public final native void glPushAttrib ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopAttrib ( void ) ;
+ * 
+ */ + public final native void glPopAttrib ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * 
+ */ + public final native void glPushClientAttrib ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopClientAttrib ( void ) ;
+ * 
+ */ + public final native void glPopClientAttrib ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint glRenderMode ( GLenum mode ) ;
+ * 
+ */ + public final native int glRenderMode ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLenum glGetError ( void ) ;
+ * 
+ */ + public final native int glGetError ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFinish ( void ) ;
+ * 
+ */ + public final native void glFinish ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFlush ( void ) ;
+ * 
+ */ + public final native void glFlush ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glHint ( GLenum target , GLenum mode ) ;
+ * 
+ */ + public final native void glHint ( + int target, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearDepth ( GLclampd depth ) ;
+ * 
+ */ + public final native void glClearDepth ( + double depth + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthFunc ( GLenum func ) ;
+ * 
+ */ + public final native void glDepthFunc ( + int func + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthMask ( GLboolean flag ) ;
+ * 
+ */ + public final native void glDepthMask ( + boolean flag + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * 
+ */ + public final native void glDepthRange ( + double near_val, + double far_val + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + public final native void glClearAccum ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glAccum ( GLenum op , GLfloat value ) ;
+ * 
+ */ + public final native void glAccum ( + int op, + float value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMatrixMode ( GLenum mode ) ;
+ * 
+ */ + public final native void glMatrixMode ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + public final native void glOrtho ( + double left, + double right, + double bottom, + double top, + double near_val, + double far_val + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + public final native void glFrustum ( + double left, + double right, + double bottom, + double top, + double near_val, + double far_val + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public final native void glViewport ( + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushMatrix ( void ) ;
+ * 
+ */ + public final native void glPushMatrix ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopMatrix ( void ) ;
+ * 
+ */ + public final native void glPopMatrix ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadIdentity ( void ) ;
+ * 
+ */ + public final native void glLoadIdentity ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + public final native void glLoadMatrixd ( + double[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + public final native void glLoadMatrixf ( + float[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + public final native void glMultMatrixd ( + double[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + public final native void glMultMatrixf ( + float[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public final native void glRotated ( + double angle, + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public final native void glRotatef ( + float angle, + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public final native void glScaled ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public final native void glScalef ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public final native void glTranslated ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public final native void glTranslatef ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsList ( GLuint list ) ;
+ * 
+ */ + public final native boolean glIsList ( + int list + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * 
+ */ + public final native void glDeleteLists ( + int list, + int range + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLuint glGenLists ( GLsizei range ) ;
+ * 
+ */ + public final native int glGenLists ( + int range + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNewList ( GLuint list , GLenum mode ) ;
+ * 
+ */ + public final native void glNewList ( + int list, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEndList ( void ) ;
+ * 
+ */ + public final native void glEndList ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCallList ( GLuint list ) ;
+ * 
+ */ + public final native void glCallList ( + int list + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * 
+ */ + public final native void glCallLists ( + int n, + int type, + byte[] lists + ) ; + public final native void glCallLists ( + int n, + int type, + short[] lists + ) ; + public final native void glCallLists ( + int n, + int type, + int[] lists + ) ; + public final native void glCallLists ( + int n, + int type, + float[] lists + ) ; + public final native void glCallLists ( + int n, + int type, + double[] lists + ) ; + public final native void glCallLists ( + int n, + int type, + boolean[] lists + ) ; + public final native void glCallLists ( + int n, + int type, + long[] lists + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glListBase ( GLuint base ) ;
+ * 
+ */ + public final native void glListBase ( + int base + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBegin ( GLenum mode ) ;
+ * 
+ */ + public final native void glBegin ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEnd ( void ) ;
+ * 
+ */ + public final native void glEnd ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + public final native void glVertex2d ( + double x, + double y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + public final native void glVertex2f ( + float x, + float y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2i ( GLint x , GLint y ) ;
+ * 
+ */ + public final native void glVertex2i ( + int x, + int y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + public final native void glVertex2s ( + short x, + short y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public final native void glVertex3d ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public final native void glVertex3f ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + public final native void glVertex3i ( + int x, + int y, + int z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + public final native void glVertex3s ( + short x, + short y, + short z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + public final native void glVertex4d ( + double x, + double y, + double z, + double w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + public final native void glVertex4f ( + float x, + float y, + float z, + float w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + public final native void glVertex4i ( + int x, + int y, + int z, + int w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + public final native void glVertex4s ( + short x, + short y, + short z, + short w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glVertex2dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glVertex2fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glVertex2iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glVertex2sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glVertex3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glVertex3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glVertex3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glVertex3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glVertex4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glVertex4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glVertex4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glVertex4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * 
+ */ + public final native void glNormal3b ( + byte nx, + byte ny, + byte nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * 
+ */ + public final native void glNormal3d ( + double nx, + double ny, + double nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * 
+ */ + public final native void glNormal3f ( + float nx, + float ny, + float nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * 
+ */ + public final native void glNormal3i ( + int nx, + int ny, + int nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * 
+ */ + public final native void glNormal3s ( + short nx, + short ny, + short nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3bv ( const GLbyte * v ) ;
+ * 
+ */ + public final native void glNormal3bv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glNormal3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glNormal3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glNormal3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glNormal3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexd ( GLdouble c ) ;
+ * 
+ */ + public final native void glIndexd ( + double c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexf ( GLfloat c ) ;
+ * 
+ */ + public final native void glIndexf ( + float c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexi ( GLint c ) ;
+ * 
+ */ + public final native void glIndexi ( + int c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexs ( GLshort c ) ;
+ * 
+ */ + public final native void glIndexs ( + short c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexub ( GLubyte c ) ;
+ * 
+ */ + public final native void glIndexub ( + byte c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexdv ( const GLdouble * c ) ;
+ * 
+ */ + public final native void glIndexdv ( + double[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexfv ( const GLfloat * c ) ;
+ * 
+ */ + public final native void glIndexfv ( + float[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexiv ( const GLint * c ) ;
+ * 
+ */ + public final native void glIndexiv ( + int[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexsv ( const GLshort * c ) ;
+ * 
+ */ + public final native void glIndexsv ( + short[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexubv ( const GLubyte * c ) ;
+ * 
+ */ + public final native void glIndexubv ( + byte[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * 
+ */ + public final native void glColor3b ( + byte red, + byte green, + byte blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * 
+ */ + public final native void glColor3d ( + double red, + double green, + double blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * 
+ */ + public final native void glColor3f ( + float red, + float green, + float blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * 
+ */ + public final native void glColor3i ( + int red, + int green, + int blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * 
+ */ + public final native void glColor3s ( + short red, + short green, + short blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * 
+ */ + public final native void glColor3ub ( + byte red, + byte green, + byte blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * 
+ */ + public final native void glColor3ui ( + int red, + int green, + int blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * 
+ */ + public final native void glColor3us ( + short red, + short green, + short blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * 
+ */ + public final native void glColor4b ( + byte red, + byte green, + byte blue, + byte alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * 
+ */ + public final native void glColor4d ( + double red, + double green, + double blue, + double alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + public final native void glColor4f ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * 
+ */ + public final native void glColor4i ( + int red, + int green, + int blue, + int alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * 
+ */ + public final native void glColor4s ( + short red, + short green, + short blue, + short alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * 
+ */ + public final native void glColor4ub ( + byte red, + byte green, + byte blue, + byte alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * 
+ */ + public final native void glColor4ui ( + int red, + int green, + int blue, + int alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * 
+ */ + public final native void glColor4us ( + short red, + short green, + short blue, + short alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3bv ( const GLbyte * v ) ;
+ * 
+ */ + public final native void glColor3bv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glColor3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glColor3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glColor3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glColor3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ubv ( const GLubyte * v ) ;
+ * 
+ */ + public final native void glColor3ubv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3uiv ( const GLuint * v ) ;
+ * 
+ */ + public final native void glColor3uiv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3usv ( const GLushort * v ) ;
+ * 
+ */ + public final native void glColor3usv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4bv ( const GLbyte * v ) ;
+ * 
+ */ + public final native void glColor4bv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glColor4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glColor4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glColor4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glColor4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ubv ( const GLubyte * v ) ;
+ * 
+ */ + public final native void glColor4ubv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4uiv ( const GLuint * v ) ;
+ * 
+ */ + public final native void glColor4uiv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4usv ( const GLushort * v ) ;
+ * 
+ */ + public final native void glColor4usv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1d ( GLdouble s ) ;
+ * 
+ */ + public final native void glTexCoord1d ( + double s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1f ( GLfloat s ) ;
+ * 
+ */ + public final native void glTexCoord1f ( + float s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1i ( GLint s ) ;
+ * 
+ */ + public final native void glTexCoord1i ( + int s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1s ( GLshort s ) ;
+ * 
+ */ + public final native void glTexCoord1s ( + short s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * 
+ */ + public final native void glTexCoord2d ( + double s, + double t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * 
+ */ + public final native void glTexCoord2f ( + float s, + float t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * 
+ */ + public final native void glTexCoord2i ( + int s, + int t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * 
+ */ + public final native void glTexCoord2s ( + short s, + short t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + public final native void glTexCoord3d ( + double s, + double t, + double r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + public final native void glTexCoord3f ( + float s, + float t, + float r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * 
+ */ + public final native void glTexCoord3i ( + int s, + int t, + int r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + public final native void glTexCoord3s ( + short s, + short t, + short r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + public final native void glTexCoord4d ( + double s, + double t, + double r, + double q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + public final native void glTexCoord4f ( + float s, + float t, + float r, + float q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + public final native void glTexCoord4i ( + int s, + int t, + int r, + int q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + public final native void glTexCoord4s ( + short s, + short t, + short r, + short q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glTexCoord1dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glTexCoord1fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glTexCoord1iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glTexCoord1sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glTexCoord2dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glTexCoord2fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glTexCoord2iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glTexCoord2sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glTexCoord3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glTexCoord3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glTexCoord3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glTexCoord3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glTexCoord4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glTexCoord4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glTexCoord4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glTexCoord4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + public final native void glRasterPos2d ( + double x, + double y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + public final native void glRasterPos2f ( + float x, + float y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * 
+ */ + public final native void glRasterPos2i ( + int x, + int y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + public final native void glRasterPos2s ( + short x, + short y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public final native void glRasterPos3d ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public final native void glRasterPos3f ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + public final native void glRasterPos3i ( + int x, + int y, + int z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + public final native void glRasterPos3s ( + short x, + short y, + short z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + public final native void glRasterPos4d ( + double x, + double y, + double z, + double w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + public final native void glRasterPos4f ( + float x, + float y, + float z, + float w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + public final native void glRasterPos4i ( + int x, + int y, + int z, + int w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + public final native void glRasterPos4s ( + short x, + short y, + short z, + short w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glRasterPos2dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glRasterPos2fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glRasterPos2iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glRasterPos2sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glRasterPos3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glRasterPos3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glRasterPos3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glRasterPos3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * 
+ */ + public final native void glRasterPos4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * 
+ */ + public final native void glRasterPos4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4iv ( const GLint * v ) ;
+ * 
+ */ + public final native void glRasterPos4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4sv ( const GLshort * v ) ;
+ * 
+ */ + public final native void glRasterPos4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * 
+ */ + public final native void glRectd ( + double x1, + double y1, + double x2, + double y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * 
+ */ + public final native void glRectf ( + float x1, + float y1, + float x2, + float y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * 
+ */ + public final native void glRecti ( + int x1, + int y1, + int x2, + int y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * 
+ */ + public final native void glRects ( + short x1, + short y1, + short x2, + short y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * 
+ */ + public final native void glRectdv ( + double[] v1, + double[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * 
+ */ + public final native void glRectfv ( + float[] v1, + float[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * 
+ */ + public final native void glRectiv ( + int[] v1, + int[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * 
+ */ + public final native void glRectsv ( + short[] v1, + short[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glVertexPointer ( + int size, + int type, + int stride, + byte[] ptr + ) ; + public final native void glVertexPointer ( + int size, + int type, + int stride, + short[] ptr + ) ; + public final native void glVertexPointer ( + int size, + int type, + int stride, + int[] ptr + ) ; + public final native void glVertexPointer ( + int size, + int type, + int stride, + float[] ptr + ) ; + public final native void glVertexPointer ( + int size, + int type, + int stride, + double[] ptr + ) ; + public final native void glVertexPointer ( + int size, + int type, + int stride, + boolean[] ptr + ) ; + public final native void glVertexPointer ( + int size, + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glNormalPointer ( + int type, + int stride, + byte[] ptr + ) ; + public final native void glNormalPointer ( + int type, + int stride, + short[] ptr + ) ; + public final native void glNormalPointer ( + int type, + int stride, + int[] ptr + ) ; + public final native void glNormalPointer ( + int type, + int stride, + float[] ptr + ) ; + public final native void glNormalPointer ( + int type, + int stride, + double[] ptr + ) ; + public final native void glNormalPointer ( + int type, + int stride, + boolean[] ptr + ) ; + public final native void glNormalPointer ( + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glColorPointer ( + int size, + int type, + int stride, + byte[] ptr + ) ; + public final native void glColorPointer ( + int size, + int type, + int stride, + short[] ptr + ) ; + public final native void glColorPointer ( + int size, + int type, + int stride, + int[] ptr + ) ; + public final native void glColorPointer ( + int size, + int type, + int stride, + float[] ptr + ) ; + public final native void glColorPointer ( + int size, + int type, + int stride, + double[] ptr + ) ; + public final native void glColorPointer ( + int size, + int type, + int stride, + boolean[] ptr + ) ; + public final native void glColorPointer ( + int size, + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glIndexPointer ( + int type, + int stride, + byte[] ptr + ) ; + public final native void glIndexPointer ( + int type, + int stride, + short[] ptr + ) ; + public final native void glIndexPointer ( + int type, + int stride, + int[] ptr + ) ; + public final native void glIndexPointer ( + int type, + int stride, + float[] ptr + ) ; + public final native void glIndexPointer ( + int type, + int stride, + double[] ptr + ) ; + public final native void glIndexPointer ( + int type, + int stride, + boolean[] ptr + ) ; + public final native void glIndexPointer ( + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glTexCoordPointer ( + int size, + int type, + int stride, + byte[] ptr + ) ; + public final native void glTexCoordPointer ( + int size, + int type, + int stride, + short[] ptr + ) ; + public final native void glTexCoordPointer ( + int size, + int type, + int stride, + int[] ptr + ) ; + public final native void glTexCoordPointer ( + int size, + int type, + int stride, + float[] ptr + ) ; + public final native void glTexCoordPointer ( + int size, + int type, + int stride, + double[] ptr + ) ; + public final native void glTexCoordPointer ( + int size, + int type, + int stride, + boolean[] ptr + ) ; + public final native void glTexCoordPointer ( + int size, + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glEdgeFlagPointer ( + int stride, + byte[] ptr + ) ; + public final native void glEdgeFlagPointer ( + int stride, + short[] ptr + ) ; + public final native void glEdgeFlagPointer ( + int stride, + int[] ptr + ) ; + public final native void glEdgeFlagPointer ( + int stride, + float[] ptr + ) ; + public final native void glEdgeFlagPointer ( + int stride, + double[] ptr + ) ; + public final native void glEdgeFlagPointer ( + int stride, + boolean[] ptr + ) ; + public final native void glEdgeFlagPointer ( + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * 
+ */ + public final native void glGetPointerv ( + int pname, + byte[][] params + ) ; + public final native void glGetPointerv ( + int pname, + short[][] params + ) ; + public final native void glGetPointerv ( + int pname, + int[][] params + ) ; + public final native void glGetPointerv ( + int pname, + float[][] params + ) ; + public final native void glGetPointerv ( + int pname, + double[][] params + ) ; + public final native void glGetPointerv ( + int pname, + boolean[][] params + ) ; + public final native void glGetPointerv ( + int pname, + long[][] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElement ( GLint i ) ;
+ * 
+ */ + public final native void glArrayElement ( + int i + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + public final native void glDrawArrays ( + int mode, + int first, + int count + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + public final native void glDrawElements ( + int mode, + int count, + int type, + byte[] indices + ) ; + public final native void glDrawElements ( + int mode, + int count, + int type, + short[] indices + ) ; + public final native void glDrawElements ( + int mode, + int count, + int type, + int[] indices + ) ; + public final native void glDrawElements ( + int mode, + int count, + int type, + float[] indices + ) ; + public final native void glDrawElements ( + int mode, + int count, + int type, + double[] indices + ) ; + public final native void glDrawElements ( + int mode, + int count, + int type, + boolean[] indices + ) ; + public final native void glDrawElements ( + int mode, + int count, + int type, + long[] indices + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * 
+ */ + public final native void glInterleavedArrays ( + int format, + int stride, + byte[] pointer + ) ; + public final native void glInterleavedArrays ( + int format, + int stride, + short[] pointer + ) ; + public final native void glInterleavedArrays ( + int format, + int stride, + int[] pointer + ) ; + public final native void glInterleavedArrays ( + int format, + int stride, + float[] pointer + ) ; + public final native void glInterleavedArrays ( + int format, + int stride, + double[] pointer + ) ; + public final native void glInterleavedArrays ( + int format, + int stride, + boolean[] pointer + ) ; + public final native void glInterleavedArrays ( + int format, + int stride, + long[] pointer + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glShadeModel ( GLenum mode ) ;
+ * 
+ */ + public final native void glShadeModel ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glLightf ( + int light, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glLighti ( + int light, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glLightfv ( + int light, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glLightiv ( + int light, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetLightfv ( + int light, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetLightiv ( + int light, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glLightModelf ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glLightModeli ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glLightModelfv ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glLightModeliv ( + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glMaterialf ( + int face, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glMateriali ( + int face, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glMaterialfv ( + int face, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glMaterialiv ( + int face, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetMaterialfv ( + int face, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetMaterialiv ( + int face, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * 
+ */ + public final native void glColorMaterial ( + int face, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * 
+ */ + public final native void glPixelZoom ( + float xfactor, + float yfactor + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glPixelStoref ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glPixelStorei ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glPixelTransferf ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glPixelTransferi ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * 
+ */ + public final native void glPixelMapfv ( + int map, + int mapsize, + float[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * 
+ */ + public final native void glPixelMapuiv ( + int map, + int mapsize, + int[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * 
+ */ + public final native void glPixelMapusv ( + int map, + int mapsize, + short[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * 
+ */ + public final native void glGetPixelMapfv ( + int map, + float[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * 
+ */ + public final native void glGetPixelMapuiv ( + int map, + int[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * 
+ */ + public final native void glGetPixelMapusv ( + int map, + short[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * 
+ */ + public final native void glBitmap ( + int width, + int height, + float xorig, + float yorig, + float xmove, + float ymove, + byte[] bitmap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + public final native void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + byte[] pixels + ) ; + public final native void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + short[] pixels + ) ; + public final native void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + int[] pixels + ) ; + public final native void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + float[] pixels + ) ; + public final native void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + double[] pixels + ) ; + public final native void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + boolean[] pixels + ) ; + public final native void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public final native void glDrawPixels ( + int width, + int height, + int format, + int type, + byte[] pixels + ) ; + public final native void glDrawPixels ( + int width, + int height, + int format, + int type, + short[] pixels + ) ; + public final native void glDrawPixels ( + int width, + int height, + int format, + int type, + int[] pixels + ) ; + public final native void glDrawPixels ( + int width, + int height, + int format, + int type, + float[] pixels + ) ; + public final native void glDrawPixels ( + int width, + int height, + int format, + int type, + double[] pixels + ) ; + public final native void glDrawPixels ( + int width, + int height, + int format, + int type, + boolean[] pixels + ) ; + public final native void glDrawPixels ( + int width, + int height, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * 
+ */ + public final native void glCopyPixels ( + int x, + int y, + int width, + int height, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * 
+ */ + public final native void glStencilFunc ( + int func, + int ref, + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilMask ( GLuint mask ) ;
+ * 
+ */ + public final native void glStencilMask ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * 
+ */ + public final native void glStencilOp ( + int fail, + int zfail, + int zpass + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearStencil ( GLint s ) ;
+ * 
+ */ + public final native void glClearStencil ( + int s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * 
+ */ + public final native void glTexGend ( + int coord, + int pname, + double param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glTexGenf ( + int coord, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glTexGeni ( + int coord, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * 
+ */ + public final native void glTexGendv ( + int coord, + int pname, + double[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glTexGenfv ( + int coord, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glTexGeniv ( + int coord, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * 
+ */ + public final native void glGetTexGendv ( + int coord, + int pname, + double[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetTexGenfv ( + int coord, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetTexGeniv ( + int coord, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glTexEnvf ( + int target, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glTexEnvi ( + int target, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glTexEnvfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glTexEnviv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetTexEnvfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetTexEnviv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glTexParameterf ( + int target, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glTexParameteri ( + int target, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glTexParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glTexParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetTexParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetTexParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetTexLevelParameterfv ( + int target, + int level, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetTexLevelParameteriv ( + int target, + int level, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public final native void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + byte[] pixels + ) ; + public final native void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + short[] pixels + ) ; + public final native void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + int[] pixels + ) ; + public final native void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + float[] pixels + ) ; + public final native void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + double[] pixels + ) ; + public final native void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + boolean[] pixels + ) ; + public final native void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public final native void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + byte[] pixels + ) ; + public final native void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + short[] pixels + ) ; + public final native void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + int[] pixels + ) ; + public final native void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + float[] pixels + ) ; + public final native void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + double[] pixels + ) ; + public final native void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + boolean[] pixels + ) ; + public final native void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + public final native void glGetTexImage ( + int target, + int level, + int format, + int type, + byte[] pixels + ) ; + public final native void glGetTexImage ( + int target, + int level, + int format, + int type, + short[] pixels + ) ; + public final native void glGetTexImage ( + int target, + int level, + int format, + int type, + int[] pixels + ) ; + public final native void glGetTexImage ( + int target, + int level, + int format, + int type, + float[] pixels + ) ; + public final native void glGetTexImage ( + int target, + int level, + int format, + int type, + double[] pixels + ) ; + public final native void glGetTexImage ( + int target, + int level, + int format, + int type, + boolean[] pixels + ) ; + public final native void glGetTexImage ( + int target, + int level, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + public final native void glGenTextures ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + public final native void glDeleteTextures ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * 
+ */ + public final native void glBindTexture ( + int target, + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + public final native void glPrioritizeTextures ( + int n, + int[] textures, + float[] priorities + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + public final native boolean glAreTexturesResident ( + int n, + int[] textures, + boolean[] residences + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTexture ( GLuint texture ) ;
+ * 
+ */ + public final native boolean glIsTexture ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public final native void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + byte[] pixels + ) ; + public final native void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + short[] pixels + ) ; + public final native void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + int[] pixels + ) ; + public final native void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + float[] pixels + ) ; + public final native void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + double[] pixels + ) ; + public final native void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + boolean[] pixels + ) ; + public final native void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public final native void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + byte[] pixels + ) ; + public final native void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + short[] pixels + ) ; + public final native void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + int[] pixels + ) ; + public final native void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + float[] pixels + ) ; + public final native void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + double[] pixels + ) ; + public final native void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + boolean[] pixels + ) ; + public final native void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * 
+ */ + public final native void glCopyTexImage1D ( + int target, + int level, + int internalformat, + int x, + int y, + int width, + int border + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * 
+ */ + public final native void glCopyTexImage2D ( + int target, + int level, + int internalformat, + int x, + int y, + int width, + int height, + int border + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public final native void glCopyTexSubImage1D ( + int target, + int level, + int xoffset, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public final native void glCopyTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * 
+ */ + public final native void glMap1d ( + int target, + double u1, + double u2, + int stride, + int order, + double[] points + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * 
+ */ + public final native void glMap1f ( + int target, + float u1, + float u2, + int stride, + int order, + float[] points + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * 
+ */ + public final 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 : + *
 
+   extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * 
+ */ + public final 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 : + *
 
+   extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * 
+ */ + public final native void glGetMapdv ( + int target, + int query, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * 
+ */ + public final native void glGetMapfv ( + int target, + int query, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * 
+ */ + public final native void glGetMapiv ( + int target, + int query, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1d ( GLdouble u ) ;
+ * 
+ */ + public final native void glEvalCoord1d ( + double u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1f ( GLfloat u ) ;
+ * 
+ */ + public final native void glEvalCoord1f ( + float u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * 
+ */ + public final native void glEvalCoord1dv ( + double[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * 
+ */ + public final native void glEvalCoord1fv ( + float[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * 
+ */ + public final native void glEvalCoord2d ( + double u, + double v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * 
+ */ + public final native void glEvalCoord2f ( + float u, + float v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * 
+ */ + public final native void glEvalCoord2dv ( + double[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * 
+ */ + public final native void glEvalCoord2fv ( + float[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * 
+ */ + public final native void glMapGrid1d ( + int un, + double u1, + double u2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * 
+ */ + public final native void glMapGrid1f ( + int un, + float u1, + float u2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * 
+ */ + public final native void glMapGrid2d ( + int un, + double u1, + double u2, + int vn, + double v1, + double v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * 
+ */ + public final native void glMapGrid2f ( + int un, + float u1, + float u2, + int vn, + float v1, + float v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint1 ( GLint i ) ;
+ * 
+ */ + public final native void glEvalPoint1 ( + int i + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * 
+ */ + public final native void glEvalPoint2 ( + int i, + int j + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * 
+ */ + public final native void glEvalMesh1 ( + int mode, + int i1, + int i2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * 
+ */ + public final native void glEvalMesh2 ( + int mode, + int i1, + int i2, + int j1, + int j2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glFogf ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogi ( GLenum pname , GLint param ) ;
+ * 
+ */ + public final native void glFogi ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glFogfv ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glFogiv ( + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * 
+ */ + public final native void glFeedbackBuffer ( + int size, + int type, + float[] buffer + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPassThrough ( GLfloat token ) ;
+ * 
+ */ + public final native void glPassThrough ( + float token + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * 
+ */ + public final native void glSelectBuffer ( + int size, + int[] buffer + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glInitNames ( void ) ;
+ * 
+ */ + public final native void glInitNames ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadName ( GLuint name ) ;
+ * 
+ */ + public final native void glLoadName ( + int name + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushName ( GLuint name ) ;
+ * 
+ */ + public final native void glPushName ( + int name + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopName ( void ) ;
+ * 
+ */ + public final native void glPopName ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + public final native void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + byte[] indices + ) ; + public final native void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + short[] indices + ) ; + public final native void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + int[] indices + ) ; + public final native void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + float[] indices + ) ; + public final native void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + double[] indices + ) ; + public final native void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + boolean[] indices + ) ; + public final native void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + long[] indices + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public final native void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + byte[] pixels + ) ; + public final native void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + short[] pixels + ) ; + public final native void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + int[] pixels + ) ; + public final native void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + float[] pixels + ) ; + public final native void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + double[] pixels + ) ; + public final native void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + boolean[] pixels + ) ; + public final 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 : + *
 
+   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 ) ;
+ * 
+ */ + public final 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 final 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 final 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 final 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 final 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 final 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 final 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 : + *
 
+   extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public final native void glCopyTexSubImage3D ( + int target, + int level, + int xoffset, + int yoffset, + int zoffset, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + public final native void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + byte[] table + ) ; + public final native void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + short[] table + ) ; + public final native void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + int[] table + ) ; + public final native void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + float[] table + ) ; + public final native void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + double[] table + ) ; + public final native void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + boolean[] table + ) ; + public final native void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + public final native void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + byte[] data + ) ; + public final native void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + short[] data + ) ; + public final native void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + int[] data + ) ; + public final native void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + float[] data + ) ; + public final native void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + double[] data + ) ; + public final native void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + boolean[] data + ) ; + public final native void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glColorTableParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glColorTableParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public final native void glCopyColorSubTable ( + int target, + int start, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public final native void glCopyColorTable ( + int target, + int internalformat, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + public final native void glGetColorTable ( + int target, + int format, + int type, + byte[] table + ) ; + public final native void glGetColorTable ( + int target, + int format, + int type, + short[] table + ) ; + public final native void glGetColorTable ( + int target, + int format, + int type, + int[] table + ) ; + public final native void glGetColorTable ( + int target, + int format, + int type, + float[] table + ) ; + public final native void glGetColorTable ( + int target, + int format, + int type, + double[] table + ) ; + public final native void glGetColorTable ( + int target, + int format, + int type, + boolean[] table + ) ; + public final native void glGetColorTable ( + int target, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetColorTableParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetColorTableParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquation ( GLenum mode ) ;
+ * 
+ */ + public final native void glBlendEquation ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + public final native void glBlendColor ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + public final native void glHistogram ( + int target, + int width, + int internalformat, + boolean sink + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glResetHistogram ( GLenum target ) ;
+ * 
+ */ + public final native void glResetHistogram ( + int target + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * 
+ */ + public final native void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + byte[] values + ) ; + public final native void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + short[] values + ) ; + public final native void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + int[] values + ) ; + public final native void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + float[] values + ) ; + public final native void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + double[] values + ) ; + public final native void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + boolean[] values + ) ; + public final native void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + long[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetHistogramParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetHistogramParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + public final native void glMinmax ( + int target, + int internalformat, + boolean sink + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glResetMinmax ( GLenum target ) ;
+ * 
+ */ + public final native void glResetMinmax ( + int target + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * 
+ */ + public final native void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + byte[] values + ) ; + public final native void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + short[] values + ) ; + public final native void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + int[] values + ) ; + public final native void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + float[] values + ) ; + public final native void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + double[] values + ) ; + public final native void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + boolean[] values + ) ; + public final native void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + long[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetMinmaxParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetMinmaxParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + public final native void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + byte[] image + ) ; + public final native void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + short[] image + ) ; + public final native void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + int[] image + ) ; + public final native void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + float[] image + ) ; + public final native void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + double[] image + ) ; + public final native void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + boolean[] image + ) ; + public final native void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + long[] image + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + public final native void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + byte[] image + ) ; + public final native void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + short[] image + ) ; + public final native void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + int[] image + ) ; + public final native void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + float[] image + ) ; + public final native void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + double[] image + ) ; + public final native void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + boolean[] image + ) ; + public final native void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + long[] image + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * 
+ */ + public final native void glConvolutionParameterf ( + int target, + int pname, + float params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glConvolutionParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * 
+ */ + public final native void glConvolutionParameteri ( + int target, + int pname, + int params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public final native void glConvolutionParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public final native void glCopyConvolutionFilter1D ( + int target, + int internalformat, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public final native void glCopyConvolutionFilter2D ( + int target, + int internalformat, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * 
+ */ + public final native void glGetConvolutionFilter ( + int target, + int format, + int type, + byte[] image + ) ; + public final native void glGetConvolutionFilter ( + int target, + int format, + int type, + short[] image + ) ; + public final native void glGetConvolutionFilter ( + int target, + int format, + int type, + int[] image + ) ; + public final native void glGetConvolutionFilter ( + int target, + int format, + int type, + float[] image + ) ; + public final native void glGetConvolutionFilter ( + int target, + int format, + int type, + double[] image + ) ; + public final native void glGetConvolutionFilter ( + int target, + int format, + int type, + boolean[] image + ) ; + public final native void glGetConvolutionFilter ( + int target, + int format, + int type, + long[] image + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetConvolutionParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetConvolutionParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * 
+ */ + public final native void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + byte[] row, + byte[] column + ) ; + public final native void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + short[] row, + short[] column + ) ; + public final native void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + int[] row, + int[] column + ) ; + public final native void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + float[] row, + float[] column + ) ; + public final native void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + double[] row, + double[] column + ) ; + public final native void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + boolean[] row, + boolean[] column + ) ; + public final native void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + long[] row, + long[] column + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * 
+ */ + public final native void glGetSeparableFilter ( + int target, + int format, + int type, + byte[] row, + byte[] column, + byte[] span + ) ; + public final native void glGetSeparableFilter ( + int target, + int format, + int type, + short[] row, + short[] column, + short[] span + ) ; + public final native void glGetSeparableFilter ( + int target, + int format, + int type, + int[] row, + int[] column, + int[] span + ) ; + public final native void glGetSeparableFilter ( + int target, + int format, + int type, + float[] row, + float[] column, + float[] span + ) ; + public final native void glGetSeparableFilter ( + int target, + int format, + int type, + double[] row, + double[] column, + double[] span + ) ; + public final native void glGetSeparableFilter ( + int target, + int format, + int type, + boolean[] row, + boolean[] column, + boolean[] span + ) ; + public final native void glGetSeparableFilter ( + int target, + int format, + int type, + long[] row, + long[] column, + long[] span + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + public final native void glBlendColorEXT ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * 
+ */ + public final native void glPolygonOffsetEXT ( + float factor, + float bias + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public final native void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + byte[] pixels + ) ; + public final native void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + short[] pixels + ) ; + public final native void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + int[] pixels + ) ; + public final native void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + float[] pixels + ) ; + public final native void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + double[] pixels + ) ; + public final native void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + boolean[] pixels + ) ; + public final 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 : + *
 
+   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 ) ;
+ * 
+ */ + public final 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 final 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 final 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 final 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 final 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 final 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 final 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 : + *
 
+   extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public final native void glCopyTexSubImage3DEXT ( + int target, + int level, + int xoffset, + int yoffset, + int zoffset, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + public final native void glGenTexturesEXT ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + public final native void glDeleteTexturesEXT ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * 
+ */ + public final native void glBindTextureEXT ( + int target, + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + public final native void glPrioritizeTexturesEXT ( + int n, + int[] textures, + float[] priorities + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + public final native boolean glAreTexturesResidentEXT ( + int n, + int[] textures, + boolean[] residences + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * 
+ */ + public final native boolean glIsTextureEXT ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + byte[] ptr + ) ; + public final native void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + short[] ptr + ) ; + public final native void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + int[] ptr + ) ; + public final native void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + float[] ptr + ) ; + public final native void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + double[] ptr + ) ; + public final native void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + boolean[] ptr + ) ; + public final native void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glNormalPointerEXT ( + int type, + int stride, + int count, + byte[] ptr + ) ; + public final native void glNormalPointerEXT ( + int type, + int stride, + int count, + short[] ptr + ) ; + public final native void glNormalPointerEXT ( + int type, + int stride, + int count, + int[] ptr + ) ; + public final native void glNormalPointerEXT ( + int type, + int stride, + int count, + float[] ptr + ) ; + public final native void glNormalPointerEXT ( + int type, + int stride, + int count, + double[] ptr + ) ; + public final native void glNormalPointerEXT ( + int type, + int stride, + int count, + boolean[] ptr + ) ; + public final native void glNormalPointerEXT ( + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + byte[] ptr + ) ; + public final native void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + short[] ptr + ) ; + public final native void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + int[] ptr + ) ; + public final native void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + float[] ptr + ) ; + public final native void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + double[] ptr + ) ; + public final native void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + boolean[] ptr + ) ; + public final native void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glIndexPointerEXT ( + int type, + int stride, + int count, + byte[] ptr + ) ; + public final native void glIndexPointerEXT ( + int type, + int stride, + int count, + short[] ptr + ) ; + public final native void glIndexPointerEXT ( + int type, + int stride, + int count, + int[] ptr + ) ; + public final native void glIndexPointerEXT ( + int type, + int stride, + int count, + float[] ptr + ) ; + public final native void glIndexPointerEXT ( + int type, + int stride, + int count, + double[] ptr + ) ; + public final native void glIndexPointerEXT ( + int type, + int stride, + int count, + boolean[] ptr + ) ; + public final native void glIndexPointerEXT ( + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public final native void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + byte[] ptr + ) ; + public final native void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + short[] ptr + ) ; + public final native void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + int[] ptr + ) ; + public final native void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + float[] ptr + ) ; + public final native void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + double[] ptr + ) ; + public final native void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + boolean[] ptr + ) ; + public final native void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * 
+ */ + public final native void glEdgeFlagPointerEXT ( + int stride, + int count, + boolean[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * 
+ */ + public final native void glGetPointervEXT ( + int pname, + byte[][] params + ) ; + public final native void glGetPointervEXT ( + int pname, + short[][] params + ) ; + public final native void glGetPointervEXT ( + int pname, + int[][] params + ) ; + public final native void glGetPointervEXT ( + int pname, + float[][] params + ) ; + public final native void glGetPointervEXT ( + int pname, + double[][] params + ) ; + public final native void glGetPointervEXT ( + int pname, + boolean[][] params + ) ; + public final native void glGetPointervEXT ( + int pname, + long[][] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElementEXT ( GLint i ) ;
+ * 
+ */ + public final native void glArrayElementEXT ( + int i + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + public final native void glDrawArraysEXT ( + int mode, + int first, + int count + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquationEXT ( GLenum mode ) ;
+ * 
+ */ + public final native void glBlendEquationEXT ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public final native void glPointParameterfEXT ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public final native void glPointParameterfvEXT ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + public final native void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + byte[] table + ) ; + public final native void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + short[] table + ) ; + public final native void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + int[] table + ) ; + public final native void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + float[] table + ) ; + public final native void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + double[] table + ) ; + public final native void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + boolean[] table + ) ; + public final native void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + public final native void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + byte[] data + ) ; + public final native void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + short[] data + ) ; + public final native void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + int[] data + ) ; + public final native void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + float[] data + ) ; + public final native void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + double[] data + ) ; + public final native void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + boolean[] data + ) ; + public final native void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + public final native void glGetColorTableEXT ( + int target, + int format, + int type, + byte[] table + ) ; + public final native void glGetColorTableEXT ( + int target, + int format, + int type, + short[] table + ) ; + public final native void glGetColorTableEXT ( + int target, + int format, + int type, + int[] table + ) ; + public final native void glGetColorTableEXT ( + int target, + int format, + int type, + float[] table + ) ; + public final native void glGetColorTableEXT ( + int target, + int format, + int type, + double[] table + ) ; + public final native void glGetColorTableEXT ( + int target, + int format, + int type, + boolean[] table + ) ; + public final native void glGetColorTableEXT ( + int target, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public final native void glGetColorTableParameterfvEXT ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public final native void glGetColorTableParameterivEXT ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * 
+ */ + public final native void glLockArraysEXT ( + int first, + int count + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glUnlockArraysEXT ( void ) ;
+ * 
+ */ + public final native void glUnlockArraysEXT ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + public final native void glActiveTextureARB ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + public final native void glClientActiveTextureARB ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * 
+ */ + public final native void glMultiTexCoord1dARB ( + int target, + double s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord1dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * 
+ */ + public final native void glMultiTexCoord1fARB ( + int target, + float s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord1fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * 
+ */ + public final native void glMultiTexCoord1iARB ( + int target, + int s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord1ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * 
+ */ + public final native void glMultiTexCoord1sARB ( + int target, + short s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord1svARB ( + int target, + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * 
+ */ + public final native void glMultiTexCoord2dARB ( + int target, + double s, + double t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord2dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * 
+ */ + public final native void glMultiTexCoord2fARB ( + int target, + float s, + float t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord2fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * 
+ */ + public final native void glMultiTexCoord2iARB ( + int target, + int s, + int t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord2ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * 
+ */ + public final native void glMultiTexCoord2sARB ( + int target, + short s, + short t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord2svARB ( + int target, + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + public final native void glMultiTexCoord3dARB ( + int target, + double s, + double t, + double r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord3dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + public final native void glMultiTexCoord3fARB ( + int target, + float s, + float t, + float r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord3fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * 
+ */ + public final native void glMultiTexCoord3iARB ( + int target, + int s, + int t, + int r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord3ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + public final native void glMultiTexCoord3sARB ( + int target, + short s, + short t, + short r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord3svARB ( + int target, + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + public final native void glMultiTexCoord4dARB ( + int target, + double s, + double t, + double r, + double q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord4dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + public final native void glMultiTexCoord4fARB ( + int target, + float s, + float t, + float r, + float q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord4fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + public final native void glMultiTexCoord4iARB ( + int target, + int s, + int t, + int r, + int q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord4ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + public final native void glMultiTexCoord4sARB ( + int target, + short s, + short t, + short r, + short q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public final native void glMultiTexCoord4svARB ( + int target, + short[] v + ) ; + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/gl-proto-dynauto-jni12.c b/C2J/gl-proto-dynauto-jni12.c new file mode 100644 index 0000000..2861745 --- /dev/null +++ b/C2J/gl-proto-dynauto-jni12.c @@ -0,0 +1,23574 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void glClearIndex ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearIndex ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glClearIndex", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glClearColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClear ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClear ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glClear", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIndexMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMask ( + JNIEnv *env, jobject obj, + jboolean red, + jboolean green, + jboolean blue, + jboolean alpha) + { + static void (CALLBACK *__func_ptr__)(GLboolean, GLboolean, GLboolean, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean, GLboolean, GLboolean, GLboolean)) + getGLProcAddressHelper("glColorMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) red, + (GLboolean) green, + (GLboolean) blue, + (GLboolean) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAlphaFunc ( + JNIEnv *env, jobject obj, + jint func, + jfloat ref) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLclampf)) + getGLProcAddressHelper("glAlphaFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLclampf) ref + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendFunc ( + JNIEnv *env, jobject obj, + jint sfactor, + jint dfactor) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glBlendFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) sfactor, + (GLenum) dfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLogicOp ( GLenum opcode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLogicOp ( + JNIEnv *env, jobject obj, + jint opcode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glLogicOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) opcode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCullFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCullFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glCullFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrontFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrontFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glFrontFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointSize ( GLfloat size ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointSize ( + JNIEnv *env, jobject obj, + jfloat size) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPointSize", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) size + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineWidth ( GLfloat width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineWidth ( + JNIEnv *env, jobject obj, + jfloat width) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glLineWidth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineStipple ( + JNIEnv *env, jobject obj, + jint factor, + jshort pattern) + { + static void (CALLBACK *__func_ptr__)(GLint, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLushort)) + getGLProcAddressHelper("glLineStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) factor, + (GLushort) pattern + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonMode ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glPolygonMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffset ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat units) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffset", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) units + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + + 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__ ( + (GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlag ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlag ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glEdgeFlag", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( + JNIEnv *env, jobject obj, + jbooleanArray flag) + { + static void (CALLBACK *__func_ptr__)(const GLboolean *) = NULL; + jboolean *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__ ( + (const GLboolean *) ptr0 + ); + + if(flag!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, flag, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScissor ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glScissor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) plane, + (const GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + 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__ ( + (GLenum) plane, + (GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDrawBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glReadBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsEnabled ( + JNIEnv *env, jobject obj, + jint cap) + { + static jboolean (CALLBACK *__func_ptr__)(GLenum) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glIsEnabled", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLenum) cap + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetBooleanv ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLboolean *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetDoublev ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLdouble *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetFloatv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetIntegerv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopClientAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint glRenderMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glRenderMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static jint (CALLBACK *__func_ptr__)(GLenum) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glRenderMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLenum) mode + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLenum glGetError ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGetError ( + JNIEnv *env, jobject obj) + { + static jint (CALLBACK *__func_ptr__)() = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)()) + getGLProcAddressHelper("glGetError", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFinish ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFinish ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFinish", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFlush ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFlush ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFlush", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHint ( GLenum target , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHint ( + JNIEnv *env, jobject obj, + jint target, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glHint", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearDepth ( GLclampd depth ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearDepth ( + JNIEnv *env, jobject obj, + jdouble depth) + { + static void (CALLBACK *__func_ptr__)(GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd)) + getGLProcAddressHelper("glClearDepth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) depth + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthFunc ( GLenum func ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthFunc ( + JNIEnv *env, jobject obj, + jint func) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDepthFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthMask ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthMask ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glDepthMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthRange ( + JNIEnv *env, jobject obj, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLclampd, GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd, GLclampd)) + getGLProcAddressHelper("glDepthRange", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) near_val, + (GLclampd) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearAccum ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glClearAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAccum ( GLenum op , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAccum ( + JNIEnv *env, jobject obj, + jint op, + jfloat value) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) op, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMatrixMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMatrixMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glMatrixMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glOrtho ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glOrtho", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrustum ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glFrustum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glViewport ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glViewport", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPushMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadIdentity ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadIdentity ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glLoadIdentity", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotated ( + JNIEnv *env, jobject obj, + jdouble angle, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRotated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) angle, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotatef ( + JNIEnv *env, jobject obj, + jfloat angle, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRotatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) angle, + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScaled ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glScaled", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScalef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glScalef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslated ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTranslated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslatef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTranslatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsList ( + JNIEnv *env, jobject obj, + jint list) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsList", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) list + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteLists ( + JNIEnv *env, jobject obj, + jint list, + jint range) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLsizei)) + getGLProcAddressHelper("glDeleteLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLsizei) range + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLuint glGenLists ( GLsizei range ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGenLists ( + JNIEnv *env, jobject obj, + jint range) + { + static jint (CALLBACK *__func_ptr__)(GLsizei) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLsizei)) + getGLProcAddressHelper("glGenLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLsizei) range + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNewList ( GLuint list , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNewList ( + JNIEnv *env, jobject obj, + jint list, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLenum)) + getGLProcAddressHelper("glNewList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEndList ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEndList ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEndList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallList ( + JNIEnv *env, jobject obj, + jint list) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glCallList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbyteArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jshortArray lists) + { + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jintArray lists) + { + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jfloatArray lists) + { + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jdoubleArray lists) + { + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbooleanArray lists) + { + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jlongArray lists) + { + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glListBase ( GLuint base ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glListBase ( + JNIEnv *env, jobject obj, + jint base) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glListBase", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) base + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBegin ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBegin ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBegin", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnd ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnd ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEnd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glVertex2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glVertex2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3b ( + JNIEnv *env, jobject obj, + jbyte nx, + jbyte ny, + jbyte nz) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glNormal3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) nx, + (GLbyte) ny, + (GLbyte) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3d ( + JNIEnv *env, jobject obj, + jdouble nx, + jdouble ny, + jdouble nz) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glNormal3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) nx, + (GLdouble) ny, + (GLdouble) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3f ( + JNIEnv *env, jobject obj, + jfloat nx, + jfloat ny, + jfloat nz) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glNormal3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) nx, + (GLfloat) ny, + (GLfloat) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3i ( + JNIEnv *env, jobject obj, + jint nx, + jint ny, + jint nz) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glNormal3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) nx, + (GLint) ny, + (GLint) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3s ( + JNIEnv *env, jobject obj, + jshort nx, + jshort ny, + jshort nz) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glNormal3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) nx, + (GLshort) ny, + (GLshort) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + 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__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexd ( GLdouble c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexd ( + JNIEnv *env, jobject obj, + jdouble c) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glIndexd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexf ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexf ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glIndexf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexi ( GLint c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexi ( + JNIEnv *env, jobject obj, + jint c) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glIndexi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexs ( GLshort c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexs ( + JNIEnv *env, jobject obj, + jshort c) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glIndexs", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexub ( GLubyte c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexub ( + JNIEnv *env, jobject obj, + jbyte c) + { + static void (CALLBACK *__func_ptr__)(GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte)) + getGLProcAddressHelper("glIndexub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexdv ( const GLdouble * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexdv ( + JNIEnv *env, jobject obj, + jdoubleArray c) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexfv ( const GLfloat * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexfv ( + JNIEnv *env, jobject obj, + jfloatArray c) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexiv ( const GLint * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexiv ( + JNIEnv *env, jobject obj, + jintArray c) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexsv ( const GLshort * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexsv ( + JNIEnv *env, jobject obj, + jshortArray c) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexubv ( const GLubyte * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexubv ( + JNIEnv *env, jobject obj, + jbyteArray c) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glColor3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor3ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor3ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor3us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor4b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue, + (GLbyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue, + jdouble alpha) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue, + (GLdouble) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glColor4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue, + (GLint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue, + (GLshort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor4ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue, + (GLubyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor4ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue, + (GLuint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor4us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue, + (GLushort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + 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__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + 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__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + 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__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + 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__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + 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__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + 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__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1d ( GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1d ( + JNIEnv *env, jobject obj, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glTexCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1f ( GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1f ( + JNIEnv *env, jobject obj, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glTexCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1i ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1i ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glTexCoord1i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1s ( GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1s ( + JNIEnv *env, jobject obj, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glTexCoord1s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2i ( + JNIEnv *env, jobject obj, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glTexCoord2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glRasterPos2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectd ( + JNIEnv *env, jobject obj, + jdouble x1, + jdouble y1, + jdouble x2, + jdouble y2) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRectd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x1, + (GLdouble) y1, + (GLdouble) x2, + (GLdouble) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectf ( + JNIEnv *env, jobject obj, + jfloat x1, + jfloat y1, + jfloat x2, + jfloat y2) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRectf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x1, + (GLfloat) y1, + (GLfloat) x2, + (GLfloat) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRecti ( + JNIEnv *env, jobject obj, + jint x1, + jint y1, + jint x2, + jint y2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRecti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x1, + (GLint) y1, + (GLint) x2, + (GLint) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRects ( + JNIEnv *env, jobject obj, + jshort x1, + jshort y1, + jshort x2, + jshort y2) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRects", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x1, + (GLshort) y1, + (GLshort) x2, + (GLshort) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectdv ( + JNIEnv *env, jobject obj, + jdoubleArray v1, + jdoubleArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *, const GLdouble *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + __func_ptr__ ( + (const GLdouble *) ptr0, + (const GLdouble *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectfv ( + JNIEnv *env, jobject obj, + jfloatArray v1, + jfloatArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *, const GLfloat *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + __func_ptr__ ( + (const GLfloat *) ptr0, + (const GLfloat *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectiv ( + JNIEnv *env, jobject obj, + jintArray v1, + jintArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLint *, const GLint *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + __func_ptr__ ( + (const GLint *) ptr0, + (const GLint *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectsv ( + JNIEnv *env, jobject obj, + jshortArray v1, + jshortArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLshort *, const GLshort *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + __func_ptr__ ( + (const GLshort *) ptr0, + (const GLshort *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( + JNIEnv *env, jobject obj, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( + JNIEnv *env, jobject obj, + jint stride, + jshortArray ptr) + { + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( + JNIEnv *env, jobject obj, + jint stride, + jintArray ptr) + { + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( + JNIEnv *env, jobject obj, + jint stride, + jfloatArray ptr) + { + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( + JNIEnv *env, jobject obj, + jint stride, + jdoubleArray ptr) + { + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( + JNIEnv *env, jobject obj, + jint stride, + jbooleanArray ptr) + { + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( + JNIEnv *env, jobject obj, + jint stride, + jlongArray ptr) + { + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElement ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElement ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElement", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArrays ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jshortArray indices) + { + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jintArray indices) + { + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jfloatArray indices) + { + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jdoubleArray indices) + { + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbooleanArray indices) + { + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jlongArray indices) + { + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbyteArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jshortArray pointer) + { + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jintArray pointer) + { + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jfloatArray pointer) + { + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jdoubleArray pointer) + { + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbooleanArray pointer) + { + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jlongArray pointer) + { + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glShadeModel ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glShadeModel ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glShadeModel", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightf ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glLightf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLighti ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glLighti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) light, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) light, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) light, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glLightModelf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeli ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glLightModeli", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeliv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialf ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glMaterialf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMateriali ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glMateriali", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) face, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) face, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) face, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMaterial ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glColorMaterial", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelZoom ( + JNIEnv *env, jobject obj, + jfloat xfactor, + jfloat yfactor) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPixelZoom", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) xfactor, + (GLfloat) yfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStoref ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelStoref", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStorei ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelStorei", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelTransferf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelTransferi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLfloat *) = NULL; + 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__ ( + (GLenum) map, + (GLint) mapsize, + (const GLfloat *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLuint *) = NULL; + 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__ ( + (GLenum) map, + (GLint) mapsize, + (const GLuint *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLushort *) = NULL; + 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__ ( + (GLenum) map, + (GLint) mapsize, + (const GLushort *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + 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__ ( + (GLenum) map, + (GLfloat *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLenum) map, + (GLuint *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLushort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + 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__ ( + (GLenum) map, + (GLushort *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBitmap ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jfloat xorig, + jfloat yorig, + jfloat xmove, + jfloat ymove, + jbyteArray bitmap) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLfloat) xorig, + (GLfloat) yorig, + (GLfloat) xmove, + (GLfloat) ymove, + (const GLubyte *) ptr6 + ); + + if(bitmap!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, bitmap, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyPixels ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint type) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum)) + getGLProcAddressHelper("glCopyPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilFunc ( + JNIEnv *env, jobject obj, + jint func, + jint ref, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLuint)) + getGLProcAddressHelper("glStencilFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLint) ref, + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glStencilMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilOp ( + JNIEnv *env, jobject obj, + jint fail, + jint zfail, + jint zpass) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum)) + getGLProcAddressHelper("glStencilOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) fail, + (GLenum) zfail, + (GLenum) zpass + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearStencil ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearStencil ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glClearStencil", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGend ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdouble param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble)) + getGLProcAddressHelper("glTexGend", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenf ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexGenf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeni ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexGeni", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) coord, + (GLenum) pname, + (const GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) coord, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) coord, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + 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__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) coord, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexEnvf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvi ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexEnvi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLfloat *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLint *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + 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__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTexture ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + 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); + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0); + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + 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); + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTexture ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTexture ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint height, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint stride, + jint order, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) stride, + (GLint) order, + (const GLdouble *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint stride, + jint order, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) stride, + (GLint) order, + (const GLfloat *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint ustride, + jint uorder, + jdouble v1, + jdouble v2, + jint vstride, + jint vorder, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) ustride, + (GLint) uorder, + (GLdouble) v1, + (GLdouble) v2, + (GLint) vstride, + (GLint) vorder, + (const GLdouble *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint ustride, + jint uorder, + jfloat v1, + jfloat v2, + jint vstride, + jint vorder, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) ustride, + (GLint) uorder, + (GLfloat) v1, + (GLfloat) v2, + (GLint) vstride, + (GLint) vorder, + (const GLfloat *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapdv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) query, + (GLdouble *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapfv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) query, + (GLfloat *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapiv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) query, + (GLint *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1d ( GLdouble u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( + JNIEnv *env, jobject obj, + jdouble u) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glEvalCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1f ( GLfloat u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( + JNIEnv *env, jobject obj, + jfloat u) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glEvalCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( + JNIEnv *env, jobject obj, + jdouble u, + jdouble v) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glEvalCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u, + (GLdouble) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( + JNIEnv *env, jobject obj, + jfloat u, + jfloat v) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glEvalCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u, + (GLfloat) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2, + jint vn, + jdouble v1, + jdouble v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2, + (GLint) vn, + (GLdouble) v1, + (GLdouble) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2, + jint vn, + jfloat v1, + jfloat v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2, + (GLint) vn, + (GLfloat) v1, + (GLfloat) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint1 ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glEvalPoint1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( + JNIEnv *env, jobject obj, + jint i, + jint j) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glEvalPoint2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i, + (GLint) j + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2, + jint j1, + jint j2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2, + (GLint) j1, + (GLint) j2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glFogf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glFogi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogiv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jfloatArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLsizei) size, + (GLenum) type, + (GLfloat *) ptr2 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPassThrough ( GLfloat token ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPassThrough ( + JNIEnv *env, jobject obj, + jfloat token) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPassThrough", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) token + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSelectBuffer ( + JNIEnv *env, jobject obj, + jint size, + jintArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLsizei) size, + (GLuint *) ptr1 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInitNames ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInitNames ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glInitNames", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glLoadName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glPushName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopName ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopName ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jshortArray indices) + { + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jintArray indices) + { + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jfloatArray indices) + { + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jdoubleArray indices) + { + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbooleanArray indices) + { + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jlongArray indices) + { + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorTable ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquation ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquation ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquation", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHistogram ( + JNIEnv *env, jobject obj, + jint target, + jint width, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, GLboolean)) + getGLProcAddressHelper("glHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) width, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetHistogram ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetHistogram ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jshortArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jintArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jfloatArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jdoubleArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbooleanArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jlongArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMinmax ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLboolean)) + getGLProcAddressHelper("glMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetMinmax ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetMinmax ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jshortArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jintArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jfloatArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jdoubleArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbooleanArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jlongArray values) + { + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray image) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glConvolutionParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glConvolutionParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray image) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray image) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray image) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray image) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray image) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray image) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray row, + jbyteArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + 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); + } + if(column!=NULL) + { + ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray row, + jshortArray column) + { + 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); + } + if(column!=NULL) + { + ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray row, + jintArray column) + { + 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); + } + if(column!=NULL) + { + ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray row, + jfloatArray column) + { + 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); + } + if(column!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column) + { + 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); + } + if(column!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column) + { + 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); + } + if(column!=NULL) + { + ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray row, + jlongArray column) + { + 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); + } + if(column!=NULL) + { + ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray row, + jbyteArray column, + jbyteArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray row, + jshortArray column, + jshortArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray row, + jintArray column, + jintArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray row, + jfloatArray column, + jfloatArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column, + jdoubleArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column, + jbooleanArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray row, + jlongArray column, + jlongArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColorEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat bias) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffsetEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) bias + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + 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__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + 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); + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0); + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + 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); + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( + JNIEnv *env, jobject obj, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, const GLboolean *) = NULL; + jboolean *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__ ( + (GLsizei) stride, + (GLsizei) count, + (const GLboolean *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElementEXT ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElementEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquationEXT ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquationEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPointParameterfEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( + JNIEnv *env, jobject obj, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLsizei)) + getGLProcAddressHelper("glLockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glUnlockArraysEXT ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glUnlockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glClientActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord1dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord1fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glMultiTexCoord1iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort)) + getGLProcAddressHelper("glMultiTexCoord1sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord2dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord2fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord2iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord2sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord3dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord3fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord3iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord3sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord4dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord4fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord4iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord4sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/gl-proto-dynauto-tst-jni12.c b/C2J/gl-proto-dynauto-tst-jni12.c new file mode 100644 index 0000000..cc3e88b --- /dev/null +++ b/C2J/gl-proto-dynauto-tst-jni12.c @@ -0,0 +1,26371 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void glClearIndex ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearIndex ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glClearIndex", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glClearColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClear ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClear ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glClear", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIndexMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMask ( + JNIEnv *env, jobject obj, + jboolean red, + jboolean green, + jboolean blue, + jboolean alpha) + { + static void (CALLBACK *__func_ptr__)(GLboolean, GLboolean, GLboolean, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean, GLboolean, GLboolean, GLboolean)) + getGLProcAddressHelper("glColorMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) red, + (GLboolean) green, + (GLboolean) blue, + (GLboolean) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAlphaFunc ( + JNIEnv *env, jobject obj, + jint func, + jfloat ref) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLclampf)) + getGLProcAddressHelper("glAlphaFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLclampf) ref + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendFunc ( + JNIEnv *env, jobject obj, + jint sfactor, + jint dfactor) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glBlendFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) sfactor, + (GLenum) dfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLogicOp ( GLenum opcode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLogicOp ( + JNIEnv *env, jobject obj, + jint opcode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glLogicOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) opcode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCullFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCullFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glCullFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrontFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrontFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glFrontFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointSize ( GLfloat size ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointSize ( + JNIEnv *env, jobject obj, + jfloat size) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPointSize", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) size + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineWidth ( GLfloat width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineWidth ( + JNIEnv *env, jobject obj, + jfloat width) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glLineWidth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineStipple ( + JNIEnv *env, jobject obj, + jint factor, + jshort pattern) + { + static void (CALLBACK *__func_ptr__)(GLint, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLushort)) + getGLProcAddressHelper("glLineStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) factor, + (GLushort) pattern + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonMode ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glPolygonMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffset ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat units) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffset", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) units + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glPolygonStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(mask!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glPolygonStipple arg: mask"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte *)) + getGLProcAddressHelper("glGetPolygonStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(mask!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glGetPolygonStipple arg: mask"); + } + } + __func_ptr__ ( + (GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlag ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlag ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glEdgeFlag", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( + JNIEnv *env, jobject obj, + jbooleanArray flag) + { + static void (CALLBACK *__func_ptr__)(const GLboolean *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jboolean *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLboolean *)) + getGLProcAddressHelper("glEdgeFlagv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(flag!=NULL) + { + ptr0 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEdgeFlagv arg: flag"); + } + } + __func_ptr__ ( + (const GLboolean *) ptr0 + ); + + if(flag!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, flag, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScissor ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glScissor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glClipPlane", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(equation!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glClipPlane arg: equation"); + } + } + __func_ptr__ ( + (GLenum) plane, + (const GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *)) + getGLProcAddressHelper("glGetClipPlane", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(equation!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetClipPlane arg: equation"); + } + } + __func_ptr__ ( + (GLenum) plane, + (GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDrawBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glReadBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsEnabled ( + JNIEnv *env, jobject obj, + jint cap) + { + static jboolean (CALLBACK *__func_ptr__)(GLenum) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glIsEnabled", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLenum) cap + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetBooleanv ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean *)) + getGLProcAddressHelper("glGetBooleanv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetBooleanv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLboolean *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetDoublev ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *)) + getGLProcAddressHelper("glGetDoublev", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetDoublev arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLdouble *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetFloatv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *)) + getGLProcAddressHelper("glGetFloatv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetFloatv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetIntegerv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint *)) + getGLProcAddressHelper("glGetIntegerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetIntegerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopClientAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint glRenderMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glRenderMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static jint (CALLBACK *__func_ptr__)(GLenum) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glRenderMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLenum) mode + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLenum glGetError ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGetError ( + JNIEnv *env, jobject obj) + { + static jint (CALLBACK *__func_ptr__)() = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)()) + getGLProcAddressHelper("glGetError", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFinish ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFinish ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFinish", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFlush ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFlush ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFlush", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHint ( GLenum target , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHint ( + JNIEnv *env, jobject obj, + jint target, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glHint", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearDepth ( GLclampd depth ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearDepth ( + JNIEnv *env, jobject obj, + jdouble depth) + { + static void (CALLBACK *__func_ptr__)(GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd)) + getGLProcAddressHelper("glClearDepth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) depth + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthFunc ( GLenum func ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthFunc ( + JNIEnv *env, jobject obj, + jint func) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDepthFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthMask ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthMask ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glDepthMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthRange ( + JNIEnv *env, jobject obj, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLclampd, GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd, GLclampd)) + getGLProcAddressHelper("glDepthRange", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) near_val, + (GLclampd) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearAccum ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glClearAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAccum ( GLenum op , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAccum ( + JNIEnv *env, jobject obj, + jint op, + jfloat value) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) op, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMatrixMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMatrixMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glMatrixMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glOrtho ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glOrtho", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrustum ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glFrustum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glViewport ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glViewport", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPushMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadIdentity ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadIdentity ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glLoadIdentity", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glLoadMatrixd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glLoadMatrixd arg: m"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glLoadMatrixf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glLoadMatrixf arg: m"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glMultMatrixd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glMultMatrixd arg: m"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glMultMatrixf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glMultMatrixf arg: m"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotated ( + JNIEnv *env, jobject obj, + jdouble angle, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRotated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) angle, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotatef ( + JNIEnv *env, jobject obj, + jfloat angle, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRotatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) angle, + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScaled ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glScaled", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScalef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glScalef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslated ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTranslated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslatef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTranslatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsList ( + JNIEnv *env, jobject obj, + jint list) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsList", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) list + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteLists ( + JNIEnv *env, jobject obj, + jint list, + jint range) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLsizei)) + getGLProcAddressHelper("glDeleteLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLsizei) range + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLuint glGenLists ( GLsizei range ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGenLists ( + JNIEnv *env, jobject obj, + jint range) + { + static jint (CALLBACK *__func_ptr__)(GLsizei) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLsizei)) + getGLProcAddressHelper("glGenLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLsizei) range + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNewList ( GLuint list , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNewList ( + JNIEnv *env, jobject obj, + jint list, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLenum)) + getGLProcAddressHelper("glNewList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEndList ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEndList ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEndList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallList ( + JNIEnv *env, jobject obj, + jint list) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glCallList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbyteArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jshortArray lists) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jintArray lists) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jfloatArray lists) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jdoubleArray lists) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbooleanArray lists) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jlongArray lists) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glListBase ( GLuint base ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glListBase ( + JNIEnv *env, jobject obj, + jint base) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glListBase", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) base + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBegin ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBegin ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBegin", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnd ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnd ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEnd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glVertex2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glVertex2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glVertex2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glVertex2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glVertex2iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glVertex2sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glVertex3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glVertex3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glVertex3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glVertex3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glVertex4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glVertex4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glVertex4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glVertex4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3b ( + JNIEnv *env, jobject obj, + jbyte nx, + jbyte ny, + jbyte nz) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glNormal3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) nx, + (GLbyte) ny, + (GLbyte) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3d ( + JNIEnv *env, jobject obj, + jdouble nx, + jdouble ny, + jdouble nz) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glNormal3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) nx, + (GLdouble) ny, + (GLdouble) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3f ( + JNIEnv *env, jobject obj, + jfloat nx, + jfloat ny, + jfloat nz) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glNormal3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) nx, + (GLfloat) ny, + (GLfloat) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3i ( + JNIEnv *env, jobject obj, + jint nx, + jint ny, + jint nz) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glNormal3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) nx, + (GLint) ny, + (GLint) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3s ( + JNIEnv *env, jobject obj, + jshort nx, + jshort ny, + jshort nz) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glNormal3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) nx, + (GLshort) ny, + (GLshort) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) + getGLProcAddressHelper("glNormal3bv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3bv arg: v"); + } + } + __func_ptr__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glNormal3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glNormal3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glNormal3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glNormal3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexd ( GLdouble c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexd ( + JNIEnv *env, jobject obj, + jdouble c) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glIndexd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexf ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexf ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glIndexf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexi ( GLint c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexi ( + JNIEnv *env, jobject obj, + jint c) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glIndexi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexs ( GLshort c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexs ( + JNIEnv *env, jobject obj, + jshort c) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glIndexs", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexub ( GLubyte c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexub ( + JNIEnv *env, jobject obj, + jbyte c) + { + static void (CALLBACK *__func_ptr__)(GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte)) + getGLProcAddressHelper("glIndexub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexdv ( const GLdouble * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexdv ( + JNIEnv *env, jobject obj, + jdoubleArray c) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glIndexdv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexdv arg: c"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexfv ( const GLfloat * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexfv ( + JNIEnv *env, jobject obj, + jfloatArray c) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glIndexfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexfv arg: c"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexiv ( const GLint * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexiv ( + JNIEnv *env, jobject obj, + jintArray c) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glIndexiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexiv arg: c"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexsv ( const GLshort * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexsv ( + JNIEnv *env, jobject obj, + jshortArray c) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glIndexsv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexsv arg: c"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexubv ( const GLubyte * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexubv ( + JNIEnv *env, jobject obj, + jbyteArray c) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glIndexubv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexubv arg: c"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glColor3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor3ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor3ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor3us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor4b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue, + (GLbyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue, + jdouble alpha) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue, + (GLdouble) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glColor4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue, + (GLint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue, + (GLshort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor4ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue, + (GLubyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor4ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue, + (GLuint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor4us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue, + (GLushort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) + getGLProcAddressHelper("glColor3bv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3bv arg: v"); + } + } + __func_ptr__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glColor3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glColor3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glColor3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glColor3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glColor3ubv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3ubv arg: v"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLuint *)) + getGLProcAddressHelper("glColor3uiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3uiv arg: v"); + } + } + __func_ptr__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLushort *)) + getGLProcAddressHelper("glColor3usv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3usv arg: v"); + } + } + __func_ptr__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) + getGLProcAddressHelper("glColor4bv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4bv arg: v"); + } + } + __func_ptr__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glColor4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glColor4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glColor4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glColor4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glColor4ubv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4ubv arg: v"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLuint *)) + getGLProcAddressHelper("glColor4uiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4uiv arg: v"); + } + } + __func_ptr__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLushort *)) + getGLProcAddressHelper("glColor4usv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4usv arg: v"); + } + } + __func_ptr__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1d ( GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1d ( + JNIEnv *env, jobject obj, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glTexCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1f ( GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1f ( + JNIEnv *env, jobject obj, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glTexCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1i ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1i ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glTexCoord1i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1s ( GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1s ( + JNIEnv *env, jobject obj, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glTexCoord1s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2i ( + JNIEnv *env, jobject obj, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glTexCoord2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord1dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord1fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord1iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord1sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord2iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord2sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glRasterPos2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glRasterPos2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glRasterPos2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glRasterPos2iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glRasterPos2sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glRasterPos3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glRasterPos3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glRasterPos3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glRasterPos3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glRasterPos4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glRasterPos4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glRasterPos4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glRasterPos4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectd ( + JNIEnv *env, jobject obj, + jdouble x1, + jdouble y1, + jdouble x2, + jdouble y2) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRectd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x1, + (GLdouble) y1, + (GLdouble) x2, + (GLdouble) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectf ( + JNIEnv *env, jobject obj, + jfloat x1, + jfloat y1, + jfloat x2, + jfloat y2) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRectf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x1, + (GLfloat) y1, + (GLfloat) x2, + (GLfloat) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRecti ( + JNIEnv *env, jobject obj, + jint x1, + jint y1, + jint x2, + jint y2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRecti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x1, + (GLint) y1, + (GLint) x2, + (GLint) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRects ( + JNIEnv *env, jobject obj, + jshort x1, + jshort y1, + jshort x2, + jshort y2) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRects", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x1, + (GLshort) y1, + (GLshort) x2, + (GLshort) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectdv ( + JNIEnv *env, jobject obj, + jdoubleArray v1, + jdoubleArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *, const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *, const GLdouble *)) + getGLProcAddressHelper("glRectdv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectdv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectdv arg: v2"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0, + (const GLdouble *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectfv ( + JNIEnv *env, jobject obj, + jfloatArray v1, + jfloatArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *, const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *, const GLfloat *)) + getGLProcAddressHelper("glRectfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectfv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectfv arg: v2"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0, + (const GLfloat *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectiv ( + JNIEnv *env, jobject obj, + jintArray v1, + jintArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLint *, const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *, const GLint *)) + getGLProcAddressHelper("glRectiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectiv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectiv arg: v2"); + } + } + __func_ptr__ ( + (const GLint *) ptr0, + (const GLint *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectsv ( + JNIEnv *env, jobject obj, + jshortArray v1, + jshortArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLshort *, const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *, const GLshort *)) + getGLProcAddressHelper("glRectsv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectsv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectsv arg: v2"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0, + (const GLshort *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( + JNIEnv *env, jobject obj, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( + JNIEnv *env, jobject obj, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( + JNIEnv *env, jobject obj, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( + JNIEnv *env, jobject obj, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( + JNIEnv *env, jobject obj, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( + JNIEnv *env, jobject obj, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( + JNIEnv *env, jobject obj, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElement ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElement ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElement", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArrays ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jshortArray indices) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jintArray indices) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jfloatArray indices) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jdoubleArray indices) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbooleanArray indices) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jlongArray indices) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbyteArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jshortArray pointer) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jintArray pointer) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jfloatArray pointer) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jdoubleArray pointer) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbooleanArray pointer) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jlongArray pointer) + { + 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); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glShadeModel ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glShadeModel ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glShadeModel", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightf ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glLightf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLighti ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glLighti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glLightfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glLightfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glLightiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glLightiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetLightfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetLightfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetLightiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetLightiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glLightModelf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeli ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glLightModeli", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glLightModelfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glLightModelfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeliv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glLightModeliv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glLightModeliv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialf ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glMaterialf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMateriali ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glMateriali", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glMaterialfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glMaterialfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glMaterialiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glMaterialiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetMaterialfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMaterialfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetMaterialiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMaterialiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMaterial ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glColorMaterial", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelZoom ( + JNIEnv *env, jobject obj, + jfloat xfactor, + jfloat yfactor) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPixelZoom", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) xfactor, + (GLfloat) yfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStoref ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelStoref", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStorei ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelStorei", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelTransferf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelTransferi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLfloat *)) + getGLProcAddressHelper("glPixelMapfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapfv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLint) mapsize, + (const GLfloat *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLuint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLuint *)) + getGLProcAddressHelper("glPixelMapuiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapuiv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLint) mapsize, + (const GLuint *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLushort *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLushort *)) + getGLProcAddressHelper("glPixelMapusv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapusv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLint) mapsize, + (const GLushort *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *)) + getGLProcAddressHelper("glGetPixelMapfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapfv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLfloat *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint *)) + getGLProcAddressHelper("glGetPixelMapuiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapuiv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLuint *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLushort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLushort *)) + getGLProcAddressHelper("glGetPixelMapusv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapusv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLushort *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBitmap ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jfloat xorig, + jfloat yorig, + jfloat xmove, + jfloat ymove, + jbyteArray bitmap) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) + getGLProcAddressHelper("glBitmap", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(bitmap!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glBitmap arg: bitmap"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLfloat) xorig, + (GLfloat) yorig, + (GLfloat) xmove, + (GLfloat) ymove, + (const GLubyte *) ptr6 + ); + + if(bitmap!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, bitmap, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyPixels ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint type) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum)) + getGLProcAddressHelper("glCopyPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilFunc ( + JNIEnv *env, jobject obj, + jint func, + jint ref, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLuint)) + getGLProcAddressHelper("glStencilFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLint) ref, + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glStencilMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilOp ( + JNIEnv *env, jobject obj, + jint fail, + jint zfail, + jint zpass) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum)) + getGLProcAddressHelper("glStencilOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) fail, + (GLenum) zfail, + (GLenum) zpass + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearStencil ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearStencil ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glClearStencil", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGend ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdouble param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble)) + getGLProcAddressHelper("glTexGend", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenf ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexGenf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeni ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexGeni", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLdouble *)) + getGLProcAddressHelper("glTexGendv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGendv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (const GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glTexGenfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGenfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glTexGeniv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGeniv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + getGLProcAddressHelper("glGetTexGendv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGendv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexGenfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGenfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexGeniv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGeniv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexEnvf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvi ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexEnvi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glTexEnvfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexEnvfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glTexEnviv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexEnviv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexEnvfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexEnvfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexEnviv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexEnviv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glTexParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glTexParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexLevelParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetTexLevelParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLfloat *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexLevelParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetTexLevelParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLint *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jbyte *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) + getGLProcAddressHelper("glGenTextures", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGenTextures arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *)) + getGLProcAddressHelper("glDeleteTextures", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glDeleteTextures arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTexture ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + getGLProcAddressHelper("glPrioritizeTextures", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPrioritizeTextures arg: textures"); + } + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPrioritizeTextures arg: priorities"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + getGLProcAddressHelper("glAreTexturesResident", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glAreTexturesResident arg: textures"); + } + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glAreTexturesResident arg: residences"); + } + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTexture ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTexture ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint height, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint stride, + jint order, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + getGLProcAddressHelper("glMap1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glMap1d arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) stride, + (GLint) order, + (const GLdouble *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint stride, + jint order, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + getGLProcAddressHelper("glMap1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glMap1f arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) stride, + (GLint) order, + (const GLfloat *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint ustride, + jint uorder, + jdouble v1, + jdouble v2, + jint vstride, + jint vorder, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jdouble *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + getGLProcAddressHelper("glMap2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glMap2d arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) ustride, + (GLint) uorder, + (GLdouble) v1, + (GLdouble) v2, + (GLint) vstride, + (GLint) vorder, + (const GLdouble *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint ustride, + jint uorder, + jfloat v1, + jfloat v2, + jint vstride, + jint vorder, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jfloat *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + getGLProcAddressHelper("glMap2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glMap2f arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) ustride, + (GLint) uorder, + (GLfloat) v1, + (GLfloat) v2, + (GLint) vstride, + (GLint) vorder, + (const GLfloat *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapdv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + getGLProcAddressHelper("glGetMapdv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapdv arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) query, + (GLdouble *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapfv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetMapfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapfv arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) query, + (GLfloat *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapiv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetMapiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapiv arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) query, + (GLint *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1d ( GLdouble u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( + JNIEnv *env, jobject obj, + jdouble u) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glEvalCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1f ( GLfloat u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( + JNIEnv *env, jobject obj, + jfloat u) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glEvalCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glEvalCoord1dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord1dv arg: u"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glEvalCoord1fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord1fv arg: u"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( + JNIEnv *env, jobject obj, + jdouble u, + jdouble v) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glEvalCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u, + (GLdouble) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( + JNIEnv *env, jobject obj, + jfloat u, + jfloat v) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glEvalCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u, + (GLfloat) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glEvalCoord2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord2dv arg: u"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glEvalCoord2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord2fv arg: u"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2, + jint vn, + jdouble v1, + jdouble v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2, + (GLint) vn, + (GLdouble) v1, + (GLdouble) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2, + jint vn, + jfloat v1, + jfloat v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2, + (GLint) vn, + (GLfloat) v1, + (GLfloat) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint1 ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glEvalPoint1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( + JNIEnv *env, jobject obj, + jint i, + jint j) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glEvalPoint2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i, + (GLint) j + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2, + jint j1, + jint j2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2, + (GLint) j1, + (GLint) j2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glFogf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glFogi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glFogfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glFogfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogiv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glFogiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glFogiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jfloatArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, GLfloat *)) + getGLProcAddressHelper("glFeedbackBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(buffer!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glFeedbackBuffer arg: buffer"); + } + } + __func_ptr__ ( + (GLsizei) size, + (GLenum) type, + (GLfloat *) ptr2 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPassThrough ( GLfloat token ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPassThrough ( + JNIEnv *env, jobject obj, + jfloat token) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPassThrough", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) token + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSelectBuffer ( + JNIEnv *env, jobject obj, + jint size, + jintArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) + getGLProcAddressHelper("glSelectBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(buffer!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glSelectBuffer arg: buffer"); + } + } + __func_ptr__ ( + (GLsizei) size, + (GLuint *) ptr1 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInitNames ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInitNames ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glInitNames", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glLoadName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glPushName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopName ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopName ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jshortArray indices) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jintArray indices) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jfloatArray indices) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jdoubleArray indices) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbooleanArray indices) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jlongArray indices) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jbyte *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jbyte *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glColorTableParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glColorTableParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glColorTableParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glColorTableParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorTable ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetColorTableParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetColorTableParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquation ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquation ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquation", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHistogram ( + JNIEnv *env, jobject obj, + jint target, + jint width, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, GLboolean)) + getGLProcAddressHelper("glHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) width, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetHistogram ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetHistogram ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jshortArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jintArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jfloatArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jdoubleArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbooleanArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jlongArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetHistogramParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetHistogramParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetHistogramParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetHistogramParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMinmax ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLboolean)) + getGLProcAddressHelper("glMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetMinmax ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetMinmax ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jshortArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jintArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jfloatArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jdoubleArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbooleanArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jlongArray values) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetMinmaxParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMinmaxParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetMinmaxParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMinmaxParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray image) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray image) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray image) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray image) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray image) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray image) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray image) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray image) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray image) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray image) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray image) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray image) + { + 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); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glConvolutionParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glConvolutionParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glConvolutionParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glConvolutionParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glConvolutionParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glConvolutionParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray image) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray image) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray image) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray image) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray image) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray image) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetConvolutionParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetConvolutionParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetConvolutionParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetConvolutionParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray row, + jbyteArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jbyte *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray row, + jshortArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jshort *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray row, + jintArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jint *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray row, + jfloatArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jfloat *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jboolean *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray row, + jlongArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jlong *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray row, + jbyteArray column, + jbyteArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray row, + jshortArray column, + jshortArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray row, + jintArray column, + jintArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray row, + jfloatArray column, + jfloatArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column, + jdoubleArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column, + jbooleanArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray row, + jlongArray column, + jlongArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColorEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat bias) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffsetEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) bias + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jbyte *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jbyte *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + 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); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) + getGLProcAddressHelper("glGenTexturesEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGenTexturesEXT arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *)) + getGLProcAddressHelper("glDeleteTexturesEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glDeleteTexturesEXT arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + getGLProcAddressHelper("glPrioritizeTexturesEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPrioritizeTexturesEXT arg: textures"); + } + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPrioritizeTexturesEXT arg: priorities"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + getGLProcAddressHelper("glAreTexturesResidentEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glAreTexturesResidentEXT arg: textures"); + } + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glAreTexturesResidentEXT arg: residences"); + } + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + 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); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( + JNIEnv *env, jobject obj, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, const GLboolean *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, const GLboolean *)) + getGLProcAddressHelper("glEdgeFlagPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glEdgeFlagPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (GLsizei) count, + (const GLboolean *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + 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); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElementEXT ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElementEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquationEXT ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquationEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPointParameterfEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glPointParameterfvEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPointParameterfvEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + 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); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + 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); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetColorTableParameterfvEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterfvEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetColorTableParameterivEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterivEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( + JNIEnv *env, jobject obj, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLsizei)) + getGLProcAddressHelper("glLockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glUnlockArraysEXT ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glUnlockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glClientActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord1dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord1dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord1fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord1fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glMultiTexCoord1iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord1ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort)) + getGLProcAddressHelper("glMultiTexCoord1sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord1svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord2dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord2dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord2fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord2fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord2iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord2ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord2sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord2svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord3dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord3dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord3fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord3fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord3iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord3ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord3sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord3svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord4dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord4dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord4fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord4fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord4iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord4ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord4sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord4svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/gl-proto-dynauto-tst.c b/C2J/gl-proto-dynauto-tst.c new file mode 100644 index 0000000..648c2d7 --- /dev/null +++ b/C2J/gl-proto-dynauto-tst.c @@ -0,0 +1,26371 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void glClearIndex ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearIndex ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glClearIndex", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glClearColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClear ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClear ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glClear", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIndexMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMask ( + JNIEnv *env, jobject obj, + jboolean red, + jboolean green, + jboolean blue, + jboolean alpha) + { + static void (CALLBACK *__func_ptr__)(GLboolean, GLboolean, GLboolean, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean, GLboolean, GLboolean, GLboolean)) + getGLProcAddressHelper("glColorMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) red, + (GLboolean) green, + (GLboolean) blue, + (GLboolean) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAlphaFunc ( + JNIEnv *env, jobject obj, + jint func, + jfloat ref) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLclampf)) + getGLProcAddressHelper("glAlphaFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLclampf) ref + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendFunc ( + JNIEnv *env, jobject obj, + jint sfactor, + jint dfactor) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glBlendFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) sfactor, + (GLenum) dfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLogicOp ( GLenum opcode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLogicOp ( + JNIEnv *env, jobject obj, + jint opcode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glLogicOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) opcode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCullFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCullFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glCullFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrontFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrontFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glFrontFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointSize ( GLfloat size ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointSize ( + JNIEnv *env, jobject obj, + jfloat size) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPointSize", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) size + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineWidth ( GLfloat width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineWidth ( + JNIEnv *env, jobject obj, + jfloat width) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glLineWidth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineStipple ( + JNIEnv *env, jobject obj, + jint factor, + jshort pattern) + { + static void (CALLBACK *__func_ptr__)(GLint, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLushort)) + getGLProcAddressHelper("glLineStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) factor, + (GLushort) pattern + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonMode ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glPolygonMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffset ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat units) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffset", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) units + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glPolygonStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(mask!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, mask, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glPolygonStipple arg: mask"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleaseByteArrayElements(env, mask, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte *)) + getGLProcAddressHelper("glGetPolygonStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(mask!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, mask, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glGetPolygonStipple arg: mask"); + } + } + __func_ptr__ ( + (GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleaseByteArrayElements(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlag ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlag ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glEdgeFlag", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( + JNIEnv *env, jobject obj, + jbooleanArray flag) + { + static void (CALLBACK *__func_ptr__)(const GLboolean *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jboolean *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLboolean *)) + getGLProcAddressHelper("glEdgeFlagv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(flag!=NULL) + { + ptr0 = (*env)->GetBooleanArrayElements(env, flag, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEdgeFlagv arg: flag"); + } + } + __func_ptr__ ( + (const GLboolean *) ptr0 + ); + + if(flag!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, flag, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScissor ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glScissor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glClipPlane", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(equation!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, equation, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glClipPlane arg: equation"); + } + } + __func_ptr__ ( + (GLenum) plane, + (const GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *)) + getGLProcAddressHelper("glGetClipPlane", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(equation!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, equation, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetClipPlane arg: equation"); + } + } + __func_ptr__ ( + (GLenum) plane, + (GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDrawBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glReadBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsEnabled ( + JNIEnv *env, jobject obj, + jint cap) + { + static jboolean (CALLBACK *__func_ptr__)(GLenum) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glIsEnabled", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLenum) cap + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetBooleanv ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean *)) + getGLProcAddressHelper("glGetBooleanv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetBooleanv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLboolean *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetDoublev ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *)) + getGLProcAddressHelper("glGetDoublev", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetDoublev arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLdouble *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetFloatv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *)) + getGLProcAddressHelper("glGetFloatv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetFloatv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetIntegerv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint *)) + getGLProcAddressHelper("glGetIntegerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetIntegerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopClientAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint glRenderMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glRenderMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static jint (CALLBACK *__func_ptr__)(GLenum) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glRenderMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLenum) mode + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLenum glGetError ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGetError ( + JNIEnv *env, jobject obj) + { + static jint (CALLBACK *__func_ptr__)() = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)()) + getGLProcAddressHelper("glGetError", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFinish ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFinish ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFinish", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFlush ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFlush ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFlush", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHint ( GLenum target , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHint ( + JNIEnv *env, jobject obj, + jint target, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glHint", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearDepth ( GLclampd depth ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearDepth ( + JNIEnv *env, jobject obj, + jdouble depth) + { + static void (CALLBACK *__func_ptr__)(GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd)) + getGLProcAddressHelper("glClearDepth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) depth + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthFunc ( GLenum func ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthFunc ( + JNIEnv *env, jobject obj, + jint func) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDepthFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthMask ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthMask ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glDepthMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthRange ( + JNIEnv *env, jobject obj, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLclampd, GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd, GLclampd)) + getGLProcAddressHelper("glDepthRange", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) near_val, + (GLclampd) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearAccum ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glClearAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAccum ( GLenum op , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAccum ( + JNIEnv *env, jobject obj, + jint op, + jfloat value) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) op, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMatrixMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMatrixMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glMatrixMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glOrtho ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glOrtho", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrustum ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glFrustum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glViewport ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glViewport", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPushMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadIdentity ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadIdentity ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glLoadIdentity", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glLoadMatrixd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glLoadMatrixd arg: m"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glLoadMatrixf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glLoadMatrixf arg: m"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glMultMatrixd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glMultMatrixd arg: m"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glMultMatrixf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(m!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glMultMatrixf arg: m"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotated ( + JNIEnv *env, jobject obj, + jdouble angle, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRotated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) angle, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotatef ( + JNIEnv *env, jobject obj, + jfloat angle, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRotatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) angle, + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScaled ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glScaled", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScalef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glScalef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslated ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTranslated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslatef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTranslatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsList ( + JNIEnv *env, jobject obj, + jint list) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsList", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) list + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteLists ( + JNIEnv *env, jobject obj, + jint list, + jint range) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLsizei)) + getGLProcAddressHelper("glDeleteLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLsizei) range + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLuint glGenLists ( GLsizei range ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGenLists ( + JNIEnv *env, jobject obj, + jint range) + { + static jint (CALLBACK *__func_ptr__)(GLsizei) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLsizei)) + getGLProcAddressHelper("glGenLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLsizei) range + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNewList ( GLuint list , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNewList ( + JNIEnv *env, jobject obj, + jint list, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLenum)) + getGLProcAddressHelper("glNewList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEndList ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEndList ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEndList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallList ( + JNIEnv *env, jobject obj, + jint list) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glCallList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbyteArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseByteArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jshortArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseShortArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jintArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseIntArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jfloatArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jdoubleArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbooleanArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jlongArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glCallLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(lists!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseLongArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glListBase ( GLuint base ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glListBase ( + JNIEnv *env, jobject obj, + jint base) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glListBase", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) base + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBegin ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBegin ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBegin", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnd ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnd ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEnd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glVertex2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glVertex2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glVertex2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glVertex2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glVertex2iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glVertex2sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glVertex3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glVertex3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glVertex3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glVertex3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glVertex4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glVertex4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glVertex4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glVertex4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3b ( + JNIEnv *env, jobject obj, + jbyte nx, + jbyte ny, + jbyte nz) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glNormal3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) nx, + (GLbyte) ny, + (GLbyte) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3d ( + JNIEnv *env, jobject obj, + jdouble nx, + jdouble ny, + jdouble nz) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glNormal3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) nx, + (GLdouble) ny, + (GLdouble) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3f ( + JNIEnv *env, jobject obj, + jfloat nx, + jfloat ny, + jfloat nz) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glNormal3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) nx, + (GLfloat) ny, + (GLfloat) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3i ( + JNIEnv *env, jobject obj, + jint nx, + jint ny, + jint nz) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glNormal3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) nx, + (GLint) ny, + (GLint) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3s ( + JNIEnv *env, jobject obj, + jshort nx, + jshort ny, + jshort nz) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glNormal3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) nx, + (GLshort) ny, + (GLshort) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) + getGLProcAddressHelper("glNormal3bv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3bv arg: v"); + } + } + __func_ptr__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glNormal3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glNormal3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glNormal3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glNormal3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexd ( GLdouble c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexd ( + JNIEnv *env, jobject obj, + jdouble c) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glIndexd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexf ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexf ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glIndexf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexi ( GLint c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexi ( + JNIEnv *env, jobject obj, + jint c) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glIndexi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexs ( GLshort c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexs ( + JNIEnv *env, jobject obj, + jshort c) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glIndexs", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexub ( GLubyte c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexub ( + JNIEnv *env, jobject obj, + jbyte c) + { + static void (CALLBACK *__func_ptr__)(GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte)) + getGLProcAddressHelper("glIndexub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexdv ( const GLdouble * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexdv ( + JNIEnv *env, jobject obj, + jdoubleArray c) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glIndexdv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexdv arg: c"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexfv ( const GLfloat * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexfv ( + JNIEnv *env, jobject obj, + jfloatArray c) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glIndexfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexfv arg: c"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexiv ( const GLint * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexiv ( + JNIEnv *env, jobject obj, + jintArray c) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glIndexiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexiv arg: c"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseIntArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexsv ( const GLshort * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexsv ( + JNIEnv *env, jobject obj, + jshortArray c) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glIndexsv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexsv arg: c"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseShortArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexubv ( const GLubyte * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexubv ( + JNIEnv *env, jobject obj, + jbyteArray c) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glIndexubv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(c!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexubv arg: c"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseByteArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glColor3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor3ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor3ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor3us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor4b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue, + (GLbyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue, + jdouble alpha) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue, + (GLdouble) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glColor4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue, + (GLint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue, + (GLshort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor4ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue, + (GLubyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor4ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue, + (GLuint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor4us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue, + (GLushort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) + getGLProcAddressHelper("glColor3bv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3bv arg: v"); + } + } + __func_ptr__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glColor3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glColor3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glColor3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glColor3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glColor3ubv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3ubv arg: v"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLuint *)) + getGLProcAddressHelper("glColor3uiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3uiv arg: v"); + } + } + __func_ptr__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLushort *)) + getGLProcAddressHelper("glColor3usv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3usv arg: v"); + } + } + __func_ptr__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) + getGLProcAddressHelper("glColor4bv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4bv arg: v"); + } + } + __func_ptr__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glColor4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glColor4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glColor4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glColor4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) + getGLProcAddressHelper("glColor4ubv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4ubv arg: v"); + } + } + __func_ptr__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLuint *)) + getGLProcAddressHelper("glColor4uiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4uiv arg: v"); + } + } + __func_ptr__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLushort *)) + getGLProcAddressHelper("glColor4usv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4usv arg: v"); + } + } + __func_ptr__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1d ( GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1d ( + JNIEnv *env, jobject obj, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glTexCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1f ( GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1f ( + JNIEnv *env, jobject obj, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glTexCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1i ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1i ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glTexCoord1i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1s ( GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1s ( + JNIEnv *env, jobject obj, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glTexCoord1s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2i ( + JNIEnv *env, jobject obj, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glTexCoord2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord1dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord1fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord1iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord1sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord2iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord2sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glTexCoord4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glTexCoord4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glTexCoord4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glTexCoord4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glRasterPos2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glRasterPos2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glRasterPos2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glRasterPos2iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glRasterPos2sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glRasterPos3dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glRasterPos3fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glRasterPos3iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glRasterPos3sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glRasterPos4dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4dv arg: v"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glRasterPos4fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4fv arg: v"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *)) + getGLProcAddressHelper("glRasterPos4iv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4iv arg: v"); + } + } + __func_ptr__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *)) + getGLProcAddressHelper("glRasterPos4sv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4sv arg: v"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectd ( + JNIEnv *env, jobject obj, + jdouble x1, + jdouble y1, + jdouble x2, + jdouble y2) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRectd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x1, + (GLdouble) y1, + (GLdouble) x2, + (GLdouble) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectf ( + JNIEnv *env, jobject obj, + jfloat x1, + jfloat y1, + jfloat x2, + jfloat y2) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRectf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x1, + (GLfloat) y1, + (GLfloat) x2, + (GLfloat) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRecti ( + JNIEnv *env, jobject obj, + jint x1, + jint y1, + jint x2, + jint y2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRecti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x1, + (GLint) y1, + (GLint) x2, + (GLint) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRects ( + JNIEnv *env, jobject obj, + jshort x1, + jshort y1, + jshort x2, + jshort y2) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRects", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x1, + (GLshort) y1, + (GLshort) x2, + (GLshort) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectdv ( + JNIEnv *env, jobject obj, + jdoubleArray v1, + jdoubleArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *, const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *, const GLdouble *)) + getGLProcAddressHelper("glRectdv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectdv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectdv arg: v2"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0, + (const GLdouble *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectfv ( + JNIEnv *env, jobject obj, + jfloatArray v1, + jfloatArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *, const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *, const GLfloat *)) + getGLProcAddressHelper("glRectfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectfv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectfv arg: v2"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0, + (const GLfloat *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectiv ( + JNIEnv *env, jobject obj, + jintArray v1, + jintArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLint *, const GLint *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLint *, const GLint *)) + getGLProcAddressHelper("glRectiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectiv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectiv arg: v2"); + } + } + __func_ptr__ ( + (const GLint *) ptr0, + (const GLint *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectsv ( + JNIEnv *env, jobject obj, + jshortArray v1, + jshortArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLshort *, const GLshort *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLshort *, const GLshort *)) + getGLProcAddressHelper("glRectsv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v1!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectsv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectsv arg: v2"); + } + } + __func_ptr__ ( + (const GLshort *) ptr0, + (const GLshort *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( + JNIEnv *env, jobject obj, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( + JNIEnv *env, jobject obj, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( + JNIEnv *env, jobject obj, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( + JNIEnv *env, jobject obj, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( + JNIEnv *env, jobject obj, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( + JNIEnv *env, jobject obj, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( + JNIEnv *env, jobject obj, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) + getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr1 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElement ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElement ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElement", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArrays ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseByteArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jshortArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseShortArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jintArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseIntArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jfloatArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jdoubleArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbooleanArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jlongArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseLongArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbyteArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jshortArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jintArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jfloatArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jdoubleArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbooleanArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jlongArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pointer!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + __func_ptr__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glShadeModel ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glShadeModel ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glShadeModel", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightf ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glLightf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLighti ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glLighti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glLightfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glLightfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glLightiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glLightiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetLightfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetLightfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetLightiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetLightiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glLightModelf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeli ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glLightModeli", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glLightModelfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glLightModelfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeliv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glLightModeliv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glLightModeliv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialf ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glMaterialf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMateriali ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glMateriali", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glMaterialfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glMaterialfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glMaterialiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glMaterialiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetMaterialfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMaterialfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetMaterialiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMaterialiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMaterial ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glColorMaterial", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelZoom ( + JNIEnv *env, jobject obj, + jfloat xfactor, + jfloat yfactor) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPixelZoom", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) xfactor, + (GLfloat) yfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStoref ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelStoref", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStorei ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelStorei", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelTransferf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelTransferi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLfloat *)) + getGLProcAddressHelper("glPixelMapfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapfv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLint) mapsize, + (const GLfloat *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLuint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLuint *)) + getGLProcAddressHelper("glPixelMapuiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapuiv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLint) mapsize, + (const GLuint *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLushort *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLushort *)) + getGLProcAddressHelper("glPixelMapusv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapusv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLint) mapsize, + (const GLushort *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *)) + getGLProcAddressHelper("glGetPixelMapfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapfv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLfloat *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint *)) + getGLProcAddressHelper("glGetPixelMapuiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapuiv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLuint *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLushort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLushort *)) + getGLProcAddressHelper("glGetPixelMapusv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapusv arg: values"); + } + } + __func_ptr__ ( + (GLenum) map, + (GLushort *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBitmap ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jfloat xorig, + jfloat yorig, + jfloat xmove, + jfloat ymove, + jbyteArray bitmap) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) + getGLProcAddressHelper("glBitmap", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(bitmap!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, bitmap, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glBitmap arg: bitmap"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLfloat) xorig, + (GLfloat) yorig, + (GLfloat) xmove, + (GLfloat) ymove, + (const GLubyte *) ptr6 + ); + + if(bitmap!=NULL) + { + (*env)->ReleaseByteArrayElements(env, bitmap, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glReadPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + __func_ptr__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyPixels ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint type) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum)) + getGLProcAddressHelper("glCopyPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilFunc ( + JNIEnv *env, jobject obj, + jint func, + jint ref, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLuint)) + getGLProcAddressHelper("glStencilFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLint) ref, + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glStencilMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilOp ( + JNIEnv *env, jobject obj, + jint fail, + jint zfail, + jint zpass) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum)) + getGLProcAddressHelper("glStencilOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) fail, + (GLenum) zfail, + (GLenum) zpass + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearStencil ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearStencil ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glClearStencil", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGend ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdouble param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble)) + getGLProcAddressHelper("glTexGend", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenf ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexGenf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeni ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexGeni", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLdouble *)) + getGLProcAddressHelper("glTexGendv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGendv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (const GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glTexGenfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGenfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glTexGeniv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGeniv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + getGLProcAddressHelper("glGetTexGendv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGendv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexGenfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGenfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexGeniv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGeniv arg: params"); + } + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexEnvf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvi ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexEnvi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glTexEnvfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexEnvfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glTexEnviv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexEnviv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexEnvfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexEnvfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexEnviv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexEnviv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glTexParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glTexParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetTexLevelParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetTexLevelParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLfloat *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint *)) + getGLProcAddressHelper("glGetTexLevelParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, params, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetTexLevelParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLint *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jbyte *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jshort *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jint *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jfloat *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jboolean *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jlong *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr7 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jshort *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jint *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jfloat *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jboolean *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jlong *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) + getGLProcAddressHelper("glGenTextures", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGenTextures arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *)) + getGLProcAddressHelper("glDeleteTextures", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glDeleteTextures arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTexture ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + getGLProcAddressHelper("glPrioritizeTextures", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPrioritizeTextures arg: textures"); + } + } + if(priorities!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, priorities, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPrioritizeTextures arg: priorities"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + getGLProcAddressHelper("glAreTexturesResident", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glAreTexturesResident arg: textures"); + } + } + if(residences!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glAreTexturesResident arg: residences"); + } + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTexture ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTexture ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jshort *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jint *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jfloat *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jboolean *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jlong *ptr8 = NULL; + static int isWarned8 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr8 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint height, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint stride, + jint order, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + getGLProcAddressHelper("glMap1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, points, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glMap1d arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) stride, + (GLint) order, + (const GLdouble *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint stride, + jint order, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + getGLProcAddressHelper("glMap1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, points, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glMap1f arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) stride, + (GLint) order, + (const GLfloat *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint ustride, + jint uorder, + jdouble v1, + jdouble v2, + jint vstride, + jint vorder, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jdouble *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + getGLProcAddressHelper("glMap2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr9 = (*env)->GetDoubleArrayElements(env, points, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glMap2d arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) ustride, + (GLint) uorder, + (GLdouble) v1, + (GLdouble) v2, + (GLint) vstride, + (GLint) vorder, + (const GLdouble *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint ustride, + jint uorder, + jfloat v1, + jfloat v2, + jint vstride, + jint vorder, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jfloat *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + getGLProcAddressHelper("glMap2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(points!=NULL) + { + ptr9 = (*env)->GetFloatArrayElements(env, points, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glMap2f arg: points"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) ustride, + (GLint) uorder, + (GLfloat) v1, + (GLfloat) v2, + (GLint) vstride, + (GLint) vorder, + (const GLfloat *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapdv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + getGLProcAddressHelper("glGetMapdv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapdv arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) query, + (GLdouble *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapfv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetMapfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapfv arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) query, + (GLfloat *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapiv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetMapiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapiv arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) query, + (GLint *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1d ( GLdouble u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( + JNIEnv *env, jobject obj, + jdouble u) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glEvalCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1f ( GLfloat u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( + JNIEnv *env, jobject obj, + jfloat u) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glEvalCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glEvalCoord1dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord1dv arg: u"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glEvalCoord1fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord1fv arg: u"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( + JNIEnv *env, jobject obj, + jdouble u, + jdouble v) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glEvalCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u, + (GLdouble) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( + JNIEnv *env, jobject obj, + jfloat u, + jfloat v) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glEvalCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u, + (GLfloat) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) + getGLProcAddressHelper("glEvalCoord2dv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord2dv arg: u"); + } + } + __func_ptr__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) + getGLProcAddressHelper("glEvalCoord2fv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(u!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord2fv arg: u"); + } + } + __func_ptr__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2, + jint vn, + jdouble v1, + jdouble v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2, + (GLint) vn, + (GLdouble) v1, + (GLdouble) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2, + jint vn, + jfloat v1, + jfloat v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2, + (GLint) vn, + (GLfloat) v1, + (GLfloat) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint1 ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glEvalPoint1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( + JNIEnv *env, jobject obj, + jint i, + jint j) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glEvalPoint2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i, + (GLint) j + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2, + jint j1, + jint j2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2, + (GLint) j1, + (GLint) j2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glFogf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glFogi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glFogfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glFogfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogiv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glFogiv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glFogiv arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jfloatArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, GLfloat *)) + getGLProcAddressHelper("glFeedbackBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(buffer!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, buffer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glFeedbackBuffer arg: buffer"); + } + } + __func_ptr__ ( + (GLsizei) size, + (GLenum) type, + (GLfloat *) ptr2 + ); + + if(buffer!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPassThrough ( GLfloat token ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPassThrough ( + JNIEnv *env, jobject obj, + jfloat token) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPassThrough", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) token + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSelectBuffer ( + JNIEnv *env, jobject obj, + jint size, + jintArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) + getGLProcAddressHelper("glSelectBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(buffer!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, buffer, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glSelectBuffer arg: buffer"); + } + } + __func_ptr__ ( + (GLsizei) size, + (GLuint *) ptr1 + ); + + if(buffer!=NULL) + { + (*env)->ReleaseIntArrayElements(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInitNames ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInitNames ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glInitNames", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glLoadName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glPushName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopName ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopName ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseByteArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jshortArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseShortArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jintArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseIntArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jfloatArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jdoubleArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbooleanArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jlongArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(indices!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + __func_ptr__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseLongArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jbyte *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jshort *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jint *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jfloat *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jdouble *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jboolean *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jlong *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jbyte *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jshort *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jint *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jfloat *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jdouble *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jboolean *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jlong *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glColorTableParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glColorTableParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glColorTableParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glColorTableParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorTable ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetColorTableParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetColorTableParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquation ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquation ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquation", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHistogram ( + JNIEnv *env, jobject obj, + jint target, + jint width, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, GLboolean)) + getGLProcAddressHelper("glHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) width, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetHistogram ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetHistogram ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jdoubleArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbooleanArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jlongArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetHistogramParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetHistogramParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetHistogramParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetHistogramParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMinmax ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLboolean)) + getGLProcAddressHelper("glMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetMinmax ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetMinmax ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jdoubleArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbooleanArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jlongArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(values!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetMinmaxParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMinmaxParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetMinmaxParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMinmaxParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glConvolutionParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + getGLProcAddressHelper("glConvolutionParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glConvolutionParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glConvolutionParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + getGLProcAddressHelper("glConvolutionParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glConvolutionParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(image!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetConvolutionParameterfv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetConvolutionParameterfv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetConvolutionParameteriv", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetConvolutionParameteriv arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray row, + jbyteArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jbyte *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (*env)->GetByteArrayElements(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseByteArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseByteArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray row, + jshortArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jshort *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (*env)->GetShortArrayElements(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseShortArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseShortArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray row, + jintArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jint *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (*env)->GetIntArrayElements(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseIntArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseIntArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray row, + jfloatArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jfloat *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (*env)->GetFloatArrayElements(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (*env)->GetDoubleArrayElements(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jboolean *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (*env)->GetBooleanArrayElements(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray row, + jlongArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jlong *ptr7 = NULL; + static int isWarned7 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (*env)->GetLongArrayElements(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseLongArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseLongArrayElements(env, column, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray row, + jbyteArray column, + jbyteArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseByteArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseByteArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseByteArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray row, + jshortArray column, + jshortArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseShortArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseShortArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseShortArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray row, + jintArray column, + jintArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseIntArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseIntArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseIntArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray row, + jfloatArray column, + jfloatArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column, + jdoubleArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column, + jbooleanArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray row, + jlongArray column, + jlongArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(row!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseLongArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseLongArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseLongArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColorEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat bias) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffsetEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) bias + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jbyte *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jshort *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jint *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jfloat *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jdouble *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jboolean *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray9 = JNI_FALSE; + jlong *ptr9 = NULL; + static int isWarned9 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr9 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jbyte *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jshort *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jint *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jfloat *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jdouble *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jboolean *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray10 = JNI_FALSE; + jlong *ptr10 = NULL; + static int isWarned10 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(pixels!=NULL) + { + ptr10 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) + getGLProcAddressHelper("glGenTexturesEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGenTexturesEXT arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *)) + getGLProcAddressHelper("glDeleteTexturesEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glDeleteTexturesEXT arg: textures"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + getGLProcAddressHelper("glPrioritizeTexturesEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPrioritizeTexturesEXT arg: textures"); + } + } + if(priorities!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, priorities, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPrioritizeTexturesEXT arg: priorities"); + } + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + getGLProcAddressHelper("glAreTexturesResidentEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glAreTexturesResidentEXT arg: textures"); + } + } + if(residences!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glAreTexturesResidentEXT arg: residences"); + } + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( + JNIEnv *env, jobject obj, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, const GLboolean *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, const GLboolean *)) + getGLProcAddressHelper("glEdgeFlagPointerEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(ptr!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glEdgeFlagPointerEXT arg: ptr"); + } + } + __func_ptr__ ( + (GLsizei) stride, + (GLsizei) count, + (const GLboolean *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) + getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElementEXT ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElementEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquationEXT ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquationEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPointParameterfEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glPointParameterfvEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPointParameterfvEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(data!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(table!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + getGLProcAddressHelper("glGetColorTableParameterfvEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterfvEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + getGLProcAddressHelper("glGetColorTableParameterivEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterivEXT arg: params"); + } + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( + JNIEnv *env, jobject obj, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLsizei)) + getGLProcAddressHelper("glLockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glUnlockArraysEXT ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glUnlockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glClientActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord1dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord1dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord1fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord1fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glMultiTexCoord1iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord1ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort)) + getGLProcAddressHelper("glMultiTexCoord1sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord1svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord2dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord2dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord2fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord2fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord2iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord2ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord2sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord2svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord3dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord3dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord3fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord3fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord3iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord3ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord3sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord3svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord4dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) + getGLProcAddressHelper("glMultiTexCoord4dvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4dvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord4fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) + getGLProcAddressHelper("glMultiTexCoord4fvARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4fvARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord4iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) + getGLProcAddressHelper("glMultiTexCoord4ivARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4ivARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord4sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) + getGLProcAddressHelper("glMultiTexCoord4svARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4svARB arg: v"); + } + } + __func_ptr__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/gl-proto-dynauto.c b/C2J/gl-proto-dynauto.c new file mode 100644 index 0000000..242ea4e --- /dev/null +++ b/C2J/gl-proto-dynauto.c @@ -0,0 +1,23574 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void glClearIndex ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearIndex ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glClearIndex", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glClearColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClear ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClear ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glClear", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIndexMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMask ( + JNIEnv *env, jobject obj, + jboolean red, + jboolean green, + jboolean blue, + jboolean alpha) + { + static void (CALLBACK *__func_ptr__)(GLboolean, GLboolean, GLboolean, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean, GLboolean, GLboolean, GLboolean)) + getGLProcAddressHelper("glColorMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) red, + (GLboolean) green, + (GLboolean) blue, + (GLboolean) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAlphaFunc ( + JNIEnv *env, jobject obj, + jint func, + jfloat ref) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLclampf)) + getGLProcAddressHelper("glAlphaFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLclampf) ref + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendFunc ( + JNIEnv *env, jobject obj, + jint sfactor, + jint dfactor) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glBlendFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) sfactor, + (GLenum) dfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLogicOp ( GLenum opcode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLogicOp ( + JNIEnv *env, jobject obj, + jint opcode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glLogicOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) opcode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCullFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCullFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glCullFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrontFace ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrontFace ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glFrontFace", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointSize ( GLfloat size ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointSize ( + JNIEnv *env, jobject obj, + jfloat size) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPointSize", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) size + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineWidth ( GLfloat width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineWidth ( + JNIEnv *env, jobject obj, + jfloat width) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glLineWidth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineStipple ( + JNIEnv *env, jobject obj, + jint factor, + jshort pattern) + { + static void (CALLBACK *__func_ptr__)(GLint, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLushort)) + getGLProcAddressHelper("glLineStipple", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) factor, + (GLushort) pattern + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonMode ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glPolygonMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffset ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat units) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffset", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) units + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleaseByteArrayElements(env, mask, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + static void (CALLBACK *__func_ptr__)(GLubyte *) = NULL; + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + + 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__ ( + (GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleaseByteArrayElements(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlag ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlag ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glEdgeFlag", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( + JNIEnv *env, jobject obj, + jbooleanArray flag) + { + static void (CALLBACK *__func_ptr__)(const GLboolean *) = NULL; + jboolean *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__ ( + (const GLboolean *) ptr0 + ); + + if(flag!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, flag, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScissor ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glScissor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) plane, + (const GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + 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__ ( + (GLenum) plane, + (GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDrawBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadBuffer ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glReadBuffer", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisable ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisable ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsEnabled ( + JNIEnv *env, jobject obj, + jint cap) + { + static jboolean (CALLBACK *__func_ptr__)(GLenum) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glIsEnabled", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLenum) cap + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glEnableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDisableClientState ( GLenum cap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDisableClientState", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetBooleanv ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLboolean *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetDoublev ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLdouble *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetFloatv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetIntegerv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbitfield)) + getGLProcAddressHelper("glPushClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopClientAttrib ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopClientAttrib", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint glRenderMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glRenderMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static jint (CALLBACK *__func_ptr__)(GLenum) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glRenderMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLenum) mode + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLenum glGetError ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGetError ( + JNIEnv *env, jobject obj) + { + static jint (CALLBACK *__func_ptr__)() = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)()) + getGLProcAddressHelper("glGetError", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFinish ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFinish ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFinish", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFlush ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFlush ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glFlush", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHint ( GLenum target , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHint ( + JNIEnv *env, jobject obj, + jint target, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glHint", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearDepth ( GLclampd depth ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearDepth ( + JNIEnv *env, jobject obj, + jdouble depth) + { + static void (CALLBACK *__func_ptr__)(GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd)) + getGLProcAddressHelper("glClearDepth", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) depth + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthFunc ( GLenum func ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthFunc ( + JNIEnv *env, jobject obj, + jint func) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glDepthFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthMask ( GLboolean flag ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthMask ( + JNIEnv *env, jobject obj, + jboolean flag) + { + static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLboolean)) + getGLProcAddressHelper("glDepthMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthRange ( + JNIEnv *env, jobject obj, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLclampd, GLclampd) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampd, GLclampd)) + getGLProcAddressHelper("glDepthRange", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampd) near_val, + (GLclampd) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearAccum ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glClearAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glAccum ( GLenum op , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAccum ( + JNIEnv *env, jobject obj, + jint op, + jfloat value) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glAccum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) op, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMatrixMode ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMatrixMode ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glMatrixMode", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glOrtho ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glOrtho", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrustum ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glFrustum", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glViewport ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glViewport", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPushMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopMatrix ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopMatrix ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopMatrix", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadIdentity ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadIdentity ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glLoadIdentity", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotated ( + JNIEnv *env, jobject obj, + jdouble angle, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRotated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) angle, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotatef ( + JNIEnv *env, jobject obj, + jfloat angle, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRotatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) angle, + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScaled ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glScaled", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScalef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glScalef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslated ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTranslated", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslatef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTranslatef", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsList ( + JNIEnv *env, jobject obj, + jint list) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsList", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) list + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteLists ( + JNIEnv *env, jobject obj, + jint list, + jint range) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLsizei)) + getGLProcAddressHelper("glDeleteLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLsizei) range + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLuint glGenLists ( GLsizei range ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGenLists ( + JNIEnv *env, jobject obj, + jint range) + { + static jint (CALLBACK *__func_ptr__)(GLsizei) = NULL; + jint ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jint (CALLBACK *)(GLsizei)) + getGLProcAddressHelper("glGenLists", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jint) __func_ptr__ ( + (GLsizei) range + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNewList ( GLuint list , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNewList ( + JNIEnv *env, jobject obj, + jint list, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLenum)) + getGLProcAddressHelper("glNewList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEndList ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEndList ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEndList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallList ( GLuint list ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallList ( + JNIEnv *env, jobject obj, + jint list) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glCallList", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) list + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbyteArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseByteArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jshortArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseShortArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jintArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseIntArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jfloatArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jdoubleArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbooleanArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jlongArray lists) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseLongArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glListBase ( GLuint base ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glListBase ( + JNIEnv *env, jobject obj, + jint base) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glListBase", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) base + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBegin ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBegin ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBegin", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEnd ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnd ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glEnd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glVertex2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glVertex2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glVertex4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glVertex4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glVertex4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glVertex4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3b ( + JNIEnv *env, jobject obj, + jbyte nx, + jbyte ny, + jbyte nz) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glNormal3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) nx, + (GLbyte) ny, + (GLbyte) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3d ( + JNIEnv *env, jobject obj, + jdouble nx, + jdouble ny, + jdouble nz) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glNormal3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) nx, + (GLdouble) ny, + (GLdouble) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3f ( + JNIEnv *env, jobject obj, + jfloat nx, + jfloat ny, + jfloat nz) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glNormal3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) nx, + (GLfloat) ny, + (GLfloat) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3i ( + JNIEnv *env, jobject obj, + jint nx, + jint ny, + jint nz) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glNormal3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) nx, + (GLint) ny, + (GLint) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3s ( + JNIEnv *env, jobject obj, + jshort nx, + jshort ny, + jshort nz) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glNormal3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) nx, + (GLshort) ny, + (GLshort) nz + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + 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__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexd ( GLdouble c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexd ( + JNIEnv *env, jobject obj, + jdouble c) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glIndexd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexf ( GLfloat c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexf ( + JNIEnv *env, jobject obj, + jfloat c) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glIndexf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexi ( GLint c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexi ( + JNIEnv *env, jobject obj, + jint c) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glIndexi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexs ( GLshort c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexs ( + JNIEnv *env, jobject obj, + jshort c) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glIndexs", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexub ( GLubyte c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexub ( + JNIEnv *env, jobject obj, + jbyte c) + { + static void (CALLBACK *__func_ptr__)(GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte)) + getGLProcAddressHelper("glIndexub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) c + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexdv ( const GLdouble * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexdv ( + JNIEnv *env, jobject obj, + jdoubleArray c) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexfv ( const GLfloat * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexfv ( + JNIEnv *env, jobject obj, + jfloatArray c) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexiv ( const GLint * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexiv ( + JNIEnv *env, jobject obj, + jintArray c) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseIntArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexsv ( const GLshort * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexsv ( + JNIEnv *env, jobject obj, + jshortArray c) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseShortArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexubv ( const GLubyte * c ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexubv ( + JNIEnv *env, jobject obj, + jbyteArray c) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseByteArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor3b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glColor3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor3ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor3ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor3us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte, GLbyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte, GLbyte)) + getGLProcAddressHelper("glColor4b", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue, + (GLbyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue, + jdouble alpha) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glColor4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue, + (GLdouble) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glColor4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glColor4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) red, + (GLint) green, + (GLint) blue, + (GLint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glColor4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) red, + (GLshort) green, + (GLshort) blue, + (GLshort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte, GLubyte) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte, GLubyte)) + getGLProcAddressHelper("glColor4ub", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue, + (GLubyte) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint, GLuint)) + getGLProcAddressHelper("glColor4ui", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) red, + (GLuint) green, + (GLuint) blue, + (GLuint) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort, GLushort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort, GLushort)) + getGLProcAddressHelper("glColor4us", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLushort) red, + (GLushort) green, + (GLushort) blue, + (GLushort) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + 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__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + 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__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + 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__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4bv ( const GLbyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; + 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__ ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ubv ( const GLubyte * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; + 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__ ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4uiv ( const GLuint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; + 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__ ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4usv ( const GLushort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; + 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__ ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1d ( GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1d ( + JNIEnv *env, jobject obj, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glTexCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1f ( GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1f ( + JNIEnv *env, jobject obj, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glTexCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1i ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1i ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glTexCoord1i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1s ( GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1s ( + JNIEnv *env, jobject obj, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort)) + getGLProcAddressHelper("glTexCoord1s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2i ( + JNIEnv *env, jobject obj, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glTexCoord2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glTexCoord4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glTexCoord4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glTexCoord4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glTexCoord4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glRasterPos2i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos2s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos3d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos3f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos3i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos3s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRasterPos4d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRasterPos4f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRasterPos4i", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRasterPos4s", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4iv ( const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; + 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__ ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4sv ( const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; + 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__ ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectd ( + JNIEnv *env, jobject obj, + jdouble x1, + jdouble y1, + jdouble x2, + jdouble y2) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glRectd", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) x1, + (GLdouble) y1, + (GLdouble) x2, + (GLdouble) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectf ( + JNIEnv *env, jobject obj, + jfloat x1, + jfloat y1, + jfloat x2, + jfloat y2) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glRectf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) x1, + (GLfloat) y1, + (GLfloat) x2, + (GLfloat) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRecti ( + JNIEnv *env, jobject obj, + jint x1, + jint y1, + jint x2, + jint y2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glRecti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x1, + (GLint) y1, + (GLint) x2, + (GLint) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRects ( + JNIEnv *env, jobject obj, + jshort x1, + jshort y1, + jshort x2, + jshort y2) + { + static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glRects", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLshort) x1, + (GLshort) y1, + (GLshort) x2, + (GLshort) y2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectdv ( + JNIEnv *env, jobject obj, + jdoubleArray v1, + jdoubleArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *, const GLdouble *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v2, 0); + } + __func_ptr__ ( + (const GLdouble *) ptr0, + (const GLdouble *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectfv ( + JNIEnv *env, jobject obj, + jfloatArray v1, + jfloatArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *, const GLfloat *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v2, 0); + } + __func_ptr__ ( + (const GLfloat *) ptr0, + (const GLfloat *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectiv ( + JNIEnv *env, jobject obj, + jintArray v1, + jintArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLint *, const GLint *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v2, 0); + } + __func_ptr__ ( + (const GLint *) ptr0, + (const GLint *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectsv ( + JNIEnv *env, jobject obj, + jshortArray v1, + jshortArray v2) + { + static void (CALLBACK *__func_ptr__)(const GLshort *, const GLshort *) = NULL; + 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); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v2, 0); + } + __func_ptr__ ( + (const GLshort *) ptr0, + (const GLshort *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( + JNIEnv *env, jobject obj, + jint stride, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( + JNIEnv *env, jobject obj, + jint stride, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( + JNIEnv *env, jobject obj, + jint stride, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( + JNIEnv *env, jobject obj, + jint stride, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( + JNIEnv *env, jobject obj, + jint stride, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( + JNIEnv *env, jobject obj, + jint stride, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( + JNIEnv *env, jobject obj, + jint stride, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElement ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElement ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElement", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArrays ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArrays", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseByteArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jshortArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseShortArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jintArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseIntArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jfloatArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jdoubleArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbooleanArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jlongArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseLongArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbyteArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jshortArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jintArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jfloatArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jdoubleArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbooleanArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jlongArray pointer) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glShadeModel ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glShadeModel ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glShadeModel", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightf ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glLightf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLighti ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glLighti", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) light, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) light, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) light, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) light, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) light, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glLightModelf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeli ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glLightModeli", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeliv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialf ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glMaterialf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMateriali ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glMateriali", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) face, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) face, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) face, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) face, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMaterial ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) + getGLProcAddressHelper("glColorMaterial", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelZoom ( + JNIEnv *env, jobject obj, + jfloat xfactor, + jfloat yfactor) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPixelZoom", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) xfactor, + (GLfloat) yfactor + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStoref ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelStoref", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStorei ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelStorei", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPixelTransferf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glPixelTransferi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLfloat *) = NULL; + 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__ ( + (GLenum) map, + (GLint) mapsize, + (const GLfloat *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLuint *) = NULL; + 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__ ( + (GLenum) map, + (GLint) mapsize, + (const GLuint *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLushort *) = NULL; + 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__ ( + (GLenum) map, + (GLint) mapsize, + (const GLushort *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + 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__ ( + (GLenum) map, + (GLfloat *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLenum) map, + (GLuint *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLushort *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + 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__ ( + (GLenum) map, + (GLushort *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBitmap ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jfloat xorig, + jfloat yorig, + jfloat xmove, + jfloat ymove, + jbyteArray bitmap) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLfloat) xorig, + (GLfloat) yorig, + (GLfloat) xmove, + (GLfloat) ymove, + (const GLubyte *) ptr6 + ); + + if(bitmap!=NULL) + { + (*env)->ReleaseByteArrayElements(env, bitmap, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + + 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__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyPixels ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint type) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum)) + getGLProcAddressHelper("glCopyPixels", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilFunc ( + JNIEnv *env, jobject obj, + jint func, + jint ref, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLuint)) + getGLProcAddressHelper("glStencilFunc", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) func, + (GLint) ref, + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilMask ( GLuint mask ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilMask ( + JNIEnv *env, jobject obj, + jint mask) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glStencilMask", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilOp ( + JNIEnv *env, jobject obj, + jint fail, + jint zfail, + jint zpass) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum)) + getGLProcAddressHelper("glStencilOp", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) fail, + (GLenum) zfail, + (GLenum) zpass + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClearStencil ( GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearStencil ( + JNIEnv *env, jobject obj, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glClearStencil", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGend ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdouble param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble)) + getGLProcAddressHelper("glTexGend", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenf ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexGenf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeni ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexGeni", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) coord, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) coord, + (GLenum) pname, + (const GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) coord, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) coord, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + 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__ ( + (GLenum) coord, + (GLenum) pname, + (GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) coord, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) coord, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexEnvf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvi ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexEnvi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glTexParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glTexParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLfloat *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLint *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + 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__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTexture ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + 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); + } + if(priorities!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, priorities, 0); + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + 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); + } + if(residences!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTexture ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTexture ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTexture", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint height, + jint border) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) + getGLProcAddressHelper("glCopyTexImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint stride, + jint order, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) stride, + (GLint) order, + (const GLdouble *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint stride, + jint order, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) stride, + (GLint) order, + (const GLfloat *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint ustride, + jint uorder, + jdouble v1, + jdouble v2, + jint vstride, + jint vorder, + jdoubleArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) ustride, + (GLint) uorder, + (GLdouble) v1, + (GLdouble) v2, + (GLint) vstride, + (GLint) vorder, + (const GLdouble *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint ustride, + jint uorder, + jfloat v1, + jfloat v2, + jint vstride, + jint vorder, + jfloatArray points) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) ustride, + (GLint) uorder, + (GLfloat) v1, + (GLfloat) v2, + (GLint) vstride, + (GLint) vorder, + (const GLfloat *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapdv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) query, + (GLdouble *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapfv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) query, + (GLfloat *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapiv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) query, + (GLint *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1d ( GLdouble u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( + JNIEnv *env, jobject obj, + jdouble u) + { + static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble)) + getGLProcAddressHelper("glEvalCoord1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1f ( GLfloat u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( + JNIEnv *env, jobject obj, + jfloat u) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glEvalCoord1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( + JNIEnv *env, jobject obj, + jdouble u, + jdouble v) + { + static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) + getGLProcAddressHelper("glEvalCoord2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLdouble) u, + (GLdouble) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( + JNIEnv *env, jobject obj, + jfloat u, + jfloat v) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glEvalCoord2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) u, + (GLfloat) v + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; + 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__ ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; + 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__ ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid1d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid1f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2, + jint vn, + jdouble v1, + jdouble v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) + getGLProcAddressHelper("glMapGrid2d", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2, + (GLint) vn, + (GLdouble) v1, + (GLdouble) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2, + jint vn, + jfloat v1, + jfloat v2) + { + static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) + getGLProcAddressHelper("glMapGrid2f", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2, + (GLint) vn, + (GLfloat) v1, + (GLfloat) v2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint1 ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glEvalPoint1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( + JNIEnv *env, jobject obj, + jint i, + jint j) + { + static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) + getGLProcAddressHelper("glEvalPoint2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i, + (GLint) j + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh1", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2, + jint j1, + jint j2) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glEvalMesh2", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) i1, + (GLint) i2, + (GLint) j1, + (GLint) j2 + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glFogf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogi ( GLenum pname , GLint param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glFogi", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogiv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jfloatArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLsizei) size, + (GLenum) type, + (GLfloat *) ptr2 + ); + + if(buffer!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPassThrough ( GLfloat token ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPassThrough ( + JNIEnv *env, jobject obj, + jfloat token) + { + static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat)) + getGLProcAddressHelper("glPassThrough", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) token + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSelectBuffer ( + JNIEnv *env, jobject obj, + jint size, + jintArray buffer) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLsizei) size, + (GLuint *) ptr1 + ); + + if(buffer!=NULL) + { + (*env)->ReleaseIntArrayElements(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glInitNames ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInitNames ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glInitNames", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glLoadName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPushName ( GLuint name ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushName ( + JNIEnv *env, jobject obj, + jint name) + { + static void (CALLBACK *__func_ptr__)(GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glPushName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPopName ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopName ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glPopName", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbyteArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseByteArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jshortArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseShortArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jintArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseIntArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jfloatArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jdoubleArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbooleanArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jlongArray indices) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseLongArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorSubTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) start, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorTable ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyColorTable", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquation ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquation ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquation", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColor", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHistogram ( + JNIEnv *env, jobject obj, + jint target, + jint width, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, GLboolean)) + getGLProcAddressHelper("glHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLsizei) width, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetHistogram ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetHistogram ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetHistogram", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jdoubleArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbooleanArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jlongArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMinmax ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jboolean sink) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLboolean) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLboolean)) + getGLProcAddressHelper("glMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glResetMinmax ( GLenum target ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetMinmax ( + JNIEnv *env, jobject obj, + jint target) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glResetMinmax", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbyteArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jshortArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jintArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jfloatArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jdoubleArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbooleanArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jlongArray values) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + 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__ ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + getGLProcAddressHelper("glConvolutionParameterf", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) + getGLProcAddressHelper("glConvolutionParameteri", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) pname, + (GLint) params + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter1D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyConvolutionFilter2D", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray image) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray row, + jbyteArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + 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); + } + if(column!=NULL) + { + ptr7 = (*env)->GetByteArrayElements(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseByteArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseByteArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray row, + jshortArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + 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); + } + if(column!=NULL) + { + ptr7 = (*env)->GetShortArrayElements(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseShortArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseShortArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray row, + jintArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + 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); + } + if(column!=NULL) + { + ptr7 = (*env)->GetIntArrayElements(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseIntArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseIntArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray row, + jfloatArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + 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); + } + if(column!=NULL) + { + ptr7 = (*env)->GetFloatArrayElements(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + 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); + } + if(column!=NULL) + { + ptr7 = (*env)->GetDoubleArrayElements(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + jboolean *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); + } + if(column!=NULL) + { + ptr7 = (*env)->GetBooleanArrayElements(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray row, + jlongArray column) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + 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); + } + if(column!=NULL) + { + ptr7 = (*env)->GetLongArrayElements(env, column, 0); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseLongArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseLongArrayElements(env, column, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray row, + jbyteArray column, + jbyteArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseByteArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseByteArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseByteArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray row, + jshortArray column, + jshortArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseShortArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseShortArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseShortArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray row, + jintArray column, + jintArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseIntArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseIntArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseIntArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray row, + jfloatArray column, + jfloatArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column, + jdoubleArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column, + jbooleanArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray row, + jlongArray column, + jlongArray span) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + 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); + } + if(column!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, span, &isCopiedArray5); + } + __func_ptr__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseLongArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseLongArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseLongArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + getGLProcAddressHelper("glBlendColorEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat bias) + { + static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) + getGLProcAddressHelper("glPolygonOffsetEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLfloat) factor, + (GLfloat) bias + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + getGLProcAddressHelper("glCopyTexSubImage3DEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; + 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__ ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) + getGLProcAddressHelper("glBindTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; + 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); + } + if(priorities!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, priorities, 0); + } + __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; + jboolean ret; + + 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); + } + if(residences!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); + } + ret = (jboolean) __func_ptr__ ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * 
+ */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( + JNIEnv *env, jobject obj, + jint texture) + { + static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; + jboolean ret; + + + if(__func_ptr__==NULL) { + __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) + getGLProcAddressHelper("glIsTextureEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return 0; + } + ret = (jboolean) __func_ptr__ ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + jboolean *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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + 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__ ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( + JNIEnv *env, jobject obj, + jint stride, + jint count, + jbooleanArray ptr) + { + static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, const GLboolean *) = NULL; + jboolean *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__ ( + (GLsizei) stride, + (GLsizei) count, + (const GLboolean *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + 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__ ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElementEXT ( GLint i ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( + JNIEnv *env, jobject obj, + jint i) + { + static void (CALLBACK *__func_ptr__)(GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint)) + getGLProcAddressHelper("glArrayElementEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + getGLProcAddressHelper("glDrawArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquationEXT ( GLenum mode ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( + JNIEnv *env, jobject obj, + jint mode) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glBlendEquationEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glPointParameterfEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + jboolean *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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + 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__ ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + 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__ ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( + JNIEnv *env, jobject obj, + jint first, + jint count) + { + static void (CALLBACK *__func_ptr__)(GLint, GLsizei) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLint, GLsizei)) + getGLProcAddressHelper("glLockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glUnlockArraysEXT ( void ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( + JNIEnv *env, jobject obj) + { + static void (CALLBACK *__func_ptr__)() = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)()) + getGLProcAddressHelper("glUnlockArraysEXT", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + static void (CALLBACK *__func_ptr__)(GLenum) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum)) + getGLProcAddressHelper("glClientActiveTextureARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord1dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord1fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) + getGLProcAddressHelper("glMultiTexCoord1iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort)) + getGLProcAddressHelper("glMultiTexCoord1sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord2dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord2fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord2iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord2sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord3dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord3fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord3iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord3sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) + getGLProcAddressHelper("glMultiTexCoord4dARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; + 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__ ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) + getGLProcAddressHelper("glMultiTexCoord4fARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; + 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__ ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r, + jint q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + getGLProcAddressHelper("glMultiTexCoord4iARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; + 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__ ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r, + jshort q) + { + static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL; + + if(__func_ptr__==NULL) { + __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort, GLshort)) + getGLProcAddressHelper("glMultiTexCoord4sARB", NULL, 1, 0); + if(__func_ptr__==NULL) + return; + } + __func_ptr__ ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; + 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__ ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/gl-protoVirt-auto.java b/C2J/gl-protoVirt-auto.java new file mode 100644 index 0000000..9a8608a --- /dev/null +++ b/C2J/gl-protoVirt-auto.java @@ -0,0 +1,6955 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void glClearIndex ( GLfloat c ) ;
+ * 
+ */ + public void glClearIndex ( + float c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + public void glClearColor ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClear ( GLbitfield mask ) ;
+ * 
+ */ + public void glClear ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexMask ( GLuint mask ) ;
+ * 
+ */ + public void glIndexMask ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * 
+ */ + public void glColorMask ( + boolean red, + boolean green, + boolean blue, + boolean alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * 
+ */ + public void glAlphaFunc ( + int func, + float ref + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * 
+ */ + public void glBlendFunc ( + int sfactor, + int dfactor + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLogicOp ( GLenum opcode ) ;
+ * 
+ */ + public void glLogicOp ( + int opcode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCullFace ( GLenum mode ) ;
+ * 
+ */ + public void glCullFace ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFrontFace ( GLenum mode ) ;
+ * 
+ */ + public void glFrontFace ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPointSize ( GLfloat size ) ;
+ * 
+ */ + public void glPointSize ( + float size + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLineWidth ( GLfloat width ) ;
+ * 
+ */ + public void glLineWidth ( + float width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * 
+ */ + public void glLineStipple ( + int factor, + short pattern + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * 
+ */ + public void glPolygonMode ( + int face, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * 
+ */ + public void glPolygonOffset ( + float factor, + float units + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * 
+ */ + public void glPolygonStipple ( + byte[] mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * 
+ */ + public void glGetPolygonStipple ( + byte[] mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlag ( GLboolean flag ) ;
+ * 
+ */ + public void glEdgeFlag ( + boolean flag + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * 
+ */ + public void glEdgeFlagv ( + boolean[] flag + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public void glScissor ( + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * 
+ */ + public void glClipPlane ( + int plane, + double[] equation + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * 
+ */ + public void glGetClipPlane ( + int plane, + double[] equation + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawBuffer ( GLenum mode ) ;
+ * 
+ */ + public void glDrawBuffer ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glReadBuffer ( GLenum mode ) ;
+ * 
+ */ + public void glReadBuffer ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEnable ( GLenum cap ) ;
+ * 
+ */ + public void glEnable ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDisable ( GLenum cap ) ;
+ * 
+ */ + public void glDisable ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * 
+ */ + public boolean glIsEnabled ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEnableClientState ( GLenum cap ) ;
+ * 
+ */ + public void glEnableClientState ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDisableClientState ( GLenum cap ) ;
+ * 
+ */ + public void glDisableClientState ( + int cap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * 
+ */ + public void glGetBooleanv ( + int pname, + boolean[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * 
+ */ + public void glGetDoublev ( + int pname, + double[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetFloatv ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetIntegerv ( + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushAttrib ( GLbitfield mask ) ;
+ * 
+ */ + public void glPushAttrib ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopAttrib ( void ) ;
+ * 
+ */ + public void glPopAttrib ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * 
+ */ + public void glPushClientAttrib ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopClientAttrib ( void ) ;
+ * 
+ */ + public void glPopClientAttrib ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint glRenderMode ( GLenum mode ) ;
+ * 
+ */ + public int glRenderMode ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLenum glGetError ( void ) ;
+ * 
+ */ + public int glGetError ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFinish ( void ) ;
+ * 
+ */ + public void glFinish ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFlush ( void ) ;
+ * 
+ */ + public void glFlush ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glHint ( GLenum target , GLenum mode ) ;
+ * 
+ */ + public void glHint ( + int target, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearDepth ( GLclampd depth ) ;
+ * 
+ */ + public void glClearDepth ( + double depth + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthFunc ( GLenum func ) ;
+ * 
+ */ + public void glDepthFunc ( + int func + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthMask ( GLboolean flag ) ;
+ * 
+ */ + public void glDepthMask ( + boolean flag + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * 
+ */ + public void glDepthRange ( + double near_val, + double far_val + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + public void glClearAccum ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glAccum ( GLenum op , GLfloat value ) ;
+ * 
+ */ + public void glAccum ( + int op, + float value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMatrixMode ( GLenum mode ) ;
+ * 
+ */ + public void glMatrixMode ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + public void glOrtho ( + double left, + double right, + double bottom, + double top, + double near_val, + double far_val + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * 
+ */ + public void glFrustum ( + double left, + double right, + double bottom, + double top, + double near_val, + double far_val + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public void glViewport ( + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushMatrix ( void ) ;
+ * 
+ */ + public void glPushMatrix ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopMatrix ( void ) ;
+ * 
+ */ + public void glPopMatrix ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadIdentity ( void ) ;
+ * 
+ */ + public void glLoadIdentity ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + public void glLoadMatrixd ( + double[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + public void glLoadMatrixf ( + float[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixd ( const GLdouble * m ) ;
+ * 
+ */ + public void glMultMatrixd ( + double[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultMatrixf ( const GLfloat * m ) ;
+ * 
+ */ + public void glMultMatrixf ( + float[] m + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public void glRotated ( + double angle, + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public void glRotatef ( + float angle, + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public void glScaled ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public void glScalef ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public void glTranslated ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public void glTranslatef ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsList ( GLuint list ) ;
+ * 
+ */ + public boolean glIsList ( + int list + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * 
+ */ + public void glDeleteLists ( + int list, + int range + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLuint glGenLists ( GLsizei range ) ;
+ * 
+ */ + public int glGenLists ( + int range + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNewList ( GLuint list , GLenum mode ) ;
+ * 
+ */ + public void glNewList ( + int list, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEndList ( void ) ;
+ * 
+ */ + public void glEndList ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCallList ( GLuint list ) ;
+ * 
+ */ + public void glCallList ( + int list + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * 
+ */ + public void glCallLists ( + int n, + int type, + byte[] lists + ) ; + public void glCallLists ( + int n, + int type, + short[] lists + ) ; + public void glCallLists ( + int n, + int type, + int[] lists + ) ; + public void glCallLists ( + int n, + int type, + float[] lists + ) ; + public void glCallLists ( + int n, + int type, + double[] lists + ) ; + public void glCallLists ( + int n, + int type, + boolean[] lists + ) ; + public void glCallLists ( + int n, + int type, + long[] lists + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glListBase ( GLuint base ) ;
+ * 
+ */ + public void glListBase ( + int base + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBegin ( GLenum mode ) ;
+ * 
+ */ + public void glBegin ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEnd ( void ) ;
+ * 
+ */ + public void glEnd ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + public void glVertex2d ( + double x, + double y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + public void glVertex2f ( + float x, + float y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2i ( GLint x , GLint y ) ;
+ * 
+ */ + public void glVertex2i ( + int x, + int y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + public void glVertex2s ( + short x, + short y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public void glVertex3d ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public void glVertex3f ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + public void glVertex3i ( + int x, + int y, + int z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + public void glVertex3s ( + short x, + short y, + short z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + public void glVertex4d ( + double x, + double y, + double z, + double w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + public void glVertex4f ( + float x, + float y, + float z, + float w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + public void glVertex4i ( + int x, + int y, + int z, + int w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + public void glVertex4s ( + short x, + short y, + short z, + short w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glVertex2dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glVertex2fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2iv ( const GLint * v ) ;
+ * 
+ */ + public void glVertex2iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex2sv ( const GLshort * v ) ;
+ * 
+ */ + public void glVertex2sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glVertex3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glVertex3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3iv ( const GLint * v ) ;
+ * 
+ */ + public void glVertex3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex3sv ( const GLshort * v ) ;
+ * 
+ */ + public void glVertex3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glVertex4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glVertex4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4iv ( const GLint * v ) ;
+ * 
+ */ + public void glVertex4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertex4sv ( const GLshort * v ) ;
+ * 
+ */ + public void glVertex4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * 
+ */ + public void glNormal3b ( + byte nx, + byte ny, + byte nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * 
+ */ + public void glNormal3d ( + double nx, + double ny, + double nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * 
+ */ + public void glNormal3f ( + float nx, + float ny, + float nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * 
+ */ + public void glNormal3i ( + int nx, + int ny, + int nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * 
+ */ + public void glNormal3s ( + short nx, + short ny, + short nz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3bv ( const GLbyte * v ) ;
+ * 
+ */ + public void glNormal3bv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glNormal3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glNormal3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3iv ( const GLint * v ) ;
+ * 
+ */ + public void glNormal3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormal3sv ( const GLshort * v ) ;
+ * 
+ */ + public void glNormal3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexd ( GLdouble c ) ;
+ * 
+ */ + public void glIndexd ( + double c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexf ( GLfloat c ) ;
+ * 
+ */ + public void glIndexf ( + float c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexi ( GLint c ) ;
+ * 
+ */ + public void glIndexi ( + int c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexs ( GLshort c ) ;
+ * 
+ */ + public void glIndexs ( + short c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexub ( GLubyte c ) ;
+ * 
+ */ + public void glIndexub ( + byte c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexdv ( const GLdouble * c ) ;
+ * 
+ */ + public void glIndexdv ( + double[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexfv ( const GLfloat * c ) ;
+ * 
+ */ + public void glIndexfv ( + float[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexiv ( const GLint * c ) ;
+ * 
+ */ + public void glIndexiv ( + int[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexsv ( const GLshort * c ) ;
+ * 
+ */ + public void glIndexsv ( + short[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexubv ( const GLubyte * c ) ;
+ * 
+ */ + public void glIndexubv ( + byte[] c + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * 
+ */ + public void glColor3b ( + byte red, + byte green, + byte blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * 
+ */ + public void glColor3d ( + double red, + double green, + double blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * 
+ */ + public void glColor3f ( + float red, + float green, + float blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * 
+ */ + public void glColor3i ( + int red, + int green, + int blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * 
+ */ + public void glColor3s ( + short red, + short green, + short blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * 
+ */ + public void glColor3ub ( + byte red, + byte green, + byte blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * 
+ */ + public void glColor3ui ( + int red, + int green, + int blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * 
+ */ + public void glColor3us ( + short red, + short green, + short blue + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * 
+ */ + public void glColor4b ( + byte red, + byte green, + byte blue, + byte alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * 
+ */ + public void glColor4d ( + double red, + double green, + double blue, + double alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * 
+ */ + public void glColor4f ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * 
+ */ + public void glColor4i ( + int red, + int green, + int blue, + int alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * 
+ */ + public void glColor4s ( + short red, + short green, + short blue, + short alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * 
+ */ + public void glColor4ub ( + byte red, + byte green, + byte blue, + byte alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * 
+ */ + public void glColor4ui ( + int red, + int green, + int blue, + int alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * 
+ */ + public void glColor4us ( + short red, + short green, + short blue, + short alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3bv ( const GLbyte * v ) ;
+ * 
+ */ + public void glColor3bv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glColor3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glColor3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3iv ( const GLint * v ) ;
+ * 
+ */ + public void glColor3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3sv ( const GLshort * v ) ;
+ * 
+ */ + public void glColor3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3ubv ( const GLubyte * v ) ;
+ * 
+ */ + public void glColor3ubv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3uiv ( const GLuint * v ) ;
+ * 
+ */ + public void glColor3uiv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor3usv ( const GLushort * v ) ;
+ * 
+ */ + public void glColor3usv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4bv ( const GLbyte * v ) ;
+ * 
+ */ + public void glColor4bv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glColor4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glColor4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4iv ( const GLint * v ) ;
+ * 
+ */ + public void glColor4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4sv ( const GLshort * v ) ;
+ * 
+ */ + public void glColor4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4ubv ( const GLubyte * v ) ;
+ * 
+ */ + public void glColor4ubv ( + byte[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4uiv ( const GLuint * v ) ;
+ * 
+ */ + public void glColor4uiv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColor4usv ( const GLushort * v ) ;
+ * 
+ */ + public void glColor4usv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1d ( GLdouble s ) ;
+ * 
+ */ + public void glTexCoord1d ( + double s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1f ( GLfloat s ) ;
+ * 
+ */ + public void glTexCoord1f ( + float s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1i ( GLint s ) ;
+ * 
+ */ + public void glTexCoord1i ( + int s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1s ( GLshort s ) ;
+ * 
+ */ + public void glTexCoord1s ( + short s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * 
+ */ + public void glTexCoord2d ( + double s, + double t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * 
+ */ + public void glTexCoord2f ( + float s, + float t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * 
+ */ + public void glTexCoord2i ( + int s, + int t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * 
+ */ + public void glTexCoord2s ( + short s, + short t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + public void glTexCoord3d ( + double s, + double t, + double r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + public void glTexCoord3f ( + float s, + float t, + float r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * 
+ */ + public void glTexCoord3i ( + int s, + int t, + int r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + public void glTexCoord3s ( + short s, + short t, + short r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + public void glTexCoord4d ( + double s, + double t, + double r, + double q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + public void glTexCoord4f ( + float s, + float t, + float r, + float q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + public void glTexCoord4i ( + int s, + int t, + int r, + int q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + public void glTexCoord4s ( + short s, + short t, + short r, + short q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glTexCoord1dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glTexCoord1fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1iv ( const GLint * v ) ;
+ * 
+ */ + public void glTexCoord1iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord1sv ( const GLshort * v ) ;
+ * 
+ */ + public void glTexCoord1sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glTexCoord2dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glTexCoord2fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2iv ( const GLint * v ) ;
+ * 
+ */ + public void glTexCoord2iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord2sv ( const GLshort * v ) ;
+ * 
+ */ + public void glTexCoord2sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glTexCoord3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glTexCoord3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3iv ( const GLint * v ) ;
+ * 
+ */ + public void glTexCoord3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord3sv ( const GLshort * v ) ;
+ * 
+ */ + public void glTexCoord3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glTexCoord4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glTexCoord4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4iv ( const GLint * v ) ;
+ * 
+ */ + public void glTexCoord4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoord4sv ( const GLshort * v ) ;
+ * 
+ */ + public void glTexCoord4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * 
+ */ + public void glRasterPos2d ( + double x, + double y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * 
+ */ + public void glRasterPos2f ( + float x, + float y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * 
+ */ + public void glRasterPos2i ( + int x, + int y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * 
+ */ + public void glRasterPos2s ( + short x, + short y + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public void glRasterPos3d ( + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * 
+ */ + public void glRasterPos3f ( + float x, + float y, + float z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * 
+ */ + public void glRasterPos3i ( + int x, + int y, + int z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * 
+ */ + public void glRasterPos3s ( + short x, + short y, + short z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * 
+ */ + public void glRasterPos4d ( + double x, + double y, + double z, + double w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * 
+ */ + public void glRasterPos4f ( + float x, + float y, + float z, + float w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * 
+ */ + public void glRasterPos4i ( + int x, + int y, + int z, + int w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * 
+ */ + public void glRasterPos4s ( + short x, + short y, + short z, + short w + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glRasterPos2dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glRasterPos2fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2iv ( const GLint * v ) ;
+ * 
+ */ + public void glRasterPos2iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos2sv ( const GLshort * v ) ;
+ * 
+ */ + public void glRasterPos2sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glRasterPos3dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glRasterPos3fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3iv ( const GLint * v ) ;
+ * 
+ */ + public void glRasterPos3iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos3sv ( const GLshort * v ) ;
+ * 
+ */ + public void glRasterPos3sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * 
+ */ + public void glRasterPos4dv ( + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * 
+ */ + public void glRasterPos4fv ( + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4iv ( const GLint * v ) ;
+ * 
+ */ + public void glRasterPos4iv ( + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRasterPos4sv ( const GLshort * v ) ;
+ * 
+ */ + public void glRasterPos4sv ( + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * 
+ */ + public void glRectd ( + double x1, + double y1, + double x2, + double y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * 
+ */ + public void glRectf ( + float x1, + float y1, + float x2, + float y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * 
+ */ + public void glRecti ( + int x1, + int y1, + int x2, + int y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * 
+ */ + public void glRects ( + short x1, + short y1, + short x2, + short y2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * 
+ */ + public void glRectdv ( + double[] v1, + double[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * 
+ */ + public void glRectfv ( + float[] v1, + float[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * 
+ */ + public void glRectiv ( + int[] v1, + int[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * 
+ */ + public void glRectsv ( + short[] v1, + short[] v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public void glVertexPointer ( + int size, + int type, + int stride, + byte[] ptr + ) ; + public void glVertexPointer ( + int size, + int type, + int stride, + short[] ptr + ) ; + public void glVertexPointer ( + int size, + int type, + int stride, + int[] ptr + ) ; + public void glVertexPointer ( + int size, + int type, + int stride, + float[] ptr + ) ; + public void glVertexPointer ( + int size, + int type, + int stride, + double[] ptr + ) ; + public void glVertexPointer ( + int size, + int type, + int stride, + boolean[] ptr + ) ; + public void glVertexPointer ( + int size, + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public void glNormalPointer ( + int type, + int stride, + byte[] ptr + ) ; + public void glNormalPointer ( + int type, + int stride, + short[] ptr + ) ; + public void glNormalPointer ( + int type, + int stride, + int[] ptr + ) ; + public void glNormalPointer ( + int type, + int stride, + float[] ptr + ) ; + public void glNormalPointer ( + int type, + int stride, + double[] ptr + ) ; + public void glNormalPointer ( + int type, + int stride, + boolean[] ptr + ) ; + public void glNormalPointer ( + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public void glColorPointer ( + int size, + int type, + int stride, + byte[] ptr + ) ; + public void glColorPointer ( + int size, + int type, + int stride, + short[] ptr + ) ; + public void glColorPointer ( + int size, + int type, + int stride, + int[] ptr + ) ; + public void glColorPointer ( + int size, + int type, + int stride, + float[] ptr + ) ; + public void glColorPointer ( + int size, + int type, + int stride, + double[] ptr + ) ; + public void glColorPointer ( + int size, + int type, + int stride, + boolean[] ptr + ) ; + public void glColorPointer ( + int size, + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public void glIndexPointer ( + int type, + int stride, + byte[] ptr + ) ; + public void glIndexPointer ( + int type, + int stride, + short[] ptr + ) ; + public void glIndexPointer ( + int type, + int stride, + int[] ptr + ) ; + public void glIndexPointer ( + int type, + int stride, + float[] ptr + ) ; + public void glIndexPointer ( + int type, + int stride, + double[] ptr + ) ; + public void glIndexPointer ( + int type, + int stride, + boolean[] ptr + ) ; + public void glIndexPointer ( + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public void glTexCoordPointer ( + int size, + int type, + int stride, + byte[] ptr + ) ; + public void glTexCoordPointer ( + int size, + int type, + int stride, + short[] ptr + ) ; + public void glTexCoordPointer ( + int size, + int type, + int stride, + int[] ptr + ) ; + public void glTexCoordPointer ( + int size, + int type, + int stride, + float[] ptr + ) ; + public void glTexCoordPointer ( + int size, + int type, + int stride, + double[] ptr + ) ; + public void glTexCoordPointer ( + int size, + int type, + int stride, + boolean[] ptr + ) ; + public void glTexCoordPointer ( + int size, + int type, + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * 
+ */ + public void glEdgeFlagPointer ( + int stride, + byte[] ptr + ) ; + public void glEdgeFlagPointer ( + int stride, + short[] ptr + ) ; + public void glEdgeFlagPointer ( + int stride, + int[] ptr + ) ; + public void glEdgeFlagPointer ( + int stride, + float[] ptr + ) ; + public void glEdgeFlagPointer ( + int stride, + double[] ptr + ) ; + public void glEdgeFlagPointer ( + int stride, + boolean[] ptr + ) ; + public void glEdgeFlagPointer ( + int stride, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * 
+ */ + public void glGetPointerv ( + int pname, + byte[][] params + ) ; + public void glGetPointerv ( + int pname, + short[][] params + ) ; + public void glGetPointerv ( + int pname, + int[][] params + ) ; + public void glGetPointerv ( + int pname, + float[][] params + ) ; + public void glGetPointerv ( + int pname, + double[][] params + ) ; + public void glGetPointerv ( + int pname, + boolean[][] params + ) ; + public void glGetPointerv ( + int pname, + long[][] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElement ( GLint i ) ;
+ * 
+ */ + public void glArrayElement ( + int i + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + public void glDrawArrays ( + int mode, + int first, + int count + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + public void glDrawElements ( + int mode, + int count, + int type, + byte[] indices + ) ; + public void glDrawElements ( + int mode, + int count, + int type, + short[] indices + ) ; + public void glDrawElements ( + int mode, + int count, + int type, + int[] indices + ) ; + public void glDrawElements ( + int mode, + int count, + int type, + float[] indices + ) ; + public void glDrawElements ( + int mode, + int count, + int type, + double[] indices + ) ; + public void glDrawElements ( + int mode, + int count, + int type, + boolean[] indices + ) ; + public void glDrawElements ( + int mode, + int count, + int type, + long[] indices + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * 
+ */ + public void glInterleavedArrays ( + int format, + int stride, + byte[] pointer + ) ; + public void glInterleavedArrays ( + int format, + int stride, + short[] pointer + ) ; + public void glInterleavedArrays ( + int format, + int stride, + int[] pointer + ) ; + public void glInterleavedArrays ( + int format, + int stride, + float[] pointer + ) ; + public void glInterleavedArrays ( + int format, + int stride, + double[] pointer + ) ; + public void glInterleavedArrays ( + int format, + int stride, + boolean[] pointer + ) ; + public void glInterleavedArrays ( + int format, + int stride, + long[] pointer + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glShadeModel ( GLenum mode ) ;
+ * 
+ */ + public void glShadeModel ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glLightf ( + int light, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * 
+ */ + public void glLighti ( + int light, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glLightfv ( + int light, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glLightiv ( + int light, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetLightfv ( + int light, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetLightiv ( + int light, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glLightModelf ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * 
+ */ + public void glLightModeli ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glLightModelfv ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glLightModeliv ( + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glMaterialf ( + int face, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * 
+ */ + public void glMateriali ( + int face, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glMaterialfv ( + int face, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glMaterialiv ( + int face, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetMaterialfv ( + int face, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetMaterialiv ( + int face, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * 
+ */ + public void glColorMaterial ( + int face, + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * 
+ */ + public void glPixelZoom ( + float xfactor, + float yfactor + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glPixelStoref ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * 
+ */ + public void glPixelStorei ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glPixelTransferf ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * 
+ */ + public void glPixelTransferi ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * 
+ */ + public void glPixelMapfv ( + int map, + int mapsize, + float[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * 
+ */ + public void glPixelMapuiv ( + int map, + int mapsize, + int[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * 
+ */ + public void glPixelMapusv ( + int map, + int mapsize, + short[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * 
+ */ + public void glGetPixelMapfv ( + int map, + float[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * 
+ */ + public void glGetPixelMapuiv ( + int map, + int[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * 
+ */ + public void glGetPixelMapusv ( + int map, + short[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * 
+ */ + public void glBitmap ( + int width, + int height, + float xorig, + float yorig, + float xmove, + float ymove, + byte[] bitmap + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + public void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + byte[] pixels + ) ; + public void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + short[] pixels + ) ; + public void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + int[] pixels + ) ; + public void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + float[] pixels + ) ; + public void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + double[] pixels + ) ; + public void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + boolean[] pixels + ) ; + public void glReadPixels ( + int x, + int y, + int width, + int height, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public void glDrawPixels ( + int width, + int height, + int format, + int type, + byte[] pixels + ) ; + public void glDrawPixels ( + int width, + int height, + int format, + int type, + short[] pixels + ) ; + public void glDrawPixels ( + int width, + int height, + int format, + int type, + int[] pixels + ) ; + public void glDrawPixels ( + int width, + int height, + int format, + int type, + float[] pixels + ) ; + public void glDrawPixels ( + int width, + int height, + int format, + int type, + double[] pixels + ) ; + public void glDrawPixels ( + int width, + int height, + int format, + int type, + boolean[] pixels + ) ; + public void glDrawPixels ( + int width, + int height, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * 
+ */ + public void glCopyPixels ( + int x, + int y, + int width, + int height, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * 
+ */ + public void glStencilFunc ( + int func, + int ref, + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilMask ( GLuint mask ) ;
+ * 
+ */ + public void glStencilMask ( + int mask + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * 
+ */ + public void glStencilOp ( + int fail, + int zfail, + int zpass + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClearStencil ( GLint s ) ;
+ * 
+ */ + public void glClearStencil ( + int s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * 
+ */ + public void glTexGend ( + int coord, + int pname, + double param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glTexGenf ( + int coord, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * 
+ */ + public void glTexGeni ( + int coord, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * 
+ */ + public void glTexGendv ( + int coord, + int pname, + double[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glTexGenfv ( + int coord, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glTexGeniv ( + int coord, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * 
+ */ + public void glGetTexGendv ( + int coord, + int pname, + double[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetTexGenfv ( + int coord, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetTexGeniv ( + int coord, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glTexEnvf ( + int target, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + public void glTexEnvi ( + int target, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glTexEnvfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glTexEnviv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetTexEnvfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetTexEnviv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glTexParameterf ( + int target, + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * 
+ */ + public void glTexParameteri ( + int target, + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glTexParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glTexParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetTexParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetTexParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetTexLevelParameterfv ( + int target, + int level, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetTexLevelParameteriv ( + int target, + int level, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + byte[] pixels + ) ; + public void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + short[] pixels + ) ; + public void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + int[] pixels + ) ; + public void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + float[] pixels + ) ; + public void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + double[] pixels + ) ; + public void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + boolean[] pixels + ) ; + public void glTexImage1D ( + int target, + int level, + int internalFormat, + int width, + int border, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + byte[] pixels + ) ; + public void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + short[] pixels + ) ; + public void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + int[] pixels + ) ; + public void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + float[] pixels + ) ; + public void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + double[] pixels + ) ; + public void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + boolean[] pixels + ) ; + public void glTexImage2D ( + int target, + int level, + int internalFormat, + int width, + int height, + int border, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * 
+ */ + public void glGetTexImage ( + int target, + int level, + int format, + int type, + byte[] pixels + ) ; + public void glGetTexImage ( + int target, + int level, + int format, + int type, + short[] pixels + ) ; + public void glGetTexImage ( + int target, + int level, + int format, + int type, + int[] pixels + ) ; + public void glGetTexImage ( + int target, + int level, + int format, + int type, + float[] pixels + ) ; + public void glGetTexImage ( + int target, + int level, + int format, + int type, + double[] pixels + ) ; + public void glGetTexImage ( + int target, + int level, + int format, + int type, + boolean[] pixels + ) ; + public void glGetTexImage ( + int target, + int level, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + public void glGenTextures ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + public void glDeleteTextures ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * 
+ */ + public void glBindTexture ( + int target, + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + public void glPrioritizeTextures ( + int n, + int[] textures, + float[] priorities + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + public boolean glAreTexturesResident ( + int n, + int[] textures, + boolean[] residences + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTexture ( GLuint texture ) ;
+ * 
+ */ + public boolean glIsTexture ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + byte[] pixels + ) ; + public void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + short[] pixels + ) ; + public void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + int[] pixels + ) ; + public void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + float[] pixels + ) ; + public void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + double[] pixels + ) ; + public void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + boolean[] pixels + ) ; + public void glTexSubImage1D ( + int target, + int level, + int xoffset, + int width, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + byte[] pixels + ) ; + public void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + short[] pixels + ) ; + public void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + int[] pixels + ) ; + public void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + float[] pixels + ) ; + public void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + double[] pixels + ) ; + public void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + boolean[] pixels + ) ; + public void glTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int width, + int height, + int format, + int type, + long[] pixels + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * 
+ */ + public void glCopyTexImage1D ( + int target, + int level, + int internalformat, + int x, + int y, + int width, + int border + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * 
+ */ + public void glCopyTexImage2D ( + int target, + int level, + int internalformat, + int x, + int y, + int width, + int height, + int border + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public void glCopyTexSubImage1D ( + int target, + int level, + int xoffset, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public void glCopyTexSubImage2D ( + int target, + int level, + int xoffset, + int yoffset, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * 
+ */ + public void glMap1d ( + int target, + double u1, + double u2, + int stride, + int order, + double[] points + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * 
+ */ + public void glMap1f ( + int target, + float u1, + float u2, + int stride, + int order, + float[] points + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * 
+ */ + public 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 : + *
 
+   extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * 
+ */ + public 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 : + *
 
+   extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * 
+ */ + public void glGetMapdv ( + int target, + int query, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * 
+ */ + public void glGetMapfv ( + int target, + int query, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * 
+ */ + public void glGetMapiv ( + int target, + int query, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1d ( GLdouble u ) ;
+ * 
+ */ + public void glEvalCoord1d ( + double u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1f ( GLfloat u ) ;
+ * 
+ */ + public void glEvalCoord1f ( + float u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * 
+ */ + public void glEvalCoord1dv ( + double[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * 
+ */ + public void glEvalCoord1fv ( + float[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * 
+ */ + public void glEvalCoord2d ( + double u, + double v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * 
+ */ + public void glEvalCoord2f ( + float u, + float v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * 
+ */ + public void glEvalCoord2dv ( + double[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * 
+ */ + public void glEvalCoord2fv ( + float[] u + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * 
+ */ + public void glMapGrid1d ( + int un, + double u1, + double u2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * 
+ */ + public void glMapGrid1f ( + int un, + float u1, + float u2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * 
+ */ + public void glMapGrid2d ( + int un, + double u1, + double u2, + int vn, + double v1, + double v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * 
+ */ + public void glMapGrid2f ( + int un, + float u1, + float u2, + int vn, + float v1, + float v2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint1 ( GLint i ) ;
+ * 
+ */ + public void glEvalPoint1 ( + int i + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * 
+ */ + public void glEvalPoint2 ( + int i, + int j + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * 
+ */ + public void glEvalMesh1 ( + int mode, + int i1, + int i2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * 
+ */ + public void glEvalMesh2 ( + int mode, + int i1, + int i2, + int j1, + int j2 + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glFogf ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogi ( GLenum pname , GLint param ) ;
+ * 
+ */ + public void glFogi ( + int pname, + int param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glFogfv ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glFogiv ( + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * 
+ */ + public void glFeedbackBuffer ( + int size, + int type, + float[] buffer + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPassThrough ( GLfloat token ) ;
+ * 
+ */ + public void glPassThrough ( + float token + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * 
+ */ + public void glSelectBuffer ( + int size, + int[] buffer + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glInitNames ( void ) ;
+ * 
+ */ + public void glInitNames ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLoadName ( GLuint name ) ;
+ * 
+ */ + public void glLoadName ( + int name + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPushName ( GLuint name ) ;
+ * 
+ */ + public void glPushName ( + int name + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPopName ( void ) ;
+ * 
+ */ + public void glPopName ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * 
+ */ + public void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + byte[] indices + ) ; + public void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + short[] indices + ) ; + public void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + int[] indices + ) ; + public void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + float[] indices + ) ; + public void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + double[] indices + ) ; + public void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + boolean[] indices + ) ; + public void glDrawRangeElements ( + int mode, + int start, + int end, + int count, + int type, + long[] indices + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + byte[] pixels + ) ; + public void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + short[] pixels + ) ; + public void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + int[] pixels + ) ; + public void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + float[] pixels + ) ; + public void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + double[] pixels + ) ; + public void glTexImage3D ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + boolean[] pixels + ) ; + public 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 : + *
 
+   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 ) ;
+ * 
+ */ + public 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 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 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 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 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 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 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 : + *
 
+   extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public void glCopyTexSubImage3D ( + int target, + int level, + int xoffset, + int yoffset, + int zoffset, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + public void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + byte[] table + ) ; + public void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + short[] table + ) ; + public void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + int[] table + ) ; + public void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + float[] table + ) ; + public void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + double[] table + ) ; + public void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + boolean[] table + ) ; + public void glColorTable ( + int target, + int internalformat, + int width, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + public void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + byte[] data + ) ; + public void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + short[] data + ) ; + public void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + int[] data + ) ; + public void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + float[] data + ) ; + public void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + double[] data + ) ; + public void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + boolean[] data + ) ; + public void glColorSubTable ( + int target, + int start, + int count, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glColorTableParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glColorTableParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public void glCopyColorSubTable ( + int target, + int start, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public void glCopyColorTable ( + int target, + int internalformat, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + public void glGetColorTable ( + int target, + int format, + int type, + byte[] table + ) ; + public void glGetColorTable ( + int target, + int format, + int type, + short[] table + ) ; + public void glGetColorTable ( + int target, + int format, + int type, + int[] table + ) ; + public void glGetColorTable ( + int target, + int format, + int type, + float[] table + ) ; + public void glGetColorTable ( + int target, + int format, + int type, + double[] table + ) ; + public void glGetColorTable ( + int target, + int format, + int type, + boolean[] table + ) ; + public void glGetColorTable ( + int target, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetColorTableParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetColorTableParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquation ( GLenum mode ) ;
+ * 
+ */ + public void glBlendEquation ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + public void glBlendColor ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + public void glHistogram ( + int target, + int width, + int internalformat, + boolean sink + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glResetHistogram ( GLenum target ) ;
+ * 
+ */ + public void glResetHistogram ( + int target + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * 
+ */ + public void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + byte[] values + ) ; + public void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + short[] values + ) ; + public void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + int[] values + ) ; + public void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + float[] values + ) ; + public void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + double[] values + ) ; + public void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + boolean[] values + ) ; + public void glGetHistogram ( + int target, + boolean reset, + int format, + int type, + long[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetHistogramParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetHistogramParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * 
+ */ + public void glMinmax ( + int target, + int internalformat, + boolean sink + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glResetMinmax ( GLenum target ) ;
+ * 
+ */ + public void glResetMinmax ( + int target + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * 
+ */ + public void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + byte[] values + ) ; + public void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + short[] values + ) ; + public void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + int[] values + ) ; + public void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + float[] values + ) ; + public void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + double[] values + ) ; + public void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + boolean[] values + ) ; + public void glGetMinmax ( + int target, + boolean reset, + int format, + int types, + long[] values + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetMinmaxParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetMinmaxParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + public void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + byte[] image + ) ; + public void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + short[] image + ) ; + public void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + int[] image + ) ; + public void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + float[] image + ) ; + public void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + double[] image + ) ; + public void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + boolean[] image + ) ; + public void glConvolutionFilter1D ( + int target, + int internalformat, + int width, + int format, + int type, + long[] image + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * 
+ */ + public void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + byte[] image + ) ; + public void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + short[] image + ) ; + public void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + int[] image + ) ; + public void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + float[] image + ) ; + public void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + double[] image + ) ; + public void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + boolean[] image + ) ; + public void glConvolutionFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + long[] image + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * 
+ */ + public void glConvolutionParameterf ( + int target, + int pname, + float params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glConvolutionParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * 
+ */ + public void glConvolutionParameteri ( + int target, + int pname, + int params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * 
+ */ + public void glConvolutionParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * 
+ */ + public void glCopyConvolutionFilter1D ( + int target, + int internalformat, + int x, + int y, + int width + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public void glCopyConvolutionFilter2D ( + int target, + int internalformat, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * 
+ */ + public void glGetConvolutionFilter ( + int target, + int format, + int type, + byte[] image + ) ; + public void glGetConvolutionFilter ( + int target, + int format, + int type, + short[] image + ) ; + public void glGetConvolutionFilter ( + int target, + int format, + int type, + int[] image + ) ; + public void glGetConvolutionFilter ( + int target, + int format, + int type, + float[] image + ) ; + public void glGetConvolutionFilter ( + int target, + int format, + int type, + double[] image + ) ; + public void glGetConvolutionFilter ( + int target, + int format, + int type, + boolean[] image + ) ; + public void glGetConvolutionFilter ( + int target, + int format, + int type, + long[] image + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetConvolutionParameterfv ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetConvolutionParameteriv ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * 
+ */ + public void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + byte[] row, + byte[] column + ) ; + public void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + short[] row, + short[] column + ) ; + public void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + int[] row, + int[] column + ) ; + public void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + float[] row, + float[] column + ) ; + public void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + double[] row, + double[] column + ) ; + public void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + boolean[] row, + boolean[] column + ) ; + public void glSeparableFilter2D ( + int target, + int internalformat, + int width, + int height, + int format, + int type, + long[] row, + long[] column + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * 
+ */ + public void glGetSeparableFilter ( + int target, + int format, + int type, + byte[] row, + byte[] column, + byte[] span + ) ; + public void glGetSeparableFilter ( + int target, + int format, + int type, + short[] row, + short[] column, + short[] span + ) ; + public void glGetSeparableFilter ( + int target, + int format, + int type, + int[] row, + int[] column, + int[] span + ) ; + public void glGetSeparableFilter ( + int target, + int format, + int type, + float[] row, + float[] column, + float[] span + ) ; + public void glGetSeparableFilter ( + int target, + int format, + int type, + double[] row, + double[] column, + double[] span + ) ; + public void glGetSeparableFilter ( + int target, + int format, + int type, + boolean[] row, + boolean[] column, + boolean[] span + ) ; + public void glGetSeparableFilter ( + int target, + int format, + int type, + long[] row, + long[] column, + long[] span + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * 
+ */ + public void glBlendColorEXT ( + float red, + float green, + float blue, + float alpha + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * 
+ */ + public void glPolygonOffsetEXT ( + float factor, + float bias + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * 
+ */ + public void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + byte[] pixels + ) ; + public void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + short[] pixels + ) ; + public void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + int[] pixels + ) ; + public void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + float[] pixels + ) ; + public void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + double[] pixels + ) ; + public void glTexImage3DEXT ( + int target, + int level, + int internalFormat, + int width, + int height, + int depth, + int border, + int format, + int type, + boolean[] pixels + ) ; + public 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 : + *
 
+   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 ) ;
+ * 
+ */ + public 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 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 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 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 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 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 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 : + *
 
+   extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * 
+ */ + public void glCopyTexSubImage3DEXT ( + int target, + int level, + int xoffset, + int yoffset, + int zoffset, + int x, + int y, + int width, + int height + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * 
+ */ + public void glGenTexturesEXT ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * 
+ */ + public void glDeleteTexturesEXT ( + int n, + int[] textures + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * 
+ */ + public void glBindTextureEXT ( + int target, + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * 
+ */ + public void glPrioritizeTexturesEXT ( + int n, + int[] textures, + float[] priorities + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * 
+ */ + public boolean glAreTexturesResidentEXT ( + int n, + int[] textures, + boolean[] residences + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * 
+ */ + public boolean glIsTextureEXT ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + byte[] ptr + ) ; + public void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + short[] ptr + ) ; + public void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + int[] ptr + ) ; + public void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + float[] ptr + ) ; + public void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + double[] ptr + ) ; + public void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + boolean[] ptr + ) ; + public void glVertexPointerEXT ( + int size, + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public void glNormalPointerEXT ( + int type, + int stride, + int count, + byte[] ptr + ) ; + public void glNormalPointerEXT ( + int type, + int stride, + int count, + short[] ptr + ) ; + public void glNormalPointerEXT ( + int type, + int stride, + int count, + int[] ptr + ) ; + public void glNormalPointerEXT ( + int type, + int stride, + int count, + float[] ptr + ) ; + public void glNormalPointerEXT ( + int type, + int stride, + int count, + double[] ptr + ) ; + public void glNormalPointerEXT ( + int type, + int stride, + int count, + boolean[] ptr + ) ; + public void glNormalPointerEXT ( + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + byte[] ptr + ) ; + public void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + short[] ptr + ) ; + public void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + int[] ptr + ) ; + public void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + float[] ptr + ) ; + public void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + double[] ptr + ) ; + public void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + boolean[] ptr + ) ; + public void glColorPointerEXT ( + int size, + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public void glIndexPointerEXT ( + int type, + int stride, + int count, + byte[] ptr + ) ; + public void glIndexPointerEXT ( + int type, + int stride, + int count, + short[] ptr + ) ; + public void glIndexPointerEXT ( + int type, + int stride, + int count, + int[] ptr + ) ; + public void glIndexPointerEXT ( + int type, + int stride, + int count, + float[] ptr + ) ; + public void glIndexPointerEXT ( + int type, + int stride, + int count, + double[] ptr + ) ; + public void glIndexPointerEXT ( + int type, + int stride, + int count, + boolean[] ptr + ) ; + public void glIndexPointerEXT ( + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * 
+ */ + public void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + byte[] ptr + ) ; + public void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + short[] ptr + ) ; + public void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + int[] ptr + ) ; + public void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + float[] ptr + ) ; + public void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + double[] ptr + ) ; + public void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + boolean[] ptr + ) ; + public void glTexCoordPointerEXT ( + int size, + int type, + int stride, + int count, + long[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * 
+ */ + public void glEdgeFlagPointerEXT ( + int stride, + int count, + boolean[] ptr + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * 
+ */ + public void glGetPointervEXT ( + int pname, + byte[][] params + ) ; + public void glGetPointervEXT ( + int pname, + short[][] params + ) ; + public void glGetPointervEXT ( + int pname, + int[][] params + ) ; + public void glGetPointervEXT ( + int pname, + float[][] params + ) ; + public void glGetPointervEXT ( + int pname, + double[][] params + ) ; + public void glGetPointervEXT ( + int pname, + boolean[][] params + ) ; + public void glGetPointervEXT ( + int pname, + long[][] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glArrayElementEXT ( GLint i ) ;
+ * 
+ */ + public void glArrayElementEXT ( + int i + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * 
+ */ + public void glDrawArraysEXT ( + int mode, + int first, + int count + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glBlendEquationEXT ( GLenum mode ) ;
+ * 
+ */ + public void glBlendEquationEXT ( + int mode + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * 
+ */ + public void glPointParameterfEXT ( + int pname, + float param + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * 
+ */ + public void glPointParameterfvEXT ( + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * 
+ */ + public void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + byte[] table + ) ; + public void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + short[] table + ) ; + public void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + int[] table + ) ; + public void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + float[] table + ) ; + public void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + double[] table + ) ; + public void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + boolean[] table + ) ; + public void glColorTableEXT ( + int target, + int internalformat, + int width, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * 
+ */ + public void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + byte[] data + ) ; + public void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + short[] data + ) ; + public void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + int[] data + ) ; + public void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + float[] data + ) ; + public void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + double[] data + ) ; + public void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + boolean[] data + ) ; + public void glColorSubTableEXT ( + int target, + int start, + int count, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * 
+ */ + public void glGetColorTableEXT ( + int target, + int format, + int type, + byte[] table + ) ; + public void glGetColorTableEXT ( + int target, + int format, + int type, + short[] table + ) ; + public void glGetColorTableEXT ( + int target, + int format, + int type, + int[] table + ) ; + public void glGetColorTableEXT ( + int target, + int format, + int type, + float[] table + ) ; + public void glGetColorTableEXT ( + int target, + int format, + int type, + double[] table + ) ; + public void glGetColorTableEXT ( + int target, + int format, + int type, + boolean[] table + ) ; + public void glGetColorTableEXT ( + int target, + int format, + int type, + long[] table + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * 
+ */ + public void glGetColorTableParameterfvEXT ( + int target, + int pname, + float[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * 
+ */ + public void glGetColorTableParameterivEXT ( + int target, + int pname, + int[] params + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * 
+ */ + public void glLockArraysEXT ( + int first, + int count + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glUnlockArraysEXT ( void ) ;
+ * 
+ */ + public void glUnlockArraysEXT ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + public void glActiveTextureARB ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * 
+ */ + public void glClientActiveTextureARB ( + int texture + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * 
+ */ + public void glMultiTexCoord1dARB ( + int target, + double s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public void glMultiTexCoord1dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * 
+ */ + public void glMultiTexCoord1fARB ( + int target, + float s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public void glMultiTexCoord1fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * 
+ */ + public void glMultiTexCoord1iARB ( + int target, + int s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public void glMultiTexCoord1ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * 
+ */ + public void glMultiTexCoord1sARB ( + int target, + short s + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public void glMultiTexCoord1svARB ( + int target, + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * 
+ */ + public void glMultiTexCoord2dARB ( + int target, + double s, + double t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public void glMultiTexCoord2dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * 
+ */ + public void glMultiTexCoord2fARB ( + int target, + float s, + float t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public void glMultiTexCoord2fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * 
+ */ + public void glMultiTexCoord2iARB ( + int target, + int s, + int t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public void glMultiTexCoord2ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * 
+ */ + public void glMultiTexCoord2sARB ( + int target, + short s, + short t + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public void glMultiTexCoord2svARB ( + int target, + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * 
+ */ + public void glMultiTexCoord3dARB ( + int target, + double s, + double t, + double r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public void glMultiTexCoord3dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * 
+ */ + public void glMultiTexCoord3fARB ( + int target, + float s, + float t, + float r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public void glMultiTexCoord3fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * 
+ */ + public void glMultiTexCoord3iARB ( + int target, + int s, + int t, + int r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public void glMultiTexCoord3ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * 
+ */ + public void glMultiTexCoord3sARB ( + int target, + short s, + short t, + short r + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public void glMultiTexCoord3svARB ( + int target, + short[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * 
+ */ + public void glMultiTexCoord4dARB ( + int target, + double s, + double t, + double r, + double q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * 
+ */ + public void glMultiTexCoord4dvARB ( + int target, + double[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * 
+ */ + public void glMultiTexCoord4fARB ( + int target, + float s, + float t, + float r, + float q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * 
+ */ + public void glMultiTexCoord4fvARB ( + int target, + float[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * 
+ */ + public void glMultiTexCoord4iARB ( + int target, + int s, + int t, + int r, + int q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * 
+ */ + public void glMultiTexCoord4ivARB ( + int target, + int[] v + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * 
+ */ + public void glMultiTexCoord4sARB ( + int target, + short s, + short t, + short r, + short q + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * 
+ */ + public void glMultiTexCoord4svARB ( + int target, + short[] v + ) ; + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/glu-enum-auto.java b/C2J/glu-enum-auto.java new file mode 100644 index 0000000..f4d11a2 --- /dev/null +++ b/C2J/glu-enum-auto.java @@ -0,0 +1,114 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-enum-auto.orig . . . + * Destination-Class: gl4java_GLUEnum ! + */ + + public static final int GLU_AUTO_LOAD_MATRIX = 100200; + public static final int GLU_CCW = 100121; + public static final int GLU_CULLING = 100201; + public static final int GLU_CW = 100120; + public static final int GLU_DISPLAY_MODE = 100204; + public static final int GLU_DOMAIN_DISTANCE = 100217; + public static final int GLU_EXTENSIONS = 100801; + public static final int GLU_EXTERIOR = 100123; + public static final int GLU_FALSE = 0; + public static final int GLU_FILL = 100012; + public static final int GLU_FLAT = 100001; + public static final int GLU_INCOMPATIBLE_GL_VERSION = 100903; + public static final int GLU_INSIDE = 100021; + public static final int GLU_INTERIOR = 100122; + public static final int GLU_INVALID_ENUM = 100900; + public static final int GLU_INVALID_VALUE = 100901; + public static final int GLU_LINE = 100011; + public static final int GLU_MAP1_TRIM_2 = 100210; + public static final int GLU_MAP1_TRIM_3 = 100211; + public static final int GLU_NONE = 100002; + public static final int GLU_NURBS_ERROR1 = 100251; + public static final int GLU_NURBS_ERROR10 = 100260; + public static final int GLU_NURBS_ERROR11 = 100261; + public static final int GLU_NURBS_ERROR12 = 100262; + public static final int GLU_NURBS_ERROR13 = 100263; + public static final int GLU_NURBS_ERROR14 = 100264; + public static final int GLU_NURBS_ERROR15 = 100265; + public static final int GLU_NURBS_ERROR16 = 100266; + public static final int GLU_NURBS_ERROR17 = 100267; + public static final int GLU_NURBS_ERROR18 = 100268; + public static final int GLU_NURBS_ERROR19 = 100269; + public static final int GLU_NURBS_ERROR2 = 100252; + public static final int GLU_NURBS_ERROR20 = 100270; + public static final int GLU_NURBS_ERROR21 = 100271; + public static final int GLU_NURBS_ERROR22 = 100272; + public static final int GLU_NURBS_ERROR23 = 100273; + public static final int GLU_NURBS_ERROR24 = 100274; + public static final int GLU_NURBS_ERROR25 = 100275; + public static final int GLU_NURBS_ERROR26 = 100276; + public static final int GLU_NURBS_ERROR27 = 100277; + public static final int GLU_NURBS_ERROR28 = 100278; + public static final int GLU_NURBS_ERROR29 = 100279; + public static final int GLU_NURBS_ERROR3 = 100253; + public static final int GLU_NURBS_ERROR30 = 100280; + public static final int GLU_NURBS_ERROR31 = 100281; + public static final int GLU_NURBS_ERROR32 = 100282; + public static final int GLU_NURBS_ERROR33 = 100283; + public static final int GLU_NURBS_ERROR34 = 100284; + public static final int GLU_NURBS_ERROR35 = 100285; + public static final int GLU_NURBS_ERROR36 = 100286; + public static final int GLU_NURBS_ERROR37 = 100287; + public static final int GLU_NURBS_ERROR4 = 100254; + public static final int GLU_NURBS_ERROR5 = 100255; + public static final int GLU_NURBS_ERROR6 = 100256; + public static final int GLU_NURBS_ERROR7 = 100257; + public static final int GLU_NURBS_ERROR8 = 100258; + public static final int GLU_NURBS_ERROR9 = 100259; + public static final int GLU_OUTLINE_PATCH = 100241; + public static final int GLU_OUTLINE_POLYGON = 100240; + public static final int GLU_OUTSIDE = 100020; + public static final int GLU_OUT_OF_MEMORY = 100902; + public static final int GLU_PARAMETRIC_ERROR = 100216; + public static final int GLU_PARAMETRIC_TOLERANCE = 100202; + public static final int GLU_PATH_LENGTH = 100215; + public static final int GLU_POINT = 100010; + public static final int GLU_SAMPLING_METHOD = 100205; + public static final int GLU_SAMPLING_TOLERANCE = 100203; + public static final int GLU_SILHOUETTE = 100013; + public static final int GLU_SMOOTH = 100000; + public static final int GLU_TESS_BEGIN = 100100; + public static final int GLU_TESS_BEGIN_DATA = 100106; + public static final int GLU_TESS_BOUNDARY_ONLY = 100141; + public static final int GLU_TESS_COMBINE = 100105; + public static final int GLU_TESS_COMBINE_DATA = 100111; + public static final int GLU_TESS_EDGE_FLAG = 100104; + public static final int GLU_TESS_EDGE_FLAG_DATA = 100110; + public static final int GLU_TESS_END = 100102; + public static final int GLU_TESS_END_DATA = 100108; + public static final int GLU_TESS_ERROR = 100103; + public static final int GLU_TESS_ERROR1 = 100151; + public static final int GLU_TESS_ERROR2 = 100152; + public static final int GLU_TESS_ERROR3 = 100153; + public static final int GLU_TESS_ERROR4 = 100154; + public static final int GLU_TESS_ERROR5 = 100155; + public static final int GLU_TESS_ERROR6 = 100156; + public static final int GLU_TESS_ERROR7 = 100157; + public static final int GLU_TESS_ERROR8 = 100158; + public static final int GLU_TESS_ERROR_DATA = 100109; + public static final int GLU_TESS_TOLERANCE = 100142; + public static final int GLU_TESS_VERTEX = 100101; + public static final int GLU_TESS_VERTEX_DATA = 100107; + public static final int GLU_TESS_WINDING_ABS_GEQ_TWO = 100134; + public static final int GLU_TESS_WINDING_NEGATIVE = 100133; + public static final int GLU_TESS_WINDING_NONZERO = 100131; + public static final int GLU_TESS_WINDING_ODD = 100130; + public static final int GLU_TESS_WINDING_POSITIVE = 100132; + public static final int GLU_TESS_WINDING_RULE = 100140; + public static final int GLU_UNKNOWN = 100124; + public static final int GLU_U_STEP = 100206; + public static final int GLU_VERSION = 100800; + public static final int GLU_V_STEP = 100207; + public static final int GLU_VERTEX = GLU_TESS_VERTEX; + public static final int GLU_BEGIN = GLU_TESS_BEGIN; + 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.4 Beta: Java program parsed successfully. */ diff --git a/C2J/glu-proto-auto-jni12.c b/C2J/glu-proto-auto-jni12.c new file mode 100644 index 0000000..a554136 --- /dev/null +++ b/C2J/glu-proto-auto-jni12.c @@ -0,0 +1,2080 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * 
+ */ + 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; + + if(viewport!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4); + } + gluPickMatrix ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) width, + (GLdouble) height, + (GLint *) ptr4 + ); + + if(viewport!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + 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; + + jdouble *ptr3 = NULL; + jdouble *ptr4 = NULL; + jint *ptr5 = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + + if(modelMatrix!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0); + } + if(projMatrix!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0); + } + if(viewport!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0); + } + if(winx!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winx, &isCopiedArray6); + } + if(winy!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winy, &isCopiedArray7); + } + if(winz!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8); + } + ret = (jint) gluProject ( + (GLdouble) objx, + (GLdouble) objy, + (GLdouble) objz, + (const GLdouble *) ptr3, + (const GLdouble *) ptr4, + (const GLint *) ptr5, + (GLdouble *) ptr6, + (GLdouble *) ptr7, + (GLdouble *) ptr8 + ); + + if(modelMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT); + } + if(projMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT); + } + if(viewport!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT); + } + if(winx!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, winx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + if(winy!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, winy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT); + } + if(winz!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, winz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + 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; + + jdouble *ptr3 = NULL; + jdouble *ptr4 = NULL; + jint *ptr5 = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + + if(modelMatrix!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0); + } + if(projMatrix!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0); + } + if(viewport!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0); + } + if(objx!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objx, &isCopiedArray6); + } + if(objy!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objy, &isCopiedArray7); + } + if(objz!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8); + } + ret = (jint) gluUnProject ( + (GLdouble) winx, + (GLdouble) winy, + (GLdouble) winz, + (const GLdouble *) ptr3, + (const GLdouble *) ptr4, + (const GLint *) ptr5, + (GLdouble *) ptr6, + (GLdouble *) ptr7, + (GLdouble *) ptr8 + ); + + if(modelMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT); + } + if(projMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT); + } + if(viewport!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT); + } + if(objx!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, objx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + if(objy!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, objy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT); + } + if(objz!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, objz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * 
+ */ + 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; + + jbyte *ptr4 = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + + if(datain!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, datain, 0); + } + if(dataout!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8); + } + ret = (jint) gluScaleImage ( + (GLenum) format, + (GLsizei) widthin, + (GLsizei) heightin, + (GLenum) typein, + (const char *) ptr4, + (GLsizei) widthout, + (GLsizei) heightout, + (GLenum) typeout, + (char *) ptr8 + ); + + if(datain!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, datain, ptr4, JNI_ABORT); + } + if(dataout!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, dataout, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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; + + jbyte *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jshortArray data) + { + jint ret; + + jshort *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jintArray data) + { + jint ret; + + jint *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jfloatArray data) + { + jint ret; + + jfloat *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jdoubleArray data) + { + jint ret; + + jdouble *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jbooleanArray data) + { + jint ret; + + jboolean *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jlongArray data) + { + jint ret; + + jlong *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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; + + jbyte *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jshortArray data) + { + jint ret; + + jshort *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jintArray data) + { + jint ret; + + jint *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jfloatArray data) + { + jint ret; + + jfloat *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jdoubleArray data) + { + jint ret; + + jdouble *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jbooleanArray data) + { + jint ret; + + jboolean *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jlongArray data) + { + jint ret; + + jlong *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUquadricObj * gluNewQuadric ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewQuadric ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewQuadric ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricDrawStyle ( + JNIEnv *env, jobject obj, + jint quadObject, + jint drawStyle) + { + + gluQuadricDrawStyle ( + (GLUquadricObj *) quadObject, + (GLenum) drawStyle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricOrientation ( + JNIEnv *env, jobject obj, + jint quadObject, + jint orientation) + { + + gluQuadricOrientation ( + (GLUquadricObj *) quadObject, + (GLenum) orientation + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricNormals ( + JNIEnv *env, jobject obj, + jint quadObject, + jint normals) + { + + gluQuadricNormals ( + (GLUquadricObj *) quadObject, + (GLenum) normals + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricTexture ( + JNIEnv *env, jobject obj, + jint quadObject, + jboolean textureCoords) + { + + gluQuadricTexture ( + (GLUquadricObj *) quadObject, + (GLboolean) textureCoords + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluCylinder ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble baseRadius, + jdouble topRadius, + jdouble height, + jint slices, + jint stacks) + { + + gluCylinder ( + (GLUquadricObj *) qobj, + (GLdouble) baseRadius, + (GLdouble) topRadius, + (GLdouble) height, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluSphere ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble radius, + jint slices, + jint stacks) + { + + gluSphere ( + (GLUquadricObj *) qobj, + (GLdouble) radius, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops) + { + + gluDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPartialDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops, + jdouble startAngle, + jdouble sweepAngle) + { + + gluPartialDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops, + (GLdouble) startAngle, + (GLdouble) sweepAngle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUnurbsObj * gluNewNurbsRenderer ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewNurbsRenderer ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluLoadSamplingMatrices ( + JNIEnv *env, jobject obj, + jint nobj, + jfloatArray modelMatrix, + jfloatArray projMatrix, + jintArray viewport) + { + jfloat *ptr1 = NULL; + jfloat *ptr2 = NULL; + jint *ptr3 = NULL; + + if(modelMatrix!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0); + } + if(projMatrix!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0); + } + if(viewport!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0); + } + gluLoadSamplingMatrices ( + (GLUnurbsObj *) nobj, + (const GLfloat *) ptr1, + (const GLfloat *) ptr2, + (const GLint *) ptr3 + ); + + if(modelMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr1, JNI_ABORT); + } + if(projMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr2, JNI_ABORT); + } + if(viewport!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsProperty ( + JNIEnv *env, jobject obj, + jint nobj, + jint property, + jfloat value) + { + + gluNurbsProperty ( + (GLUnurbsObj *) nobj, + (GLenum) property, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetNurbsProperty ( + JNIEnv *env, jobject obj, + jint nobj, + jint property, + jfloatArray value) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(value!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2); + } + gluGetNurbsProperty ( + (GLUnurbsObj *) nobj, + (GLenum) property, + (GLfloat *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsCurve ( + JNIEnv *env, jobject obj, + jint nobj, + jint nknots, + jfloatArray knot, + jint stride, + jfloatArray ctlarray, + jint order, + jint type) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(knot!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, knot, &isCopiedArray2); + } + if(ctlarray!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4); + } + gluNurbsCurve ( + (GLUnurbsObj *) nobj, + (GLint) nknots, + (GLfloat *) ptr2, + (GLint) stride, + (GLfloat *) ptr4, + (GLint) order, + (GLenum) type + ); + + if(knot!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, knot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + if(ctlarray!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsSurface ( + JNIEnv *env, jobject obj, + jint nobj, + jint sknot_count, + jfloatArray sknot, + jint tknot_count, + jfloatArray tknot, + jint s_stride, + jint t_stride, + jfloatArray ctlarray, + jint sorder, + jint torder, + jint type) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jfloat *ptr7 = NULL; + + if(sknot!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, sknot, &isCopiedArray2); + } + if(tknot!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, tknot, &isCopiedArray4); + } + if(ctlarray!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7); + } + gluNurbsSurface ( + (GLUnurbsObj *) nobj, + (GLint) sknot_count, + (GLfloat *) ptr2, + (GLint) tknot_count, + (GLfloat *) ptr4, + (GLint) s_stride, + (GLint) t_stride, + (GLfloat *) ptr7, + (GLint) sorder, + (GLint) torder, + (GLenum) type + ); + + if(sknot!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, sknot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + if(tknot!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, tknot, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(ctlarray!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPwlCurve ( + JNIEnv *env, jobject obj, + jint nobj, + jint count, + jfloatArray array, + jint stride, + jint type) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(array!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2); + } + gluPwlCurve ( + (GLUnurbsObj *) nobj, + (GLint) count, + (GLfloat *) ptr2, + (GLint) stride, + (GLenum) type + ); + + if(array!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, array, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUtesselator * gluNewTess ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewTess ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewTess ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3B ( + JNIEnv *env, jobject obj, + jint tobj, + jbyteArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3S ( + JNIEnv *env, jobject obj, + jint tobj, + jshortArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3I ( + JNIEnv *env, jobject obj, + jint tobj, + jintArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3F ( + JNIEnv *env, jobject obj, + jint tobj, + jfloatArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3D ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3Z ( + JNIEnv *env, jobject obj, + jint tobj, + jbooleanArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3J ( + JNIEnv *env, jobject obj, + jint tobj, + jlongArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessBeginContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3B ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jbyteArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3S ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jshortArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3I ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jintArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3F ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jfloatArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3D ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jdoubleArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3Z ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jbooleanArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3J ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jlongArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessProperty ( + JNIEnv *env, jobject obj, + jint tobj, + jint which, + jdouble value) + { + + gluTessProperty ( + (GLUtesselator *) tobj, + (GLenum) which, + (GLdouble) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessNormal ( + JNIEnv *env, jobject obj, + jint tobj, + jdouble x, + jdouble y, + jdouble z) + { + + gluTessNormal ( + (GLUtesselator *) tobj, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetTessProperty ( + JNIEnv *env, jobject obj, + jint tobj, + jint which, + jdoubleArray value) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(value!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2); + } + gluGetTessProperty ( + (GLUtesselator *) tobj, + (GLenum) which, + (GLdouble *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluBeginPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNextContour ( + JNIEnv *env, jobject obj, + jint tobj, + jint type) + { + + gluNextContour ( + (GLUtesselator *) tobj, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/glu-proto-auto-tst-jni12.c b/C2J/glu-proto-auto-tst-jni12.c new file mode 100644 index 0000000..6141f7d --- /dev/null +++ b/C2J/glu-proto-auto-tst-jni12.c @@ -0,0 +1,2409 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * 
+ */ + 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 = (jint *) (*env)->GetPrimitiveArrayCritical(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)->ReleasePrimitiveArrayCritical(env, viewport, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by gluProject arg: modelMatrix"); + } + } + if(projMatrix!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by gluProject arg: projMatrix"); + } + } + if(viewport!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluProject arg: viewport"); + } + } + if(winx!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winx, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluProject arg: winx"); + } + } + if(winy!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winy, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by gluProject arg: winy"); + } + } + if(winz!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by gluProject arg: winz"); + } + } + ret = (jint) gluProject ( + (GLdouble) objx, + (GLdouble) objy, + (GLdouble) objz, + (const GLdouble *) ptr3, + (const GLdouble *) ptr4, + (const GLint *) ptr5, + (GLdouble *) ptr6, + (GLdouble *) ptr7, + (GLdouble *) ptr8 + ); + + if(modelMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT); + } + if(projMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT); + } + if(viewport!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT); + } + if(winx!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, winx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + if(winy!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, winy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT); + } + if(winz!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, winz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by gluUnProject arg: modelMatrix"); + } + } + if(projMatrix!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by gluUnProject arg: projMatrix"); + } + } + if(viewport!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluUnProject arg: viewport"); + } + } + if(objx!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objx, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluUnProject arg: objx"); + } + } + if(objy!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objy, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by gluUnProject arg: objy"); + } + } + if(objz!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by gluUnProject arg: objz"); + } + } + ret = (jint) gluUnProject ( + (GLdouble) winx, + (GLdouble) winy, + (GLdouble) winz, + (const GLdouble *) ptr3, + (const GLdouble *) ptr4, + (const GLint *) ptr5, + (GLdouble *) ptr6, + (GLdouble *) ptr7, + (GLdouble *) ptr8 + ); + + if(modelMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT); + } + if(projMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT); + } + if(viewport!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT); + } + if(objx!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, objx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + if(objy!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, objy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT); + } + if(objz!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, objz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * 
+ */ + 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, datain, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by gluScaleImage arg: datain"); + } + } + if(dataout!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by gluScaleImage arg: dataout"); + } + } + ret = (jint) gluScaleImage ( + (GLenum) format, + (GLsizei) widthin, + (GLsizei) heightin, + (GLenum) typein, + (const char *) ptr4, + (GLsizei) widthout, + (GLsizei) heightout, + (GLenum) typeout, + (char *) ptr8 + ); + + if(datain!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, datain, ptr4, JNI_ABORT); + } + if(dataout!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, dataout, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(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)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jshortArray data) + { + jint ret; + + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluBuild1DMipmaps arg: data"); + } + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jintArray data) + { + jint ret; + + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluBuild1DMipmaps arg: data"); + } + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jfloatArray data) + { + jint ret; + + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluBuild1DMipmaps arg: data"); + } + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jdoubleArray data) + { + jint ret; + + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluBuild1DMipmaps arg: data"); + } + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jbooleanArray data) + { + jint ret; + + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluBuild1DMipmaps arg: data"); + } + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint format, + jint type, + jlongArray data) + { + jint ret; + + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by gluBuild1DMipmaps arg: data"); + } + } + ret = (jint) gluBuild1DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLenum) format, + (GLenum) type, + (const void *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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 = (jbyte *) (*env)->GetPrimitiveArrayCritical(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)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jshortArray data) + { + jint ret; + + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + + if(data!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluBuild2DMipmaps arg: data"); + } + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jintArray data) + { + jint ret; + + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + + if(data!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluBuild2DMipmaps arg: data"); + } + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jfloatArray data) + { + jint ret; + + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + + if(data!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluBuild2DMipmaps arg: data"); + } + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jdoubleArray data) + { + jint ret; + + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + + if(data!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluBuild2DMipmaps arg: data"); + } + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jbooleanArray data) + { + jint ret; + + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + + if(data!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluBuild2DMipmaps arg: data"); + } + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint components, + jint width, + jint height, + jint format, + jint type, + jlongArray data) + { + jint ret; + + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + + if(data!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by gluBuild2DMipmaps arg: data"); + } + } + ret = (jint) gluBuild2DMipmaps ( + (GLenum) target, + (GLint) components, + (GLint) width, + (GLint) height, + (GLenum) format, + (GLenum) type, + (const void *) ptr6 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUquadricObj * gluNewQuadric ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewQuadric ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewQuadric ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricDrawStyle ( + JNIEnv *env, jobject obj, + jint quadObject, + jint drawStyle) + { + + gluQuadricDrawStyle ( + (GLUquadricObj *) quadObject, + (GLenum) drawStyle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricOrientation ( + JNIEnv *env, jobject obj, + jint quadObject, + jint orientation) + { + + gluQuadricOrientation ( + (GLUquadricObj *) quadObject, + (GLenum) orientation + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricNormals ( + JNIEnv *env, jobject obj, + jint quadObject, + jint normals) + { + + gluQuadricNormals ( + (GLUquadricObj *) quadObject, + (GLenum) normals + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricTexture ( + JNIEnv *env, jobject obj, + jint quadObject, + jboolean textureCoords) + { + + gluQuadricTexture ( + (GLUquadricObj *) quadObject, + (GLboolean) textureCoords + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluCylinder ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble baseRadius, + jdouble topRadius, + jdouble height, + jint slices, + jint stacks) + { + + gluCylinder ( + (GLUquadricObj *) qobj, + (GLdouble) baseRadius, + (GLdouble) topRadius, + (GLdouble) height, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluSphere ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble radius, + jint slices, + jint stacks) + { + + gluSphere ( + (GLUquadricObj *) qobj, + (GLdouble) radius, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops) + { + + gluDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPartialDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops, + jdouble startAngle, + jdouble sweepAngle) + { + + gluPartialDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops, + (GLdouble) startAngle, + (GLdouble) sweepAngle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUnurbsObj * gluNewNurbsRenderer ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewNurbsRenderer ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluLoadSamplingMatrices ( + JNIEnv *env, jobject obj, + jint 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluLoadSamplingMatrices arg: modelMatrix"); + } + } + if(projMatrix!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluLoadSamplingMatrices arg: projMatrix"); + } + } + if(viewport!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by gluLoadSamplingMatrices arg: viewport"); + } + } + gluLoadSamplingMatrices ( + (GLUnurbsObj *) nobj, + (const GLfloat *) ptr1, + (const GLfloat *) ptr2, + (const GLint *) ptr3 + ); + + if(modelMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr1, JNI_ABORT); + } + if(projMatrix!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr2, JNI_ABORT); + } + if(viewport!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsProperty ( + JNIEnv *env, jobject obj, + jint nobj, + jint property, + jfloat value) + { + + gluNurbsProperty ( + (GLUnurbsObj *) nobj, + (GLenum) property, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetNurbsProperty ( + JNIEnv *env, jobject obj, + jint nobj, + jint property, + jfloatArray value) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(value!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluGetNurbsProperty arg: value"); + } + } + gluGetNurbsProperty ( + (GLUnurbsObj *) nobj, + (GLenum) property, + (GLfloat *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsCurve ( + JNIEnv *env, jobject obj, + jint 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, knot, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluNurbsCurve arg: knot"); + } + } + if(ctlarray!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by gluNurbsCurve arg: ctlarray"); + } + } + gluNurbsCurve ( + (GLUnurbsObj *) nobj, + (GLint) nknots, + (GLfloat *) ptr2, + (GLint) stride, + (GLfloat *) ptr4, + (GLint) order, + (GLenum) type + ); + + if(knot!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, knot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + if(ctlarray!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsSurface ( + JNIEnv *env, jobject obj, + jint 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 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, sknot, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluNurbsSurface arg: sknot"); + } + } + if(tknot!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, tknot, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by gluNurbsSurface arg: tknot"); + } + } + if(ctlarray!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by gluNurbsSurface arg: ctlarray"); + } + } + gluNurbsSurface ( + (GLUnurbsObj *) nobj, + (GLint) sknot_count, + (GLfloat *) ptr2, + (GLint) tknot_count, + (GLfloat *) ptr4, + (GLint) s_stride, + (GLint) t_stride, + (GLfloat *) ptr7, + (GLint) sorder, + (GLint) torder, + (GLenum) type + ); + + if(sknot!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, sknot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + if(tknot!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, tknot, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(ctlarray!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPwlCurve ( + JNIEnv *env, jobject obj, + jint nobj, + jint count, + jfloatArray array, + jint stride, + jint type) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(array!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluPwlCurve arg: array"); + } + } + gluPwlCurve ( + (GLUnurbsObj *) nobj, + (GLint) count, + (GLfloat *) ptr2, + (GLint) stride, + (GLenum) type + ); + + if(array!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, array, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUtesselator * gluNewTess ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewTess ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewTess ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3B ( + JNIEnv *env, jobject obj, + jint tobj, + jbyteArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(polygon_data!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessBeginPolygon arg: polygon_data"); + } + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3S ( + JNIEnv *env, jobject obj, + jint tobj, + jshortArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(polygon_data!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessBeginPolygon arg: polygon_data"); + } + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3I ( + JNIEnv *env, jobject obj, + jint tobj, + jintArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(polygon_data!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessBeginPolygon arg: polygon_data"); + } + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3F ( + JNIEnv *env, jobject obj, + jint tobj, + jfloatArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(polygon_data!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessBeginPolygon arg: polygon_data"); + } + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3D ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(polygon_data!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessBeginPolygon arg: polygon_data"); + } + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3Z ( + JNIEnv *env, jobject obj, + jint tobj, + jbooleanArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(polygon_data!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessBeginPolygon arg: polygon_data"); + } + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3J ( + JNIEnv *env, jobject obj, + jint tobj, + jlongArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(polygon_data!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessBeginPolygon arg: polygon_data"); + } + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessBeginContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3B ( + JNIEnv *env, jobject obj, + jint 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessVertex arg: coords"); + } + } + if(vertex_data!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluTessVertex arg: vertex_data"); + } + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3S ( + JNIEnv *env, jobject obj, + jint 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessVertex arg: coords"); + } + } + if(vertex_data!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluTessVertex arg: vertex_data"); + } + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3I ( + JNIEnv *env, jobject obj, + jint 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessVertex arg: coords"); + } + } + if(vertex_data!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluTessVertex arg: vertex_data"); + } + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3F ( + JNIEnv *env, jobject obj, + jint 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessVertex arg: coords"); + } + } + if(vertex_data!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluTessVertex arg: vertex_data"); + } + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3D ( + JNIEnv *env, jobject obj, + jint 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessVertex arg: coords"); + } + } + if(vertex_data!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluTessVertex arg: vertex_data"); + } + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3Z ( + JNIEnv *env, jobject obj, + jint 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessVertex arg: coords"); + } + } + if(vertex_data!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluTessVertex arg: vertex_data"); + } + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3J ( + JNIEnv *env, jobject obj, + jint 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 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by gluTessVertex arg: coords"); + } + } + if(vertex_data!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluTessVertex arg: vertex_data"); + } + } + gluTessVertex ( + (GLUtesselator *) tobj, + (GLdouble *) ptr1, + (void *) ptr2 + ); + + if(coords!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + if(vertex_data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessProperty ( + JNIEnv *env, jobject obj, + jint tobj, + jint which, + jdouble value) + { + + gluTessProperty ( + (GLUtesselator *) tobj, + (GLenum) which, + (GLdouble) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessNormal ( + JNIEnv *env, jobject obj, + jint tobj, + jdouble x, + jdouble y, + jdouble z) + { + + gluTessNormal ( + (GLUtesselator *) tobj, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetTessProperty ( + JNIEnv *env, jobject obj, + jint tobj, + jint which, + jdoubleArray value) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(value!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by gluGetTessProperty arg: value"); + } + } + gluGetTessProperty ( + (GLUtesselator *) tobj, + (GLenum) which, + (GLdouble *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluBeginPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNextContour ( + JNIEnv *env, jobject obj, + jint tobj, + jint type) + { + + gluNextContour ( + (GLUtesselator *) tobj, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/glu-proto-auto-tst.c b/C2J/glu-proto-auto-tst.c new file mode 100644 index 0000000..79de449 --- /dev/null +++ b/C2J/glu-proto-auto-tst.c @@ -0,0 +1,2409 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * 
+ */ + 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 : + *
 
+   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 ) ;
+ * 
+ */ + 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 : + *
 
+   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 ) ;
+ * 
+ */ + 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 : + *
 
+   extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * 
+ */ + 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 : + *
 
+   extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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 : + *
 
+   extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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 : + *
 
+   extern GLUquadricObj * gluNewQuadric ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewQuadric ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewQuadric ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricDrawStyle ( + JNIEnv *env, jobject obj, + jint quadObject, + jint drawStyle) + { + + gluQuadricDrawStyle ( + (GLUquadricObj *) quadObject, + (GLenum) drawStyle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricOrientation ( + JNIEnv *env, jobject obj, + jint quadObject, + jint orientation) + { + + gluQuadricOrientation ( + (GLUquadricObj *) quadObject, + (GLenum) orientation + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricNormals ( + JNIEnv *env, jobject obj, + jint quadObject, + jint normals) + { + + gluQuadricNormals ( + (GLUquadricObj *) quadObject, + (GLenum) normals + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricTexture ( + JNIEnv *env, jobject obj, + jint quadObject, + jboolean textureCoords) + { + + gluQuadricTexture ( + (GLUquadricObj *) quadObject, + (GLboolean) textureCoords + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluCylinder ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble baseRadius, + jdouble topRadius, + jdouble height, + jint slices, + jint stacks) + { + + gluCylinder ( + (GLUquadricObj *) qobj, + (GLdouble) baseRadius, + (GLdouble) topRadius, + (GLdouble) height, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluSphere ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble radius, + jint slices, + jint stacks) + { + + gluSphere ( + (GLUquadricObj *) qobj, + (GLdouble) radius, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops) + { + + gluDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPartialDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops, + jdouble startAngle, + jdouble sweepAngle) + { + + gluPartialDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops, + (GLdouble) startAngle, + (GLdouble) sweepAngle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUnurbsObj * gluNewNurbsRenderer ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewNurbsRenderer ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluLoadSamplingMatrices ( + JNIEnv *env, jobject obj, + jint 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 *) 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 : + *
 
+   extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsProperty ( + JNIEnv *env, jobject obj, + jint nobj, + jint property, + jfloat value) + { + + gluNurbsProperty ( + (GLUnurbsObj *) nobj, + (GLenum) property, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetNurbsProperty ( + JNIEnv *env, jobject obj, + jint 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 *) nobj, + (GLenum) property, + (GLfloat *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsCurve ( + JNIEnv *env, jobject obj, + jint 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 *) 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 : + *
 
+   extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsSurface ( + JNIEnv *env, jobject obj, + jint 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 *) 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 : + *
 
+   extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPwlCurve ( + JNIEnv *env, jobject obj, + jint 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 *) 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 : + *
 
+   extern GLUtesselator * gluNewTess ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewTess ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewTess ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3B ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3S ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3I ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3F ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3D ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3Z ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3J ( + JNIEnv *env, jobject obj, + jint 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 *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessBeginContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3B ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3D_3S ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3D_3I ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3D_3F ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3D_3D ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3D_3Z ( + JNIEnv *env, jobject obj, + jint 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 *) 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__I_3D_3J ( + JNIEnv *env, jobject obj, + jint 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 *) 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 : + *
 
+   extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessProperty ( + JNIEnv *env, jobject obj, + jint tobj, + jint which, + jdouble value) + { + + gluTessProperty ( + (GLUtesselator *) tobj, + (GLenum) which, + (GLdouble) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessNormal ( + JNIEnv *env, jobject obj, + jint tobj, + jdouble x, + jdouble y, + jdouble z) + { + + gluTessNormal ( + (GLUtesselator *) tobj, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetTessProperty ( + JNIEnv *env, jobject obj, + jint 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 *) tobj, + (GLenum) which, + (GLdouble *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluBeginPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNextContour ( + JNIEnv *env, jobject obj, + jint tobj, + jint type) + { + + gluNextContour ( + (GLUtesselator *) tobj, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/glu-proto-auto.c b/C2J/glu-proto-auto.c new file mode 100644 index 0000000..b7ffe28 --- /dev/null +++ b/C2J/glu-proto-auto.c @@ -0,0 +1,2080 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * 
+ */ + 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 : + *
 
+   extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * 
+ */ + 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; + + if(viewport!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray4); + } + 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 : + *
 
+   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 ) ;
+ * 
+ */ + 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; + + jdouble *ptr3 = NULL; + jdouble *ptr4 = NULL; + jint *ptr5 = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + + if(modelMatrix!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, modelMatrix, 0); + } + if(projMatrix!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, projMatrix, 0); + } + if(viewport!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, viewport, 0); + } + if(winx!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, winx, &isCopiedArray6); + } + if(winy!=NULL) + { + ptr7 = (*env)->GetDoubleArrayElements(env, winy, &isCopiedArray7); + } + if(winz!=NULL) + { + ptr8 = (*env)->GetDoubleArrayElements(env, winz, &isCopiedArray8); + } + 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 : + *
 
+   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 ) ;
+ * 
+ */ + 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; + + jdouble *ptr3 = NULL; + jdouble *ptr4 = NULL; + jint *ptr5 = NULL; + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + + if(modelMatrix!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, modelMatrix, 0); + } + if(projMatrix!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, projMatrix, 0); + } + if(viewport!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, viewport, 0); + } + if(objx!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, objx, &isCopiedArray6); + } + if(objy!=NULL) + { + ptr7 = (*env)->GetDoubleArrayElements(env, objy, &isCopiedArray7); + } + if(objz!=NULL) + { + ptr8 = (*env)->GetDoubleArrayElements(env, objz, &isCopiedArray8); + } + 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 : + *
 
+   extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * 
+ */ + 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; + + jbyte *ptr4 = NULL; + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + + if(datain!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, datain, 0); + } + if(dataout!=NULL) + { + ptr8 = (*env)->GetByteArrayElements(env, dataout, &isCopiedArray8); + } + 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 : + *
 
+   extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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; + + jbyte *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, data, 0); + } + 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; + + jshort *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, data, 0); + } + 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; + + jint *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, data, 0); + } + 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; + + jfloat *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, data, 0); + } + 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; + + jdouble *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, data, 0); + } + 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 *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, data, 0); + } + 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; + + jlong *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, data, 0); + } + 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 : + *
 
+   extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + 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; + + jbyte *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, data, 0); + } + 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; + + jshort *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, data, 0); + } + 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; + + jint *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, data, 0); + } + 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; + + jfloat *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, data, 0); + } + 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; + + jdouble *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, data, 0); + } + 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 *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, data, 0); + } + 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; + + jlong *ptr6 = NULL; + + if(data!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, data, 0); + } + 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 : + *
 
+   extern GLUquadricObj * gluNewQuadric ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewQuadric ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewQuadric ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricDrawStyle ( + JNIEnv *env, jobject obj, + jint quadObject, + jint drawStyle) + { + + gluQuadricDrawStyle ( + (GLUquadricObj *) quadObject, + (GLenum) drawStyle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricOrientation ( + JNIEnv *env, jobject obj, + jint quadObject, + jint orientation) + { + + gluQuadricOrientation ( + (GLUquadricObj *) quadObject, + (GLenum) orientation + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricNormals ( + JNIEnv *env, jobject obj, + jint quadObject, + jint normals) + { + + gluQuadricNormals ( + (GLUquadricObj *) quadObject, + (GLenum) normals + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluQuadricTexture ( + JNIEnv *env, jobject obj, + jint quadObject, + jboolean textureCoords) + { + + gluQuadricTexture ( + (GLUquadricObj *) quadObject, + (GLboolean) textureCoords + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluCylinder ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble baseRadius, + jdouble topRadius, + jdouble height, + jint slices, + jint stacks) + { + + gluCylinder ( + (GLUquadricObj *) qobj, + (GLdouble) baseRadius, + (GLdouble) topRadius, + (GLdouble) height, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluSphere ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble radius, + jint slices, + jint stacks) + { + + gluSphere ( + (GLUquadricObj *) qobj, + (GLdouble) radius, + (GLint) slices, + (GLint) stacks + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops) + { + + gluDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPartialDisk ( + JNIEnv *env, jobject obj, + jint qobj, + jdouble innerRadius, + jdouble outerRadius, + jint slices, + jint loops, + jdouble startAngle, + jdouble sweepAngle) + { + + gluPartialDisk ( + (GLUquadricObj *) qobj, + (GLdouble) innerRadius, + (GLdouble) outerRadius, + (GLint) slices, + (GLint) loops, + (GLdouble) startAngle, + (GLdouble) sweepAngle + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern GLUnurbsObj * gluNewNurbsRenderer ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewNurbsRenderer ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluLoadSamplingMatrices ( + JNIEnv *env, jobject obj, + jint nobj, + jfloatArray modelMatrix, + jfloatArray projMatrix, + jintArray viewport) + { + jfloat *ptr1 = NULL; + jfloat *ptr2 = NULL; + jint *ptr3 = NULL; + + if(modelMatrix!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, modelMatrix, 0); + } + if(projMatrix!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, projMatrix, 0); + } + if(viewport!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, viewport, 0); + } + gluLoadSamplingMatrices ( + (GLUnurbsObj *) 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 : + *
 
+   extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsProperty ( + JNIEnv *env, jobject obj, + jint nobj, + jint property, + jfloat value) + { + + gluNurbsProperty ( + (GLUnurbsObj *) nobj, + (GLenum) property, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetNurbsProperty ( + JNIEnv *env, jobject obj, + jint nobj, + jint property, + jfloatArray value) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(value!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, value, &isCopiedArray2); + } + gluGetNurbsProperty ( + (GLUnurbsObj *) nobj, + (GLenum) property, + (GLfloat *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndCurve ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndCurve ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsCurve ( + JNIEnv *env, jobject obj, + jint nobj, + jint nknots, + jfloatArray knot, + jint stride, + jfloatArray ctlarray, + jint order, + jint type) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(knot!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, knot, &isCopiedArray2); + } + if(ctlarray!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray4); + } + gluNurbsCurve ( + (GLUnurbsObj *) 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 : + *
 
+   extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndSurface ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndSurface ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNurbsSurface ( + JNIEnv *env, jobject obj, + jint nobj, + jint sknot_count, + jfloatArray sknot, + jint tknot_count, + jfloatArray tknot, + jint s_stride, + jint t_stride, + jfloatArray ctlarray, + jint sorder, + jint torder, + jint type) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + jboolean isCopiedArray7 = JNI_FALSE; + jfloat *ptr7 = NULL; + + if(sknot!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, sknot, &isCopiedArray2); + } + if(tknot!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, tknot, &isCopiedArray4); + } + if(ctlarray!=NULL) + { + ptr7 = (*env)->GetFloatArrayElements(env, ctlarray, &isCopiedArray7); + } + gluNurbsSurface ( + (GLUnurbsObj *) 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 : + *
 
+   extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluBeginTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndTrim ( + JNIEnv *env, jobject obj, + jint nobj) + { + + gluEndTrim ( + (GLUnurbsObj *) nobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluPwlCurve ( + JNIEnv *env, jobject obj, + jint nobj, + jint count, + jfloatArray array, + jint stride, + jint type) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(array!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, array, &isCopiedArray2); + } + gluPwlCurve ( + (GLUnurbsObj *) 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 : + *
 
+   extern GLUtesselator * gluNewTess ( void ) ;
+ * 
+ */ + JNIEXPORT jint JNICALL + Java_gl4java_GLUFuncJauJNI_gluNewTess ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) gluNewTess ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__I_3B ( + JNIEnv *env, jobject obj, + jint tobj, + jbyteArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (*env)->GetByteArrayElements(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) 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__I_3S ( + JNIEnv *env, jobject obj, + jint tobj, + jshortArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) 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__I_3I ( + JNIEnv *env, jobject obj, + jint tobj, + jintArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) 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__I_3F ( + JNIEnv *env, jobject obj, + jint tobj, + jfloatArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) 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__I_3D ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) 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__I_3Z ( + JNIEnv *env, jobject obj, + jint tobj, + jbooleanArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) 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__I_3J ( + JNIEnv *env, jobject obj, + jint tobj, + jlongArray polygon_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + if(polygon_data!=NULL) + { + ptr1 = (*env)->GetLongArrayElements(env, polygon_data, &isCopiedArray1); + } + gluTessBeginPolygon ( + (GLUtesselator *) tobj, + (void *) ptr1 + ); + + if(polygon_data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessBeginContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessBeginContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessVertex__I_3D_3B ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jbyteArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) 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__I_3D_3S ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jshortArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) 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__I_3D_3I ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jintArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) 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__I_3D_3F ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jfloatArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) 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__I_3D_3D ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jdoubleArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) 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__I_3D_3Z ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jbooleanArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) 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__I_3D_3J ( + JNIEnv *env, jobject obj, + jint tobj, + jdoubleArray coords, + jlongArray vertex_data) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + + if(coords!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1); + } + if(vertex_data!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, vertex_data, &isCopiedArray2); + } + gluTessVertex ( + (GLUtesselator *) 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 : + *
 
+   extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndContour ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndContour ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluTessEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessProperty ( + JNIEnv *env, jobject obj, + jint tobj, + jint which, + jdouble value) + { + + gluTessProperty ( + (GLUtesselator *) tobj, + (GLenum) which, + (GLdouble) value + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluTessNormal ( + JNIEnv *env, jobject obj, + jint tobj, + jdouble x, + jdouble y, + jdouble z) + { + + gluTessNormal ( + (GLUtesselator *) tobj, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluGetTessProperty ( + JNIEnv *env, jobject obj, + jint tobj, + jint which, + jdoubleArray value) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(value!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, value, &isCopiedArray2); + } + gluGetTessProperty ( + (GLUtesselator *) tobj, + (GLenum) which, + (GLdouble *) ptr2 + ); + + if(value!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluBeginPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluBeginPolygon ( + (GLUtesselator *) tobj + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluNextContour ( + JNIEnv *env, jobject obj, + jint tobj, + jint type) + { + + gluNextContour ( + (GLUtesselator *) tobj, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + JNIEXPORT void JNICALL + Java_gl4java_GLUFuncJauJNI_gluEndPolygon ( + JNIEnv *env, jobject obj, + jint tobj) + { + + gluEndPolygon ( + (GLUtesselator *) tobj + ); + + } + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/glu-proto-auto.java b/C2J/glu-proto-auto.java new file mode 100644 index 0000000..427639b --- /dev/null +++ b/C2J/glu-proto-auto.java @@ -0,0 +1,704 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * 
+ */ + public final native void gluLookAt ( + double eyex, + double eyey, + double eyez, + double centerx, + double centery, + double centerz, + double upx, + double upy, + double upz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * 
+ */ + public final native void gluOrtho2D ( + double left, + double right, + double bottom, + double top + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * 
+ */ + public final native void gluPerspective ( + double fovy, + double aspect, + double zNear, + double zFar + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * 
+ */ + public final native void gluPickMatrix ( + double x, + double y, + double width, + double height, + int[] viewport + ) ; + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + public final native int gluProject ( + double objx, + double objy, + double objz, + double[] modelMatrix, + double[] projMatrix, + int[] viewport, + double[] winx, + double[] winy, + double[] winz + ) ; + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + public final native int gluUnProject ( + double winx, + double winy, + double winz, + double[] modelMatrix, + double[] projMatrix, + int[] viewport, + double[] objx, + double[] objy, + double[] objz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * 
+ */ + public final native int gluScaleImage ( + int format, + int widthin, + int heightin, + int typein, + byte[] datain, + int widthout, + int heightout, + int typeout, + byte[] dataout + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + public final native int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + byte[] data + ) ; + public final native int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + short[] data + ) ; + public final native int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + int[] data + ) ; + public final native int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + float[] data + ) ; + public final native int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + double[] data + ) ; + public final native int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + boolean[] data + ) ; + public final native int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + public final native int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + byte[] data + ) ; + public final native int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + short[] data + ) ; + public final native int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + int[] data + ) ; + public final native int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + float[] data + ) ; + public final native int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + double[] data + ) ; + public final native int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + boolean[] data + ) ; + public final native int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLUquadricObj * gluNewQuadric ( void ) ;
+ * 
+ */ + public final native int gluNewQuadric ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * 
+ */ + public final native void gluQuadricDrawStyle ( + int quadObject, + int drawStyle + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * 
+ */ + public final native void gluQuadricOrientation ( + int quadObject, + int orientation + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * 
+ */ + public final native void gluQuadricNormals ( + int quadObject, + int normals + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * 
+ */ + public final native void gluQuadricTexture ( + int quadObject, + boolean textureCoords + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * 
+ */ + public final native void gluCylinder ( + int qobj, + double baseRadius, + double topRadius, + double height, + int slices, + int stacks + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * 
+ */ + public final native void gluSphere ( + int qobj, + double radius, + int slices, + int stacks + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * 
+ */ + public final native void gluDisk ( + int qobj, + double innerRadius, + double outerRadius, + int slices, + int loops + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * 
+ */ + public final native void gluPartialDisk ( + int qobj, + double innerRadius, + double outerRadius, + int slices, + int loops, + double startAngle, + double sweepAngle + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLUnurbsObj * gluNewNurbsRenderer ( void ) ;
+ * 
+ */ + public final native int gluNewNurbsRenderer ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * 
+ */ + public final native void gluLoadSamplingMatrices ( + int nobj, + float[] modelMatrix, + float[] projMatrix, + int[] viewport + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * 
+ */ + public final native void gluNurbsProperty ( + int nobj, + int property, + float value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * 
+ */ + public final native void gluGetNurbsProperty ( + int nobj, + int property, + float[] value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public final native void gluBeginCurve ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public final native void gluEndCurve ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * 
+ */ + public final native void gluNurbsCurve ( + int nobj, + int nknots, + float[] knot, + int stride, + float[] ctlarray, + int order, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public final native void gluBeginSurface ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public final native void gluEndSurface ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + public final native void gluNurbsSurface ( + int 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 : + *
 
+   extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public final native void gluBeginTrim ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public final native void gluEndTrim ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * 
+ */ + public final native void gluPwlCurve ( + int nobj, + int count, + float[] array, + int stride, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLUtesselator * gluNewTess ( void ) ;
+ * 
+ */ + public final native int gluNewTess ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * 
+ */ + public final native void gluTessBeginPolygon ( + int tobj, + byte[] polygon_data + ) ; + public final native void gluTessBeginPolygon ( + int tobj, + short[] polygon_data + ) ; + public final native void gluTessBeginPolygon ( + int tobj, + int[] polygon_data + ) ; + public final native void gluTessBeginPolygon ( + int tobj, + float[] polygon_data + ) ; + public final native void gluTessBeginPolygon ( + int tobj, + double[] polygon_data + ) ; + public final native void gluTessBeginPolygon ( + int tobj, + boolean[] polygon_data + ) ; + public final native void gluTessBeginPolygon ( + int tobj, + long[] polygon_data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + public final native void gluTessBeginContour ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * 
+ */ + public final native void gluTessVertex ( + int tobj, + double[] coords, + byte[] vertex_data + ) ; + public final native void gluTessVertex ( + int tobj, + double[] coords, + short[] vertex_data + ) ; + public final native void gluTessVertex ( + int tobj, + double[] coords, + int[] vertex_data + ) ; + public final native void gluTessVertex ( + int tobj, + double[] coords, + float[] vertex_data + ) ; + public final native void gluTessVertex ( + int tobj, + double[] coords, + double[] vertex_data + ) ; + public final native void gluTessVertex ( + int tobj, + double[] coords, + boolean[] vertex_data + ) ; + public final native void gluTessVertex ( + int tobj, + double[] coords, + long[] vertex_data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + public final native void gluTessEndContour ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + public final native void gluTessEndPolygon ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * 
+ */ + public final native void gluTessProperty ( + int tobj, + int which, + double value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public final native void gluTessNormal ( + int tobj, + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * 
+ */ + public final native void gluGetTessProperty ( + int tobj, + int which, + double[] value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + public final native void gluBeginPolygon ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * 
+ */ + public final native void gluNextContour ( + int tobj, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + public final native void gluEndPolygon ( + int tobj + ) ; + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/glu-protoVirt-auto.java b/C2J/glu-protoVirt-auto.java new file mode 100644 index 0000000..4fcc4ca --- /dev/null +++ b/C2J/glu-protoVirt-auto.java @@ -0,0 +1,704 @@ +/** + * C2J Parser Version 1.4 Beta + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + *
 
+   extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * 
+ */ + public void gluLookAt ( + double eyex, + double eyey, + double eyez, + double centerx, + double centery, + double centerz, + double upx, + double upy, + double upz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * 
+ */ + public void gluOrtho2D ( + double left, + double right, + double bottom, + double top + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * 
+ */ + public void gluPerspective ( + double fovy, + double aspect, + double zNear, + double zFar + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * 
+ */ + public void gluPickMatrix ( + double x, + double y, + double width, + double height, + int[] viewport + ) ; + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + public int gluProject ( + double objx, + double objy, + double objz, + double[] modelMatrix, + double[] projMatrix, + int[] viewport, + double[] winx, + double[] winy, + double[] winz + ) ; + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + public int gluUnProject ( + double winx, + double winy, + double winz, + double[] modelMatrix, + double[] projMatrix, + int[] viewport, + double[] objx, + double[] objy, + double[] objz + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * 
+ */ + public int gluScaleImage ( + int format, + int widthin, + int heightin, + int typein, + byte[] datain, + int widthout, + int heightout, + int typeout, + byte[] dataout + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + public int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + byte[] data + ) ; + public int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + short[] data + ) ; + public int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + int[] data + ) ; + public int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + float[] data + ) ; + public int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + double[] data + ) ; + public int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + boolean[] data + ) ; + public int gluBuild1DMipmaps ( + int target, + int components, + int width, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * 
+ */ + public int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + byte[] data + ) ; + public int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + short[] data + ) ; + public int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + int[] data + ) ; + public int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + float[] data + ) ; + public int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + double[] data + ) ; + public int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + boolean[] data + ) ; + public int gluBuild2DMipmaps ( + int target, + int components, + int width, + int height, + int format, + int type, + long[] data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLUquadricObj * gluNewQuadric ( void ) ;
+ * 
+ */ + public int gluNewQuadric ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * 
+ */ + public void gluQuadricDrawStyle ( + int quadObject, + int drawStyle + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * 
+ */ + public void gluQuadricOrientation ( + int quadObject, + int orientation + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * 
+ */ + public void gluQuadricNormals ( + int quadObject, + int normals + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * 
+ */ + public void gluQuadricTexture ( + int quadObject, + boolean textureCoords + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * 
+ */ + public void gluCylinder ( + int qobj, + double baseRadius, + double topRadius, + double height, + int slices, + int stacks + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * 
+ */ + public void gluSphere ( + int qobj, + double radius, + int slices, + int stacks + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * 
+ */ + public void gluDisk ( + int qobj, + double innerRadius, + double outerRadius, + int slices, + int loops + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * 
+ */ + public void gluPartialDisk ( + int qobj, + double innerRadius, + double outerRadius, + int slices, + int loops, + double startAngle, + double sweepAngle + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLUnurbsObj * gluNewNurbsRenderer ( void ) ;
+ * 
+ */ + public int gluNewNurbsRenderer ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * 
+ */ + public void gluLoadSamplingMatrices ( + int nobj, + float[] modelMatrix, + float[] projMatrix, + int[] viewport + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * 
+ */ + public void gluNurbsProperty ( + int nobj, + int property, + float value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * 
+ */ + public void gluGetNurbsProperty ( + int nobj, + int property, + float[] value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public void gluBeginCurve ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public void gluEndCurve ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * 
+ */ + public void gluNurbsCurve ( + int nobj, + int nknots, + float[] knot, + int stride, + float[] ctlarray, + int order, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public void gluBeginSurface ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public void gluEndSurface ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   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 ) ;
+ * 
+ */ + public void gluNurbsSurface ( + int 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 : + *
 
+   extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public void gluBeginTrim ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * 
+ */ + public void gluEndTrim ( + int nobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * 
+ */ + public void gluPwlCurve ( + int nobj, + int count, + float[] array, + int stride, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern GLUtesselator * gluNewTess ( void ) ;
+ * 
+ */ + public int gluNewTess ( + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * 
+ */ + public void gluTessBeginPolygon ( + int tobj, + byte[] polygon_data + ) ; + public void gluTessBeginPolygon ( + int tobj, + short[] polygon_data + ) ; + public void gluTessBeginPolygon ( + int tobj, + int[] polygon_data + ) ; + public void gluTessBeginPolygon ( + int tobj, + float[] polygon_data + ) ; + public void gluTessBeginPolygon ( + int tobj, + double[] polygon_data + ) ; + public void gluTessBeginPolygon ( + int tobj, + boolean[] polygon_data + ) ; + public void gluTessBeginPolygon ( + int tobj, + long[] polygon_data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + public void gluTessBeginContour ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * 
+ */ + public void gluTessVertex ( + int tobj, + double[] coords, + byte[] vertex_data + ) ; + public void gluTessVertex ( + int tobj, + double[] coords, + short[] vertex_data + ) ; + public void gluTessVertex ( + int tobj, + double[] coords, + int[] vertex_data + ) ; + public void gluTessVertex ( + int tobj, + double[] coords, + float[] vertex_data + ) ; + public void gluTessVertex ( + int tobj, + double[] coords, + double[] vertex_data + ) ; + public void gluTessVertex ( + int tobj, + double[] coords, + boolean[] vertex_data + ) ; + public void gluTessVertex ( + int tobj, + double[] coords, + long[] vertex_data + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * 
+ */ + public void gluTessEndContour ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + public void gluTessEndPolygon ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * 
+ */ + public void gluTessProperty ( + int tobj, + int which, + double value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * 
+ */ + public void gluTessNormal ( + int tobj, + double x, + double y, + double z + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * 
+ */ + public void gluGetTessProperty ( + int tobj, + int which, + double[] value + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + public void gluBeginPolygon ( + int tobj + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * 
+ */ + public void gluNextContour ( + int tobj, + int type + ) ; + +/** + * Original Function-Prototype : + *
 
+   extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * 
+ */ + public void gluEndPolygon ( + int tobj + ) ; + +/* C2J Parser Version 1.4 Beta: Java program parsed successfully. */ diff --git a/C2J/makefile b/C2J/makefile new file mode 100755 index 0000000..a270f5f --- /dev/null +++ b/C2J/makefile @@ -0,0 +1,402 @@ + +.SUFFIXES : .jj .java .class .html + +.jj.java: + javacc $< + +.jj.html: + jjdoc $< + if [ ! -e ../docs ] ; then mkdir ../docs ; fi + if [ ! -e ../docs/html ] ; then mkdir ../docs/html ; fi + mv *.html ../docs/html + +.java.class: + javac -O $< + + +all: C2J htmldoc gl2j gl2c + +gl2j: \ + ../gl4java/GLEnum.java \ + ../gl4java/GLUEnum.java \ + ../gl4java/GLFunc.java \ + ../gl4java/GLFuncJauJNI.java \ + ../gl4java/GLFuncJauJNInf.java \ + ../gl4java/GLUFunc.java \ + ../gl4java/GLUFuncJauJNI.java \ + ../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/OpenGLU_JauJNI_funcs.c \ + ../CNativeCode/OpenGLU_JauJNI12_funcs.c \ + ../CNativeCode/OpenGLU_JauJNInf_funcs.c \ + ../CNativeCode/OpenGLU_JauJNItst_funcs.c \ + ../CNativeCode/OpenGLU_JauJNI12tst_funcs.c + +C2J.class: C2J.java CFuncVariable.class CFuncDeclaration.class + +C2J: C2J.class + +C2C: C2C.class + + +htmldoc: C2J.html + + +# +# 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 + +../gl4java/GLEnum.java: warning.skel \ + gl-enum-auto.java \ + manual/gl-enum-manualCoded.java + cat warning.skel \ + manual/gl-enum-manualCoded.java \ + gl-enum-auto.java \ + > ../gl4java/GLEnum.java + printf "\n\n}\n\n" >> ../gl4java/GLEnum.java + +# +# 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 + +../gl4java/GLUEnum.java: warning.skel \ + glu-enum-auto.java \ + manual/glu-enum-manualCoded.java + cat warning.skel \ + manual/glu-enum-manualCoded.java \ + glu-enum-auto.java \ + > ../gl4java/GLUEnum.java + printf "\n\n}\n\n" >> ../gl4java/GLUEnum.java + +# +# 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 + +# +# 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 + +# +# 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-protoVirt-auto.java: gl-proto-auto.java + cat gl-proto-auto.java | \ + sed -e 's/final native //g' > gl-protoVirt-auto.java + +../gl4java/GLFunc.java: warning.skel \ + manual/gl-manualCodedVirt1.java \ + manual/gl-manualCodedVirt2.java \ + gl-funcnames.skel \ + gl-protoVirt-auto.java + cat warning.skel \ + manual/gl-manualCodedVirt1.java \ + gl-funcnames.skel \ + manual/gl-manualCodedVirt2.java \ + gl-protoVirt-auto.java \ + > ../gl4java/GLFunc.java + printf "\n\n}\n\n" >> ../gl4java/GLFunc.java + +# +# for java interface gl4java.GLUFunc +# +glu-protoVirt-auto.java: glu-proto-auto.java + cat glu-proto-auto.java | \ + sed -e 's/final native //g' > glu-protoVirt-auto.java + +../gl4java/GLUFunc.java: warning.skel \ + manual/glu-manualCodedVirt.java \ + glu-protoVirt-auto.java + cat warning.skel \ + manual/glu-manualCodedVirt.java \ + glu-protoVirt-auto.java \ + > ../gl4java/GLUFunc.java + printf "\n\n}\n\n" >> ../gl4java/GLUFunc.java + +# +# for java class gl4java.GLFuncJauJNI +# +# This class is the default implementation and is final -> security +# +../gl4java/GLFuncJauJNI.java: warning.skel \ + manual/gl-manualCodedImplJNI1.java \ + manual/gl-manualCodedImplJNI2.java \ + gl-proto-auto.java + cat warning.skel \ + manual/gl-manualCodedImplJNI1.java \ + manual/gl-manualCodedImplJNI2.java \ + gl-proto-auto.java \ + > ../gl4java/GLFuncJauJNI.java + printf "\n\n}\n\n" >> ../gl4java/GLFuncJauJNI.java + +# +# for java class gl4java.GLFuncJauJNInf +# +# This class is for pipelining purposes, and can be overloaded +# +../gl4java/GLFuncJauJNInf.java: warning.skel \ + manual/gl-manualCodedImplJNI1.java \ + manual/gl-manualCodedImplJNI2.java \ + gl-proto-auto.java + cat warning.skel \ + manual/gl-manualCodedImplJNI1.java \ + manual/gl-manualCodedImplJNI2.java \ + gl-proto-auto.java \ + > ../gl4java/GLFuncJauJNInf.java.tmp + printf "\n\n}\n\n" >> ../gl4java/GLFuncJauJNInf.java.tmp + cat ../gl4java/GLFuncJauJNInf.java.tmp | \ + sed -e 's/final //g' -e 's/GLFuncJauJNI/GLFuncJauJNInf/g' \ + > ../gl4java/GLFuncJauJNInf.java + rm ../gl4java/GLFuncJauJNInf.java.tmp + +# +# for java class gl4java.GLUFuncJauJNI +# +# This class is the default implementation and is final -> security +# +../gl4java/GLUFuncJauJNI.java: warning.skel \ + manual/glu-manualCodedImplJNI1.java \ + manual/glu-manualCodedImplJNI2.java \ + glu-proto-auto.java + cat warning.skel \ + manual/glu-manualCodedImplJNI1.java \ + manual/glu-manualCodedImplJNI2.java \ + glu-proto-auto.java \ + > ../gl4java/GLUFuncJauJNI.java + printf "\n\n}\n\n" >> ../gl4java/GLUFuncJauJNI.java + +# +# for java class gl4java.GLUFuncJauJNInf +# +# This class is for pipelining purposes, and can be overloaded +# +../gl4java/GLUFuncJauJNInf.java: warning.skel \ + manual/glu-manualCodedImplJNI1.java \ + manual/glu-manualCodedImplJNI2.java \ + glu-proto-auto.java + cat warning.skel \ + manual/glu-manualCodedImplJNI1.java \ + manual/glu-manualCodedImplJNI2.java \ + glu-proto-auto.java \ + > ../gl4java/GLUFuncJauJNInf.java.tmp + printf "\n\n}\n\n" >> ../gl4java/GLUFuncJauJNInf.java.tmp + cat ../gl4java/GLUFuncJauJNInf.java.tmp | \ + sed -e 's/final //g' -e 's/GLUFuncJauJNI/GLUFuncJauJNInf/g' \ + > ../gl4java/GLUFuncJauJNInf.java + rm ../gl4java/GLUFuncJauJNInf.java.tmp + +# +# 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 + +../CNativeCode/OpenGL_JauJNI_dynfuncs.c: warning.skel \ + ../CNativeCode/OpenGL_funcs.c.skel \ + manual/gl-manualCodedImplJNI.c \ + gl-proto-dynauto.c + cat warning.skel \ + ../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_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 + +../CNativeCode/OpenGL_JauJNI12_dynfuncs.c: warning.skel \ + ../CNativeCode/OpenGL_funcs.c.skel \ + manual/gl-manualCodedImplJNI.c \ + gl-proto-dynauto-jni12.c + cat warning.skel \ + ../CNativeCode/OpenGL_funcs.c.skel \ + manual/gl-manualCodedImplJNI.c \ + gl-proto-dynauto-jni12.c \ + > ../CNativeCode/OpenGL_JauJNI12_dynfuncs.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 + +../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.c: warning.skel \ + ../CNativeCode/OpenGL_funcs.c.skel \ + manual/gl-manualCodedImplJNI.c \ + gl-proto-dynauto-tst-jni12.c + cat warning.skel \ + ../CNativeCode/OpenGL_funcs.c.skel \ + manual/gl-manualCodedImplJNI.c \ + gl-proto-dynauto-tst-jni12.c \ + > ../CNativeCode/OpenGL_JauJNI12tst_dynfuncs.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 + +../CNativeCode/OpenGLU_JauJNI_funcs.c: C2J.class \ + warning.skel \ + ../CNativeCode/OpenGLU_funcs.c.skel \ + manual/glu-manualCodedImplJNI.c \ + glu-proto-auto.c + cat warning.skel \ + ../CNativeCode/OpenGLU_funcs.c.skel \ + manual/glu-manualCodedImplJNI.c \ + 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 + +../CNativeCode/OpenGLU_JauJNI12_funcs.c: C2J.class \ + warning.skel \ + ../CNativeCode/OpenGLU_funcs.c.skel \ + manual/glu-manualCodedImplJNI.c \ + glu-proto-auto-jni12.c + cat warning.skel \ + ../CNativeCode/OpenGLU_funcs.c.skel \ + manual/glu-manualCodedImplJNI.c \ + 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 + +../CNativeCode/OpenGLU_JauJNI12tst_funcs.c: C2J.class \ + warning.skel \ + ../CNativeCode/OpenGLU_funcs.c.skel \ + manual/glu-manualCodedImplJNI.c \ + glu-proto-auto-tst-jni12.c + cat warning.skel \ + ../CNativeCode/OpenGLU_funcs.c.skel \ + manual/glu-manualCodedImplJNI.c \ + glu-proto-auto-tst.c \ + > ../CNativeCode/OpenGLU_JauJNI12tst_funcs.c + + +# +# for native library gl4javaJauJNInf[32] +# +../CNativeCode/OpenGL_JauJNInf_dynfuncs.c: ../CNativeCode/OpenGL_JauJNI_dynfuncs.c + cat ../CNativeCode/OpenGL_JauJNI_dynfuncs.c | \ + sed -e 's/GLFuncJauJNI/GLFuncJauJNInf/g' \ + > ../CNativeCode/OpenGL_JauJNInf_dynfuncs.c + +../CNativeCode/OpenGLU_JauJNInf_funcs.c: ../CNativeCode/OpenGLU_JauJNI_funcs.c + cat ../CNativeCode/OpenGLU_JauJNI_funcs.c | \ + sed -e 's/GLUFuncJauJNI/GLUFuncJauJNInf/g' \ + > ../CNativeCode/OpenGLU_JauJNInf_funcs.c + +clean: + rm -f *~ + +cleanc2j: + rm -f \ + ASCII_CharStream.java \ + C2J.java \ + C2JConstants.java \ + C2JTokenManager.java \ + ParseException.java \ + Token.java \ + TokenMgrError.java + +cleangl2j: clean + rm -f \ + gl-proto-auto.java \ + gl-proto-auto.msjvm \ + glu-proto-auto.java \ + glu-proto-auto.msjvm \ + gl-enum-auto.java \ + gl-protoVirt-auto.java \ + glu-enum-auto.java \ + glu-protoVirt-auto.java + +cleangl2c: clean + rm -f \ + 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 + +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 + +cleanall: clean cleangl2c cleangl2j cleangenfiles cleanc2j + rm -f *.c *.class *.html + diff --git a/C2J/manual/gl-enum-manualCoded.java b/C2J/manual/gl-enum-manualCoded.java new file mode 100644 index 0000000..5ee07b0 --- /dev/null +++ b/C2J/manual/gl-enum-manualCoded.java @@ -0,0 +1,20 @@ +/** + * @(#) GLEnum.java + */ + + +package gl4java; + +/** + * The base interface for OpenGL enumerates, + * which provides you all the C-API style enumerates + * + * @version 2.01, 15. November 1999 + * @author Sven Goethel + */ +public interface GLEnum +{ + + public static final boolean GL_FALSE = false; + public static final boolean GL_TRUE = true; + diff --git a/C2J/manual/gl-manualCodedImplJNI.c b/C2J/manual/gl-manualCodedImplJNI.c new file mode 100644 index 0000000..d0d378c --- /dev/null +++ b/C2J/manual/gl-manualCodedImplJNI.c @@ -0,0 +1,34 @@ +/** THIS IS A MANUAL CODED PART + gl-manualCodedImplJNI.java +*/ + +static const char _gl_n_a_string[] = "GL-String not avaiable !"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj, + jint name ) +{ + const char * tmpString=0; + + tmpString = glGetString ( /* jint */ name); + if(tmpString==NULL) + tmpString=_gl_n_a_string; + + return (*env)->NewStringUTF(env, tmpString); +} + +static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development"; +static const char * _gl_lib_version_="2.4.1.0"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_vendor_); +} + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_version_); +} + diff --git a/C2J/manual/gl-manualCodedImplJNI1.java b/C2J/manual/gl-manualCodedImplJNI1.java new file mode 100644 index 0000000..f52544f --- /dev/null +++ b/C2J/manual/gl-manualCodedImplJNI1.java @@ -0,0 +1,18 @@ +/** + * @(#) GLFuncJauJNI.java + */ + + +package gl4java; + +/** + * The default implementation class for OpenGL native function mapping + * + * @version 2.00, 21. April 1999 + * @author Sven Goethel + */ +public class GLFuncJauJNI + implements GLFunc +{ + + diff --git a/C2J/manual/gl-manualCodedImplJNI2.java b/C2J/manual/gl-manualCodedImplJNI2.java new file mode 100644 index 0000000..5b54d5d --- /dev/null +++ b/C2J/manual/gl-manualCodedImplJNI2.java @@ -0,0 +1,14 @@ + +public final native String glGetString ( int name ) ; + +public final native String getNativeVendor ( ) ; +public final native String getNativeVersion ( ) ; + +public final String getClassVendor ( ) +{ return "Jausoft - Sven Goethel Software Development"; } + +public final String getClassVersion ( ) +{ return "2.4.1.0"; } + + + diff --git a/C2J/manual/gl-manualCodedVirt1.java b/C2J/manual/gl-manualCodedVirt1.java new file mode 100644 index 0000000..7bb01dc --- /dev/null +++ b/C2J/manual/gl-manualCodedVirt1.java @@ -0,0 +1,26 @@ +/** + * @(#) GLFunc.java + */ + + +package gl4java; + +/** + * The base interface for OpenGL native function mapping + * + * @version 2.00, 21. April 1999 + * @author Sven Goethel + */ +public interface GLFunc + extends GLEnum +{ + +public String glGetString ( int name ) ; + +public String getNativeVendor ( ) ; +public String getNativeVersion ( ) ; + +public String getClassVendor ( ) ; +public String getClassVersion ( ) ; + +public static final String[] GL_PROC_NAMES = { diff --git a/C2J/manual/gl-manualCodedVirt2.java b/C2J/manual/gl-manualCodedVirt2.java new file mode 100644 index 0000000..aa362ef --- /dev/null +++ b/C2J/manual/gl-manualCodedVirt2.java @@ -0,0 +1,2 @@ + null +}; diff --git a/C2J/manual/glu-enum-manualCoded.java b/C2J/manual/glu-enum-manualCoded.java new file mode 100644 index 0000000..d8aa45f --- /dev/null +++ b/C2J/manual/glu-enum-manualCoded.java @@ -0,0 +1,17 @@ +/** + * @(#) GLUEnum.java + */ + + +package gl4java; + +/** + * The base interface for GLU enumerates, + * which provides you all the C-API style enumerates + * + * @version 2.00, 21. April 1999 + * @author Sven Goethel + */ +public interface GLUEnum +{ + diff --git a/C2J/manual/glu-manualCodedImplJNI.c b/C2J/manual/glu-manualCodedImplJNI.c new file mode 100644 index 0000000..fcb4d00 --- /dev/null +++ b/C2J/manual/glu-manualCodedImplJNI.c @@ -0,0 +1,213 @@ +static const char _glu_n_a_string[] = "GLU-String not avaiable !"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj, + jint errorCode ) +{ + const char *tmpString=0; + + tmpString = gluErrorString ( /* jint */ errorCode ); + if(tmpString==NULL) + tmpString=_glu_n_a_string; + + return (*env)->NewStringUTF(env, tmpString); +} + +JNIEXPORT jstring JNICALL +Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj, + jint name ) +{ + const char *tmpString=0; + + tmpString = gluGetString ( /* jint */ name); + if(tmpString==NULL) + tmpString=_glu_n_a_string; + + return (*env)->NewStringUTF(env, tmpString); +} + +static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development"; +static const char * _glu_lib_version_="2.4.1.0"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _glu_lib_vendor_); +} + +JNIEXPORT jstring JNICALL +Java_gl4java_GLUFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _glu_lib_version_); +} + +static void _AddCallbackNode(JNIEnv *env, + jint qnt_obj, jint which, + jobject methodClassInstance, + jstring methodName, + jstring signature, + jint arrayLen1, + jint arrayLen2, + jint arrayLen3, + jint arrayLen4, + jint arrayLen5) +{ + char * strMethodName = jnitoolsGetJavaString(env, methodName); + char * strSignature = jnitoolsGetJavaString(env, signature); + jlong glx=0; + + glx = GetCurrentGLContext(); + + AddCallbackNode(env, methodClassInstance, strMethodName, strSignature, + arrayLen1, arrayLen2, arrayLen3, + arrayLen4, arrayLen5, + (void *)qnt_obj, which, glx); + free(strMethodName); + free(strSignature); +} + + +JNIEXPORT void JNICALL +Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj, + jint qobj, jint which, + jobject methodClassInstance, + jstring methodName, + jstring signature) +{ + switch(which) + { + case GLU_ERROR: + gluQuadricCallback((void *)qobj, which, + cbf_GLU_ERROR ); + break; + default: + jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !"); + return; + } + _AddCallbackNode(env, + qobj, which, methodClassInstance, methodName, + signature, + 0, 0, 0, 0, 0); +} + + +JNIEXPORT void JNICALL +Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj, + jint nobj, jint which, + jobject methodClassInstance, + jstring methodName, + jstring signature) +{ + switch(which) + { + case GLU_ERROR: + gluNurbsCallback((void *)nobj, which, + cbf_GLU_ERROR ); + break; + default: + jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !"); + return; + } + _AddCallbackNode(env, + nobj, which, methodClassInstance, methodName, + signature, + 0, 0, 0, 0, 0); +} + +JNIEXPORT void JNICALL +Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj, + jint tobj, jint which, + jobject methodClassInstance, + jstring methodName, + jstring signature, + jint arrayLen1, + jint arrayLen2, + jint arrayLen3, + jint arrayLen4, + jint arrayLen5) +{ + switch(which) + { + case GLU_TESS_BEGIN: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_BEGIN ); + break; + case GLU_TESS_BEGIN_DATA: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_BEGIN_DATA ); + break; + case GLU_TESS_EDGE_FLAG: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_EDGE_FLAG ); + break; + case GLU_TESS_EDGE_FLAG_DATA: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_EDGE_FLAG_DATA ); + break; + case GLU_TESS_VERTEX: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_VERTEX ); + break; + case GLU_TESS_VERTEX_DATA: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_VERTEX_DATA ); + break; + case GLU_TESS_END: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_END ); + break; + case GLU_TESS_END_DATA: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_END_DATA ); + break; + case GLU_TESS_ERROR: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_ERROR ); + break; + case GLU_TESS_ERROR_DATA: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_ERROR_DATA ); + break; + case GLU_TESS_COMBINE: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_COMBINE ); + break; + case GLU_TESS_COMBINE_DATA: + gluTessCallback((GLUtesselator *)tobj, which, + cbf_GLU_TESS_COMBINE_DATA ); + break; + default: + jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !"); + return; + } + _AddCallbackNode(env, + tobj, which, methodClassInstance, methodName, + signature, + arrayLen1, arrayLen2, arrayLen3, + arrayLen4, arrayLen5); +} + +JNIEXPORT void JNICALL +Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj, + jint qobj ) +{ + gluDeleteQuadric((void *)qobj); + RemoveCallbackNodes((void *)qobj); +} + +JNIEXPORT void JNICALL +Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj, + jint nobj ) +{ + gluDeleteNurbsRenderer((void *)nobj); + RemoveCallbackNodes((void *)nobj); +} + +JNIEXPORT void JNICALL +Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj, + jint tobj ) +{ + gluDeleteTess((GLUtesselator *)tobj); + RemoveCallbackNodes((void *)tobj); +} + diff --git a/C2J/manual/glu-manualCodedImplJNI.h b/C2J/manual/glu-manualCodedImplJNI.h new file mode 100644 index 0000000..bfb8a40 --- /dev/null +++ b/C2J/manual/glu-manualCodedImplJNI.h @@ -0,0 +1,13 @@ + + +public native byte gluErrorString[] ( int errorCode ) ; + + +public native void gluNurbsCallback ( long nobj , int which , void ( fn[] ) ( ) ) ; + + +public native void gluTessCallback ( long tobj , int which , void ( fn[] ) ( ) ) ; + + +public native byte gluGetString[] ( int name ) ; + diff --git a/C2J/manual/glu-manualCodedImplJNI1.java b/C2J/manual/glu-manualCodedImplJNI1.java new file mode 100644 index 0000000..155a50e --- /dev/null +++ b/C2J/manual/glu-manualCodedImplJNI1.java @@ -0,0 +1,17 @@ +/** + * @(#) GLUFuncJauJNI.java + */ + + +package gl4java; + +/** + * The default implementation class for GLU native function mapping + * + * @version 2.00, 21. April 1999 + * @author Sven Goethel + */ +public class GLUFuncJauJNI + implements GLUFunc +{ + diff --git a/C2J/manual/glu-manualCodedImplJNI2.java b/C2J/manual/glu-manualCodedImplJNI2.java new file mode 100644 index 0000000..7559354 --- /dev/null +++ b/C2J/manual/glu-manualCodedImplJNI2.java @@ -0,0 +1,117 @@ + +public final native String gluErrorString ( int errorCode ) ; +public final native String gluGetString ( int name ) ; + +public final native String getNativeVendor ( ) ; +public final native String getNativeVersion ( ) ; + +public final String getClassVendor ( ) +{ return "Jausoft - Sven Goethel Software Development"; } + +public final String getClassVersion ( ) +{ return "2.4.1.0"; } + + +/** + * The Callback registry function. + * To achieve the signature (internal argument signature) + * you can use the "javap -s " 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 final native void gluQuadricCallback( + int 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 " 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 final native void gluNurbsCallback( + int 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 " 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 final native void gluTessCallback( + int 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 final native void gluDeleteQuadric( int qobj ); + +/** + * The Callback de-registry function. + * + * @param nobj the nurbs id, for which all callback-methods + * should be de-registered + */ +public final native void gluDeleteNurbsRenderer( int nobj ); + +/** + * The Callback de-registry function. + * + * @param tobj the tesselation id, for which all callback-methods + * should be de-registered + */ +public final native void gluDeleteTess( int tobj ); + diff --git a/C2J/manual/glu-manualCodedVirt.java b/C2J/manual/glu-manualCodedVirt.java new file mode 100644 index 0000000..2f77551 --- /dev/null +++ b/C2J/manual/glu-manualCodedVirt.java @@ -0,0 +1,60 @@ +/** + * @(#) GLUFunc.java + */ + + +package gl4java; + +/** + * The base interface for GLU native function mapping + * + * @version 2.00, 21. April 1999 + * @author Sven Goethel + */ +public interface GLUFunc + extends GLUEnum +{ + +public String gluErrorString ( int errorCode ) ; + +public String gluGetString ( int name ) ; + +public String getNativeVendor ( ) ; +public String getNativeVersion ( ) ; + +public String getClassVendor ( ) ; +public String getClassVersion ( ) ; + +public void gluQuadricCallback( + int qobj, int which, + Object methodClassInstance, + String methodName, + String signature + ); + +public void gluNurbsCallback( + int nobj, int which, + Object methodClassInstance, + String methodName, + String signature + ); + + +public void gluTessCallback( + int tobj, int which, + Object methodClassInstance, + String methodName, + String signature, + int voidArrayLen1, + int voidArrayLen2, + int voidArrayLen3, + int voidArrayLen4, + int voidArrayLen5 + ); + +public void gluDeleteQuadric( int qobj ); + +public void gluDeleteNurbsRenderer( int nobj ); + +public void gluDeleteTess( int tobj ); + diff --git a/C2J/mesa33-header/gl.h b/C2J/mesa33-header/gl.h new file mode 100644 index 0000000..1ad7136 --- /dev/null +++ b/C2J/mesa33-header/gl.h @@ -0,0 +1,2199 @@ + +/* + * Mesa 3-D graphics library + * Version: 3.3 + * + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + + +#ifndef __gl_h_ +#define __gl_h_ + +#define GL_VERSION_1_1 1 +#define GL_VERSION_1_2 1 +#define GL_HAS_GLEXT 1 + + + +/* + * + * Datatypes + * + */ +#ifdef CENTERLINE_CLPP +#define signed +#endif +typedef unsigned int GLenum; +typedef unsigned char GLboolean; +typedef unsigned int GLbitfield; +typedef void GLvoid; +typedef signed char GLbyte; /* 1-byte signed */ +typedef short GLshort; /* 2-byte signed */ +typedef int GLint; /* 4-byte signed */ +typedef unsigned char GLubyte; /* 1-byte unsigned */ +typedef unsigned short GLushort; /* 2-byte unsigned */ +typedef unsigned int GLuint; /* 4-byte unsigned */ +typedef int GLsizei; /* 4-byte signed */ +typedef float GLfloat; /* single precision float */ +typedef float GLclampf; /* single precision float in [0,1] */ +typedef double GLdouble; /* double precision float */ +typedef double GLclampd; /* double precision float in [0,1] */ + + + +/* + * + * Constants + * + */ + +/* Boolean values */ +#define GL_FALSE 0x0 +#define GL_TRUE 0x1 + +/* Data types */ +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_INT 0x1404 +#define GL_UNSIGNED_INT 0x1405 +#define GL_FLOAT 0x1406 +#define GL_DOUBLE 0x140A +#define GL_2_BYTES 0x1407 +#define GL_3_BYTES 0x1408 +#define GL_4_BYTES 0x1409 + +/* Primitives */ +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 +#define GL_QUADS 0x0007 +#define GL_QUAD_STRIP 0x0008 +#define GL_POLYGON 0x0009 + +/* Vertex Arrays */ +#define GL_VERTEX_ARRAY 0x8074 +#define GL_NORMAL_ARRAY 0x8075 +#define GL_COLOR_ARRAY 0x8076 +#define GL_INDEX_ARRAY 0x8077 +#define GL_TEXTURE_COORD_ARRAY 0x8078 +#define GL_EDGE_FLAG_ARRAY 0x8079 +#define GL_VERTEX_ARRAY_SIZE 0x807A +#define GL_VERTEX_ARRAY_TYPE 0x807B +#define GL_VERTEX_ARRAY_STRIDE 0x807C +#define GL_NORMAL_ARRAY_TYPE 0x807E +#define GL_NORMAL_ARRAY_STRIDE 0x807F +#define GL_COLOR_ARRAY_SIZE 0x8081 +#define GL_COLOR_ARRAY_TYPE 0x8082 +#define GL_COLOR_ARRAY_STRIDE 0x8083 +#define GL_INDEX_ARRAY_TYPE 0x8085 +#define GL_INDEX_ARRAY_STRIDE 0x8086 +#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A +#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C +#define GL_VERTEX_ARRAY_POINTER 0x808E +#define GL_NORMAL_ARRAY_POINTER 0x808F +#define GL_COLOR_ARRAY_POINTER 0x8090 +#define GL_INDEX_ARRAY_POINTER 0x8091 +#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 +#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 +#define GL_V2F 0x2A20 +#define GL_V3F 0x2A21 +#define GL_C4UB_V2F 0x2A22 +#define GL_C4UB_V3F 0x2A23 +#define GL_C3F_V3F 0x2A24 +#define GL_N3F_V3F 0x2A25 +#define GL_C4F_N3F_V3F 0x2A26 +#define GL_T2F_V3F 0x2A27 +#define GL_T4F_V4F 0x2A28 +#define GL_T2F_C4UB_V3F 0x2A29 +#define GL_T2F_C3F_V3F 0x2A2A +#define GL_T2F_N3F_V3F 0x2A2B +#define GL_T2F_C4F_N3F_V3F 0x2A2C +#define GL_T4F_C4F_N3F_V4F 0x2A2D + +/* Matrix Mode */ +#define GL_MATRIX_MODE 0x0BA0 +#define GL_MODELVIEW 0x1700 +#define GL_PROJECTION 0x1701 +#define GL_TEXTURE 0x1702 + +/* Points */ +#define GL_POINT_SMOOTH 0x0B10 +#define GL_POINT_SIZE 0x0B11 +#define GL_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_POINT_SIZE_RANGE 0x0B12 + +/* Lines */ +#define GL_LINE_SMOOTH 0x0B20 +#define GL_LINE_STIPPLE 0x0B24 +#define GL_LINE_STIPPLE_PATTERN 0x0B25 +#define GL_LINE_STIPPLE_REPEAT 0x0B26 +#define GL_LINE_WIDTH 0x0B21 +#define GL_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_LINE_WIDTH_RANGE 0x0B22 + +/* Polygons */ +#define GL_POINT 0x1B00 +#define GL_LINE 0x1B01 +#define GL_FILL 0x1B02 +#define GL_CW 0x0900 +#define GL_CCW 0x0901 +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_POLYGON_MODE 0x0B40 +#define GL_POLYGON_SMOOTH 0x0B41 +#define GL_POLYGON_STIPPLE 0x0B42 +#define GL_EDGE_FLAG 0x0B43 +#define GL_CULL_FACE 0x0B44 +#define GL_CULL_FACE_MODE 0x0B45 +#define GL_FRONT_FACE 0x0B46 +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +#define GL_POLYGON_OFFSET_POINT 0x2A01 +#define GL_POLYGON_OFFSET_LINE 0x2A02 +#define GL_POLYGON_OFFSET_FILL 0x8037 + +/* Display Lists */ +#define GL_COMPILE 0x1300 +#define GL_COMPILE_AND_EXECUTE 0x1301 +#define GL_LIST_BASE 0x0B32 +#define GL_LIST_INDEX 0x0B33 +#define GL_LIST_MODE 0x0B30 + +/* Depth buffer */ +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 +#define GL_DEPTH_TEST 0x0B71 +#define GL_DEPTH_BITS 0x0D56 +#define GL_DEPTH_CLEAR_VALUE 0x0B73 +#define GL_DEPTH_FUNC 0x0B74 +#define GL_DEPTH_RANGE 0x0B70 +#define GL_DEPTH_WRITEMASK 0x0B72 +#define GL_DEPTH_COMPONENT 0x1902 + +/* Lighting */ +#define GL_LIGHTING 0x0B50 +#define GL_LIGHT0 0x4000 +#define GL_LIGHT1 0x4001 +#define GL_LIGHT2 0x4002 +#define GL_LIGHT3 0x4003 +#define GL_LIGHT4 0x4004 +#define GL_LIGHT5 0x4005 +#define GL_LIGHT6 0x4006 +#define GL_LIGHT7 0x4007 +#define GL_SPOT_EXPONENT 0x1205 +#define GL_SPOT_CUTOFF 0x1206 +#define GL_CONSTANT_ATTENUATION 0x1207 +#define GL_LINEAR_ATTENUATION 0x1208 +#define GL_QUADRATIC_ATTENUATION 0x1209 +#define GL_AMBIENT 0x1200 +#define GL_DIFFUSE 0x1201 +#define GL_SPECULAR 0x1202 +#define GL_SHININESS 0x1601 +#define GL_EMISSION 0x1600 +#define GL_POSITION 0x1203 +#define GL_SPOT_DIRECTION 0x1204 +#define GL_AMBIENT_AND_DIFFUSE 0x1602 +#define GL_COLOR_INDEXES 0x1603 +#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 +#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 +#define GL_LIGHT_MODEL_AMBIENT 0x0B53 +#define GL_FRONT_AND_BACK 0x0408 +#define GL_SHADE_MODEL 0x0B54 +#define GL_FLAT 0x1D00 +#define GL_SMOOTH 0x1D01 +#define GL_COLOR_MATERIAL 0x0B57 +#define GL_COLOR_MATERIAL_FACE 0x0B55 +#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 +#define GL_NORMALIZE 0x0BA1 + +/* User clipping planes */ +#define GL_CLIP_PLANE0 0x3000 +#define GL_CLIP_PLANE1 0x3001 +#define GL_CLIP_PLANE2 0x3002 +#define GL_CLIP_PLANE3 0x3003 +#define GL_CLIP_PLANE4 0x3004 +#define GL_CLIP_PLANE5 0x3005 + +/* Accumulation buffer */ +#define GL_ACCUM_RED_BITS 0x0D58 +#define GL_ACCUM_GREEN_BITS 0x0D59 +#define GL_ACCUM_BLUE_BITS 0x0D5A +#define GL_ACCUM_ALPHA_BITS 0x0D5B +#define GL_ACCUM_CLEAR_VALUE 0x0B80 +#define GL_ACCUM 0x0100 +#define GL_ADD 0x0104 +#define GL_LOAD 0x0101 +#define GL_MULT 0x0103 +#define GL_RETURN 0x0102 + +/* Alpha testing */ +#define GL_ALPHA_TEST 0x0BC0 +#define GL_ALPHA_TEST_REF 0x0BC2 +#define GL_ALPHA_TEST_FUNC 0x0BC1 + +/* Blending */ +#define GL_BLEND 0x0BE2 +#define GL_BLEND_SRC 0x0BE1 +#define GL_BLEND_DST 0x0BE0 +#define GL_ZERO 0x0 +#define GL_ONE 0x1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 +#define GL_SRC_ALPHA_SATURATE 0x0308 +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 + +/* Render Mode */ +#define GL_FEEDBACK 0x1C01 +#define GL_RENDER 0x1C00 +#define GL_SELECT 0x1C02 + +/* Feedback */ +#define GL_2D 0x0600 +#define GL_3D 0x0601 +#define GL_3D_COLOR 0x0602 +#define GL_3D_COLOR_TEXTURE 0x0603 +#define GL_4D_COLOR_TEXTURE 0x0604 +#define GL_POINT_TOKEN 0x0701 +#define GL_LINE_TOKEN 0x0702 +#define GL_LINE_RESET_TOKEN 0x0707 +#define GL_POLYGON_TOKEN 0x0703 +#define GL_BITMAP_TOKEN 0x0704 +#define GL_DRAW_PIXEL_TOKEN 0x0705 +#define GL_COPY_PIXEL_TOKEN 0x0706 +#define GL_PASS_THROUGH_TOKEN 0x0700 +#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 +#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 +#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 + +/* Selection */ +#define GL_SELECTION_BUFFER_POINTER 0x0DF3 +#define GL_SELECTION_BUFFER_SIZE 0x0DF4 + +/* Fog */ +#define GL_FOG 0x0B60 +#define GL_FOG_MODE 0x0B65 +#define GL_FOG_DENSITY 0x0B62 +#define GL_FOG_COLOR 0x0B66 +#define GL_FOG_INDEX 0x0B61 +#define GL_FOG_START 0x0B63 +#define GL_FOG_END 0x0B64 +#define GL_LINEAR 0x2601 +#define GL_EXP 0x0800 +#define GL_EXP2 0x0801 + +/* Logic Ops */ +#define GL_LOGIC_OP 0x0BF1 +#define GL_INDEX_LOGIC_OP 0x0BF1 +#define GL_COLOR_LOGIC_OP 0x0BF2 +#define GL_LOGIC_OP_MODE 0x0BF0 +#define GL_CLEAR 0x1500 +#define GL_SET 0x150F +#define GL_COPY 0x1503 +#define GL_COPY_INVERTED 0x150C +#define GL_NOOP 0x1505 +#define GL_INVERT 0x150A +#define GL_AND 0x1501 +#define GL_NAND 0x150E +#define GL_OR 0x1507 +#define GL_NOR 0x1508 +#define GL_XOR 0x1506 +#define GL_EQUIV 0x1509 +#define GL_AND_REVERSE 0x1502 +#define GL_AND_INVERTED 0x1504 +#define GL_OR_REVERSE 0x150B +#define GL_OR_INVERTED 0x150D + +/* Stencil */ +#define GL_STENCIL_TEST 0x0B90 +#define GL_STENCIL_WRITEMASK 0x0B98 +#define GL_STENCIL_BITS 0x0D57 +#define GL_STENCIL_FUNC 0x0B92 +#define GL_STENCIL_VALUE_MASK 0x0B93 +#define GL_STENCIL_REF 0x0B97 +#define GL_STENCIL_FAIL 0x0B94 +#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 +#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 +#define GL_STENCIL_CLEAR_VALUE 0x0B91 +#define GL_STENCIL_INDEX 0x1901 +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 + +/* Buffers, Pixel Drawing/Reading */ +#define GL_NONE 0x0 +#define GL_LEFT 0x0406 +#define GL_RIGHT 0x0407 +/*GL_FRONT 0x0404 */ +/*GL_BACK 0x0405 */ +/*GL_FRONT_AND_BACK 0x0408 */ +#define GL_FRONT_LEFT 0x0400 +#define GL_FRONT_RIGHT 0x0401 +#define GL_BACK_LEFT 0x0402 +#define GL_BACK_RIGHT 0x0403 +#define GL_AUX0 0x0409 +#define GL_AUX1 0x040A +#define GL_AUX2 0x040B +#define GL_AUX3 0x040C +#define GL_COLOR_INDEX 0x1900 +#define GL_RED 0x1903 +#define GL_GREEN 0x1904 +#define GL_BLUE 0x1905 +#define GL_ALPHA 0x1906 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A +#define GL_ALPHA_BITS 0x0D55 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_INDEX_BITS 0x0D51 +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_AUX_BUFFERS 0x0C00 +#define GL_READ_BUFFER 0x0C02 +#define GL_DRAW_BUFFER 0x0C01 +#define GL_DOUBLEBUFFER 0x0C32 +#define GL_STEREO 0x0C33 +#define GL_BITMAP 0x1A00 +#define GL_COLOR 0x1800 +#define GL_DEPTH 0x1801 +#define GL_STENCIL 0x1802 +#define GL_DITHER 0x0BD0 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 + +/* Implementation limits */ +#define GL_MAX_LIST_NESTING 0x0B31 +#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 +#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 +#define GL_MAX_NAME_STACK_DEPTH 0x0D37 +#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 +#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 +#define GL_MAX_EVAL_ORDER 0x0D30 +#define GL_MAX_LIGHTS 0x0D31 +#define GL_MAX_CLIP_PLANES 0x0D32 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B + +/* Gets */ +#define GL_ATTRIB_STACK_DEPTH 0x0BB0 +#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 +#define GL_COLOR_CLEAR_VALUE 0x0C22 +#define GL_COLOR_WRITEMASK 0x0C23 +#define GL_CURRENT_INDEX 0x0B01 +#define GL_CURRENT_COLOR 0x0B00 +#define GL_CURRENT_NORMAL 0x0B02 +#define GL_CURRENT_RASTER_COLOR 0x0B04 +#define GL_CURRENT_RASTER_DISTANCE 0x0B09 +#define GL_CURRENT_RASTER_INDEX 0x0B05 +#define GL_CURRENT_RASTER_POSITION 0x0B07 +#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 +#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 +#define GL_CURRENT_TEXTURE_COORDS 0x0B03 +#define GL_INDEX_CLEAR_VALUE 0x0C20 +#define GL_INDEX_MODE 0x0C30 +#define GL_INDEX_WRITEMASK 0x0C21 +#define GL_MODELVIEW_MATRIX 0x0BA6 +#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 +#define GL_NAME_STACK_DEPTH 0x0D70 +#define GL_PROJECTION_MATRIX 0x0BA7 +#define GL_PROJECTION_STACK_DEPTH 0x0BA4 +#define GL_RENDER_MODE 0x0C40 +#define GL_RGBA_MODE 0x0C31 +#define GL_TEXTURE_MATRIX 0x0BA8 +#define GL_TEXTURE_STACK_DEPTH 0x0BA5 +#define GL_VIEWPORT 0x0BA2 + +/* Evaluators */ +#define GL_AUTO_NORMAL 0x0D80 +#define GL_MAP1_COLOR_4 0x0D90 +#define GL_MAP1_GRID_DOMAIN 0x0DD0 +#define GL_MAP1_GRID_SEGMENTS 0x0DD1 +#define GL_MAP1_INDEX 0x0D91 +#define GL_MAP1_NORMAL 0x0D92 +#define GL_MAP1_TEXTURE_COORD_1 0x0D93 +#define GL_MAP1_TEXTURE_COORD_2 0x0D94 +#define GL_MAP1_TEXTURE_COORD_3 0x0D95 +#define GL_MAP1_TEXTURE_COORD_4 0x0D96 +#define GL_MAP1_VERTEX_3 0x0D97 +#define GL_MAP1_VERTEX_4 0x0D98 +#define GL_MAP2_COLOR_4 0x0DB0 +#define GL_MAP2_GRID_DOMAIN 0x0DD2 +#define GL_MAP2_GRID_SEGMENTS 0x0DD3 +#define GL_MAP2_INDEX 0x0DB1 +#define GL_MAP2_NORMAL 0x0DB2 +#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 +#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 +#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 +#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 +#define GL_MAP2_VERTEX_3 0x0DB7 +#define GL_MAP2_VERTEX_4 0x0DB8 +#define GL_COEFF 0x0A00 +#define GL_DOMAIN 0x0A02 +#define GL_ORDER 0x0A01 + +/* Hints */ +#define GL_FOG_HINT 0x0C54 +#define GL_LINE_SMOOTH_HINT 0x0C52 +#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 +#define GL_POINT_SMOOTH_HINT 0x0C51 +#define GL_POLYGON_SMOOTH_HINT 0x0C53 +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 + +/* Scissor box */ +#define GL_SCISSOR_TEST 0x0C11 +#define GL_SCISSOR_BOX 0x0C10 + +/* Pixel Mode / Transfer */ +#define GL_MAP_COLOR 0x0D10 +#define GL_MAP_STENCIL 0x0D11 +#define GL_INDEX_SHIFT 0x0D12 +#define GL_INDEX_OFFSET 0x0D13 +#define GL_RED_SCALE 0x0D14 +#define GL_RED_BIAS 0x0D15 +#define GL_GREEN_SCALE 0x0D18 +#define GL_GREEN_BIAS 0x0D19 +#define GL_BLUE_SCALE 0x0D1A +#define GL_BLUE_BIAS 0x0D1B +#define GL_ALPHA_SCALE 0x0D1C +#define GL_ALPHA_BIAS 0x0D1D +#define GL_DEPTH_SCALE 0x0D1E +#define GL_DEPTH_BIAS 0x0D1F +#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 +#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 +#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 +#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 +#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 +#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 +#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 +#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 +#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 +#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 +#define GL_PIXEL_MAP_S_TO_S 0x0C71 +#define GL_PIXEL_MAP_I_TO_I 0x0C70 +#define GL_PIXEL_MAP_I_TO_R 0x0C72 +#define GL_PIXEL_MAP_I_TO_G 0x0C73 +#define GL_PIXEL_MAP_I_TO_B 0x0C74 +#define GL_PIXEL_MAP_I_TO_A 0x0C75 +#define GL_PIXEL_MAP_R_TO_R 0x0C76 +#define GL_PIXEL_MAP_G_TO_G 0x0C77 +#define GL_PIXEL_MAP_B_TO_B 0x0C78 +#define GL_PIXEL_MAP_A_TO_A 0x0C79 +#define GL_PACK_ALIGNMENT 0x0D05 +#define GL_PACK_LSB_FIRST 0x0D01 +#define GL_PACK_ROW_LENGTH 0x0D02 +#define GL_PACK_SKIP_PIXELS 0x0D04 +#define GL_PACK_SKIP_ROWS 0x0D03 +#define GL_PACK_SWAP_BYTES 0x0D00 +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_UNPACK_LSB_FIRST 0x0CF1 +#define GL_UNPACK_ROW_LENGTH 0x0CF2 +#define GL_UNPACK_SKIP_PIXELS 0x0CF4 +#define GL_UNPACK_SKIP_ROWS 0x0CF3 +#define GL_UNPACK_SWAP_BYTES 0x0CF0 +#define GL_ZOOM_X 0x0D16 +#define GL_ZOOM_Y 0x0D17 + +/* Texture mapping */ +#define GL_TEXTURE_ENV 0x2300 +#define GL_TEXTURE_ENV_MODE 0x2200 +#define GL_TEXTURE_1D 0x0DE0 +#define GL_TEXTURE_2D 0x0DE1 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_ENV_COLOR 0x2201 +#define GL_TEXTURE_GEN_S 0x0C60 +#define GL_TEXTURE_GEN_T 0x0C61 +#define GL_TEXTURE_GEN_MODE 0x2500 +#define GL_TEXTURE_BORDER_COLOR 0x1004 +#define GL_TEXTURE_WIDTH 0x1000 +#define GL_TEXTURE_HEIGHT 0x1001 +#define GL_TEXTURE_BORDER 0x1005 +#define GL_TEXTURE_COMPONENTS 0x1003 +#define GL_TEXTURE_RED_SIZE 0x805C +#define GL_TEXTURE_GREEN_SIZE 0x805D +#define GL_TEXTURE_BLUE_SIZE 0x805E +#define GL_TEXTURE_ALPHA_SIZE 0x805F +#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 +#define GL_TEXTURE_INTENSITY_SIZE 0x8061 +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 +#define GL_OBJECT_LINEAR 0x2401 +#define GL_OBJECT_PLANE 0x2501 +#define GL_EYE_LINEAR 0x2400 +#define GL_EYE_PLANE 0x2502 +#define GL_SPHERE_MAP 0x2402 +#define GL_DECAL 0x2101 +#define GL_MODULATE 0x2100 +#define GL_NEAREST 0x2600 +#define GL_REPEAT 0x2901 +#define GL_CLAMP 0x2900 +#define GL_S 0x2000 +#define GL_T 0x2001 +#define GL_R 0x2002 +#define GL_Q 0x2003 +#define GL_TEXTURE_GEN_R 0x0C62 +#define GL_TEXTURE_GEN_Q 0x0C63 + +/* GL 1.1 texturing */ +#define GL_PROXY_TEXTURE_1D 0x8063 +#define GL_PROXY_TEXTURE_2D 0x8064 +#define GL_TEXTURE_PRIORITY 0x8066 +#define GL_TEXTURE_RESIDENT 0x8067 +#define GL_TEXTURE_BINDING_1D 0x8068 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 + +/* GL 1.2 texturing */ +#define GL_PACK_SKIP_IMAGES 0x806B +#define GL_PACK_IMAGE_HEIGHT 0x806C +#define GL_UNPACK_SKIP_IMAGES 0x806D +#define GL_UNPACK_IMAGE_HEIGHT 0x806E +#define GL_TEXTURE_3D 0x806F +#define GL_PROXY_TEXTURE_3D 0x8070 +#define GL_TEXTURE_DEPTH 0x8071 +#define GL_TEXTURE_WRAP_R 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE 0x8073 +#define GL_TEXTURE_BINDING_3D 0x806A + +/* Internal texture formats (GL 1.1) */ +#define GL_ALPHA4 0x803B +#define GL_ALPHA8 0x803C +#define GL_ALPHA12 0x803D +#define GL_ALPHA16 0x803E +#define GL_LUMINANCE4 0x803F +#define GL_LUMINANCE8 0x8040 +#define GL_LUMINANCE12 0x8041 +#define GL_LUMINANCE16 0x8042 +#define GL_LUMINANCE4_ALPHA4 0x8043 +#define GL_LUMINANCE6_ALPHA2 0x8044 +#define GL_LUMINANCE8_ALPHA8 0x8045 +#define GL_LUMINANCE12_ALPHA4 0x8046 +#define GL_LUMINANCE12_ALPHA12 0x8047 +#define GL_LUMINANCE16_ALPHA16 0x8048 +#define GL_INTENSITY 0x8049 +#define GL_INTENSITY4 0x804A +#define GL_INTENSITY8 0x804B +#define GL_INTENSITY12 0x804C +#define GL_INTENSITY16 0x804D +#define GL_R3_G3_B2 0x2A10 +#define GL_RGB4 0x804F +#define GL_RGB5 0x8050 +#define GL_RGB8 0x8051 +#define GL_RGB10 0x8052 +#define GL_RGB12 0x8053 +#define GL_RGB16 0x8054 +#define GL_RGBA2 0x8055 +#define GL_RGBA4 0x8056 +#define GL_RGB5_A1 0x8057 +#define GL_RGBA8 0x8058 +#define GL_RGB10_A2 0x8059 +#define GL_RGBA12 0x805A +#define GL_RGBA16 0x805B + +/* Utility */ +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 + +/* Errors */ +#define GL_NO_ERROR 0x0 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_OPERATION 0x0502 +#define GL_STACK_OVERFLOW 0x0503 +#define GL_STACK_UNDERFLOW 0x0504 +#define GL_OUT_OF_MEMORY 0x0505 + + +/* OpenGL 1.2 */ +#define GL_RESCALE_NORMAL 0x803A +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_BGR 0x80E0 +#define GL_BGRA 0x80E1 +#define GL_UNSIGNED_BYTE_3_3_2 0x8032 +#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 +#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 +#define GL_UNSIGNED_INT_8_8_8_8 0x8035 +#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 +#define GL_UNSIGNED_INT_10_10_10_2 0x8036 +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 +#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 +#define GL_SINGLE_COLOR 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR 0x81FA +#define GL_TEXTURE_MIN_LOD 0x813A +#define GL_TEXTURE_MAX_LOD 0x813B +#define GL_TEXTURE_BASE_LEVEL 0x813C +#define GL_TEXTURE_MAX_LEVEL 0x813D +#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 +#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 +#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E + + + +/* + * OpenGL 1.2 imaging subset (NOT IMPLEMENTED BY MESA) + */ +/* GL_EXT_color_table */ +#define GL_COLOR_TABLE 0x80D0 +#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 +#define GL_PROXY_COLOR_TABLE 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 +#define GL_COLOR_TABLE_SCALE 0x80D6 +#define GL_COLOR_TABLE_BIAS 0x80D7 +#define GL_COLOR_TABLE_FORMAT 0x80D8 +#define GL_COLOR_TABLE_WIDTH 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF +/* GL_EXT_convolution and GL_HP_convolution_border_modes */ +#define GL_CONVOLUTION_1D 0x8010 +#define GL_CONVOLUTION_2D 0x8011 +#define GL_SEPARABLE_2D 0x8012 +#define GL_CONVOLUTION_BORDER_MODE 0x8013 +#define GL_CONVOLUTION_FILTER_SCALE 0x8014 +#define GL_CONVOLUTION_FILTER_BIAS 0x8015 +#define GL_REDUCE 0x8016 +#define GL_CONVOLUTION_FORMAT 0x8017 +#define GL_CONVOLUTION_WIDTH 0x8018 +#define GL_CONVOLUTION_HEIGHT 0x8019 +#define GL_MAX_CONVOLUTION_WIDTH 0x801A +#define GL_MAX_CONVOLUTION_HEIGHT 0x801B +#define GL_POST_CONVOLUTION_RED_SCALE 0x801C +#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D +#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E +#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F +#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 +#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 +#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 +#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 +#define GL_CONSTANT_BORDER 0x8151 +#define GL_REPLICATE_BORDER 0x8153 +#define GL_CONVOLUTION_BORDER_COLOR 0x8154 +/* GL_SGI_color_matrix */ +#define GL_COLOR_MATRIX 0x80B1 +#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 +#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 +#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB +/* GL_EXT_histogram */ +#define GL_HISTOGRAM 0x8024 +#define GL_PROXY_HISTOGRAM 0x8025 +#define GL_HISTOGRAM_WIDTH 0x8026 +#define GL_HISTOGRAM_FORMAT 0x8027 +#define GL_HISTOGRAM_RED_SIZE 0x8028 +#define GL_HISTOGRAM_GREEN_SIZE 0x8029 +#define GL_HISTOGRAM_BLUE_SIZE 0x802A +#define GL_HISTOGRAM_ALPHA_SIZE 0x802B +#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C +#define GL_HISTOGRAM_SINK 0x802D +#define GL_MINMAX 0x802E +#define GL_MINMAX_FORMAT 0x802F +#define GL_MINMAX_SINK 0x8030 +#define GL_TABLE_TOO_LARGE 0x8031 +/* GL_EXT_blend_color, GL_EXT_blend_minmax */ +#define GL_BLEND_EQUATION 0x8009 +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 +#define GL_FUNC_ADD 0x8006 +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_BLEND_COLOR 0x8005 + + +/* glPush/PopAttrib bits */ +#define GL_CURRENT_BIT 0x00000001 +#define GL_POINT_BIT 0x00000002 +#define GL_LINE_BIT 0x00000004 +#define GL_POLYGON_BIT 0x00000008 +#define GL_POLYGON_STIPPLE_BIT 0x00000010 +#define GL_PIXEL_MODE_BIT 0x00000020 +#define GL_LIGHTING_BIT 0x00000040 +#define GL_FOG_BIT 0x00000080 +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_ACCUM_BUFFER_BIT 0x00000200 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_VIEWPORT_BIT 0x00000800 +#define GL_TRANSFORM_BIT 0x00001000 +#define GL_ENABLE_BIT 0x00002000 +#define GL_COLOR_BUFFER_BIT 0x00004000 +#define GL_HINT_BIT 0x00008000 +#define GL_EVAL_BIT 0x00010000 +#define GL_LIST_BIT 0x00020000 +#define GL_TEXTURE_BIT 0x00040000 +#define GL_SCISSOR_BIT 0x00080000 +#define GL_ALL_ATTRIB_BITS 0x000FFFFF + + +#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 +#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 +#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF + + + + + +#if defined(__BEOS__) || defined(__QUICKDRAW__) +#pragma export on +#endif + + +/* + * Miscellaneous + */ + +GLAPI void GLAPIENTRY glClearIndex( GLfloat c ); + +GLAPI void GLAPIENTRY glClearColor( GLclampf red, + GLclampf green, + GLclampf blue, + GLclampf alpha ); + +GLAPI void GLAPIENTRY glClear( GLbitfield mask ); + +GLAPI void GLAPIENTRY glIndexMask( GLuint mask ); + +GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, + GLboolean blue, GLboolean alpha ); + +GLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref ); + +GLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor ); + +GLAPI void GLAPIENTRY glLogicOp( GLenum opcode ); + +GLAPI void GLAPIENTRY glCullFace( GLenum mode ); + +GLAPI void GLAPIENTRY glFrontFace( GLenum mode ); + +GLAPI void GLAPIENTRY glPointSize( GLfloat size ); + +GLAPI void GLAPIENTRY glLineWidth( GLfloat width ); + +GLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern ); + +GLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode ); + +GLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units ); + +GLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask ); + +GLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask ); + +GLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag ); + +GLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag ); + +GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, + GLsizei width, GLsizei height); + +GLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation ); + +GLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation ); + +GLAPI void GLAPIENTRY glDrawBuffer( GLenum mode ); + +GLAPI void GLAPIENTRY glReadBuffer( GLenum mode ); + +GLAPI void GLAPIENTRY glEnable( GLenum cap ); + +GLAPI void GLAPIENTRY glDisable( GLenum cap ); + +GLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap ); + + +GLAPI void GLAPIENTRY glEnableClientState( GLenum cap ); /* 1.1 */ + +GLAPI void GLAPIENTRY glDisableClientState( GLenum cap ); /* 1.1 */ + + +GLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params ); + +GLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params ); + +GLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params ); + +GLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask ); + +GLAPI void GLAPIENTRY glPopAttrib( void ); + + +GLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask ); /* 1.1 */ + +GLAPI void GLAPIENTRY glPopClientAttrib( void ); /* 1.1 */ + + +GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode ); + +GLAPI GLenum GLAPIENTRY glGetError( void ); + +/* JAU - manual +GLAPI const GLubyte* GLAPIENTRY glGetString( GLenum name ); +*/ + +GLAPI void GLAPIENTRY glFinish( void ); + +GLAPI void GLAPIENTRY glFlush( void ); + +GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode ); + + + +/* + * Depth Buffer + */ + +GLAPI void GLAPIENTRY glClearDepth( GLclampd depth ); + +GLAPI void GLAPIENTRY glDepthFunc( GLenum func ); + +GLAPI void GLAPIENTRY glDepthMask( GLboolean flag ); + +GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val ); + + +/* + * Accumulation Buffer + */ + +GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, + GLfloat blue, GLfloat alpha ); + +GLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value ); + + + +/* + * Transformation + */ + +GLAPI void GLAPIENTRY glMatrixMode( GLenum mode ); + +GLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top, + GLdouble near_val, GLdouble far_val ); + +GLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top, + GLdouble near_val, GLdouble far_val ); + +GLAPI void GLAPIENTRY glViewport( GLint x, GLint y, + GLsizei width, GLsizei height ); + +GLAPI void GLAPIENTRY glPushMatrix( void ); + +GLAPI void GLAPIENTRY glPopMatrix( void ); + +GLAPI void GLAPIENTRY glLoadIdentity( void ); + +GLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m ); +GLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m ); + +GLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m ); +GLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m ); + +GLAPI void GLAPIENTRY glRotated( GLdouble angle, + GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glRotatef( GLfloat angle, + GLfloat x, GLfloat y, GLfloat z ); + +GLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z ); + +GLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z ); + + + +/* + * Display Lists + */ + +GLAPI GLboolean GLAPIENTRY glIsList( GLuint list ); + +GLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range ); + +GLAPI GLuint GLAPIENTRY glGenLists( GLsizei range ); + +GLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode ); + +GLAPI void GLAPIENTRY glEndList( void ); + +GLAPI void GLAPIENTRY glCallList( GLuint list ); + +GLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type, + const GLvoid *lists ); + +GLAPI void GLAPIENTRY glListBase( GLuint base ); + + + +/* + * Drawing Functions + */ + +GLAPI void GLAPIENTRY glBegin( GLenum mode ); + +GLAPI void GLAPIENTRY glEnd( void ); + + +GLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y ); +GLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y ); +GLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y ); +GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y ); + +GLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z ); +GLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z ); +GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z ); + +GLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); +GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); +GLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w ); +GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); + +GLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glVertex2iv( const GLint *v ); +GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glVertex3iv( const GLint *v ); +GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glVertex4iv( const GLint *v ); +GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); +GLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); +GLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); +GLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz ); +GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz ); + +GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v ); +GLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glNormal3iv( const GLint *v ); +GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glIndexd( GLdouble c ); +GLAPI void GLAPIENTRY glIndexf( GLfloat c ); +GLAPI void GLAPIENTRY glIndexi( GLint c ); +GLAPI void GLAPIENTRY glIndexs( GLshort c ); +GLAPI void GLAPIENTRY glIndexub( GLubyte c ); /* 1.1 */ + +GLAPI void GLAPIENTRY glIndexdv( const GLdouble *c ); +GLAPI void GLAPIENTRY glIndexfv( const GLfloat *c ); +GLAPI void GLAPIENTRY glIndexiv( const GLint *c ); +GLAPI void GLAPIENTRY glIndexsv( const GLshort *c ); +GLAPI void GLAPIENTRY glIndexubv( const GLubyte *c ); /* 1.1 */ + +GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue ); +GLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue ); +GLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue ); +GLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue ); +GLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue ); +GLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); +GLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue ); +GLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue ); + +GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green, + GLbyte blue, GLbyte alpha ); +GLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green, + GLdouble blue, GLdouble alpha ); +GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green, + GLfloat blue, GLfloat alpha ); +GLAPI void GLAPIENTRY glColor4i( GLint red, GLint green, + GLint blue, GLint alpha ); +GLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green, + GLshort blue, GLshort alpha ); +GLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green, + GLubyte blue, GLubyte alpha ); +GLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green, + GLuint blue, GLuint alpha ); +GLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green, + GLushort blue, GLushort alpha ); + + +GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v ); +GLAPI void GLAPIENTRY glColor3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glColor3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glColor3iv( const GLint *v ); +GLAPI void GLAPIENTRY glColor3sv( const GLshort *v ); +GLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v ); +GLAPI void GLAPIENTRY glColor3uiv( const GLuint *v ); +GLAPI void GLAPIENTRY glColor3usv( const GLushort *v ); + +GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v ); +GLAPI void GLAPIENTRY glColor4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glColor4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glColor4iv( const GLint *v ); +GLAPI void GLAPIENTRY glColor4sv( const GLshort *v ); +GLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v ); +GLAPI void GLAPIENTRY glColor4uiv( const GLuint *v ); +GLAPI void GLAPIENTRY glColor4usv( const GLushort *v ); + + +GLAPI void GLAPIENTRY glTexCoord1d( GLdouble s ); +GLAPI void GLAPIENTRY glTexCoord1f( GLfloat s ); +GLAPI void GLAPIENTRY glTexCoord1i( GLint s ); +GLAPI void GLAPIENTRY glTexCoord1s( GLshort s ); + +GLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t ); +GLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t ); +GLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t ); +GLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t ); + +GLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); +GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); +GLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r ); +GLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r ); + +GLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); +GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); +GLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); +GLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); + +GLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y ); +GLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y ); +GLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y ); +GLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y ); + +GLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); +GLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z ); +GLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z ); + +GLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); +GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); +GLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); +GLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); + +GLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v ); +GLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v ); +GLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v ); +GLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); +GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); +GLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); +GLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); + + +GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 ); +GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 ); +GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 ); +GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 ); + + + +/* + * Vertex Arrays (1.1) + */ + +GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride, + const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride, + const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glGetPointerv( GLenum pname, void **params ); + +GLAPI void GLAPIENTRY glArrayElement( GLint i ); + +GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count ); + +GLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count, + GLenum type, const GLvoid *indices ); + +GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride, + const GLvoid *pointer ); + + +/* + * Lighting + */ + +GLAPI void GLAPIENTRY glShadeModel( GLenum mode ); + +GLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param ); +GLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname, + const GLfloat *params ); +GLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname, + const GLint *params ); + +GLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname, + GLfloat *params ); +GLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param ); +GLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param ); +GLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); + +GLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode ); + + + + +/* + * Raster functions + */ + +GLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor ); + +GLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLint mapsize, + const GLfloat *values ); +GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLint mapsize, + const GLuint *values ); +GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLint mapsize, + const GLushort *values ); + +GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values ); +GLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values ); +GLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values ); + +GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height, + GLfloat xorig, GLfloat yorig, + GLfloat xmove, GLfloat ymove, + const GLubyte *bitmap ); + +GLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y, + GLsizei width, GLsizei height, + GLenum format, GLenum type, + GLvoid *pixels ); + +GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height, + GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y, + GLsizei width, GLsizei height, + GLenum type ); + + + +/* + * Stenciling + */ + +GLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask ); + +GLAPI void GLAPIENTRY glStencilMask( GLuint mask ); + +GLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); + +GLAPI void GLAPIENTRY glClearStencil( GLint s ); + + + +/* + * Texture mapping + */ + +GLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param ); +GLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); +GLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); +GLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname, + const GLfloat *params ); +GLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname, + const GLint *params ); + +GLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target, + GLenum pname, GLfloat *params); +GLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target, + GLenum pname, GLint *params ); + +GLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level, + GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level, + GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLint border, + GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLsizei height, + GLint border, GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level, + GLenum format, GLenum type, + GLvoid *pixels ); + + + +/* 1.1 functions */ + +GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); + +GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); + +GLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture ); + +GLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n, + const GLuint *textures, + const GLclampf *priorities ); + +GLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n, + const GLuint *textures, + GLboolean *residences ); + +GLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture ); + + +GLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level, + GLint xoffset, + GLsizei width, GLenum format, + GLenum type, const GLvoid *pixels ); + + +GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLsizei width, GLsizei height, + GLenum format, GLenum type, + const GLvoid *pixels ); + + +GLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level, + GLenum internalformat, + GLint x, GLint y, + GLsizei width, GLint border ); + + +GLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level, + GLenum internalformat, + GLint x, GLint y, + GLsizei width, GLsizei height, + GLint border ); + + +GLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level, + GLint xoffset, GLint x, GLint y, + GLsizei width ); + + +GLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint x, GLint y, + GLsizei width, GLsizei height ); + + + + +/* + * Evaluators + */ + +GLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2, + GLint stride, + GLint order, const GLdouble *points ); +GLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2, + GLint stride, + GLint order, const GLfloat *points ); + +GLAPI void GLAPIENTRY glMap2d( GLenum target, + GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, + GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, + const GLdouble *points ); +GLAPI void GLAPIENTRY glMap2f( GLenum target, + GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, + GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, + const GLfloat *points ); + +GLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v ); +GLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v ); +GLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v ); + +GLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u ); +GLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u ); + +GLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u ); +GLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u ); + +GLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v ); +GLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v ); + +GLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u ); +GLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u ); + +GLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); +GLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); + +GLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, + GLint vn, GLdouble v1, GLdouble v2 ); +GLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, + GLint vn, GLfloat v1, GLfloat v2 ); + +GLAPI void GLAPIENTRY glEvalPoint1( GLint i ); + +GLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j ); + +GLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); + +GLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); + + + +/* + * Fog + */ + +GLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param ); + +GLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params ); + +GLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params ); + + + +/* + * Selection and Feedback + */ + +GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); + +GLAPI void GLAPIENTRY glPassThrough( GLfloat token ); + +GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); + +GLAPI void GLAPIENTRY glInitNames( void ); + +GLAPI void GLAPIENTRY glLoadName( GLuint name ); + +GLAPI void GLAPIENTRY glPushName( GLuint name ); + +GLAPI void GLAPIENTRY glPopName( void ); + + + +/* 1.2 functions */ +GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start, + GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); + +GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLsizei height, + GLsizei depth, GLint border, + GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint zoffset, GLsizei width, + GLsizei height, GLsizei depth, + GLenum format, + GLenum type, const GLvoid *pixels); + +GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint zoffset, GLint x, + GLint y, GLsizei width, + GLsizei height ); + + +/* 1.2 imaging extension functions */ + +GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat, + GLsizei width, GLenum format, + GLenum type, const GLvoid *table ); + +GLAPI void GLAPIENTRY glColorSubTable( GLenum target, + GLsizei start, GLsizei count, + GLenum format, GLenum type, + const GLvoid *data ); + +GLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, + const GLint *params); + +GLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, + const GLfloat *params); + +GLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start, + GLint x, GLint y, GLsizei width ); + +GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat, + GLint x, GLint y, GLsizei width ); + +GLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format, + GLenum type, GLvoid *table ); + +GLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glBlendEquation( GLenum mode ); + +GLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green, + GLclampf blue, GLclampf alpha ); + +GLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width, + GLenum internalformat, GLboolean sink ); + +GLAPI void GLAPIENTRY glResetHistogram( GLenum target ); + +GLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset, + GLenum format, GLenum type, + GLvoid *values ); + +GLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat, + GLboolean sink ); + +GLAPI void GLAPIENTRY glResetMinmax( GLenum target ); + +GLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset, + GLenum format, GLenum types, + GLvoid *values ); + +GLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target, + GLenum internalformat, GLsizei width, GLenum format, GLenum type, + const GLvoid *image ); + +GLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target, + GLenum internalformat, GLsizei width, GLsizei height, GLenum format, + GLenum type, const GLvoid *image ); + +GLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname, + GLfloat params ); + +GLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname, + const GLfloat *params ); + +GLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname, + GLint params ); + +GLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname, + const GLint *params ); + +GLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target, + GLenum internalformat, GLint x, GLint y, GLsizei width ); + +GLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target, + GLenum internalformat, GLint x, GLint y, GLsizei width, + GLsizei height); + +GLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format, + GLenum type, GLvoid *image ); + +GLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target, + GLenum internalformat, GLsizei width, GLsizei height, GLenum format, + GLenum type, const GLvoid *row, const GLvoid *column ); + +GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format, + GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); + + + + +/* + * XXX these extensions may eventually be moved into glext.h + */ + + +/* + * GL_EXT_abgr (number 1) + */ +#ifndef GL_EXT_abgr +#define GL_EXT_abgr 1 + +#define GL_ABGR_EXT 0x8000 + +#endif /* GL_EXT_abgr */ + + + +/* + * GL_EXT_blend_color (number 2) + */ +#ifndef GL_EXT_blend_color +#define GL_EXT_blend_color 1 + +#define GL_CONSTANT_COLOR_EXT 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 +#define GL_CONSTANT_ALPHA_EXT 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 +#define GL_BLEND_COLOR_EXT 0x8005 + +GLAPI void GLAPIENTRY glBlendColorEXT( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); + +#endif /* GL_EXT_blend_color */ + + + +/* + * GL_EXT_polygon_offset (number 3) + */ +#ifndef GL_EXT_polygon_offset +#define GL_EXT_polygon_offset 1 + +#define GL_POLYGON_OFFSET_EXT 0x8037 +#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 +#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 + +GLAPI void GLAPIENTRY glPolygonOffsetEXT( GLfloat factor, GLfloat bias ); + +#endif /* GL_EXT_polygon_offset */ + + + +/* + * GL_EXT_texture3D (number 6) + */ +#ifndef GL_EXT_texture3D +#define GL_EXT_texture3D 1 + +#define GL_PACK_SKIP_IMAGES_EXT 0x806B +#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C +#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D +#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E +#define GL_TEXTURE_3D_EXT 0x806F +#define GL_PROXY_TEXTURE_3D_EXT 0x8070 +#define GL_TEXTURE_DEPTH_EXT 0x8071 +#define GL_TEXTURE_WRAP_R_EXT 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 +#define GL_TEXTURE_3D_BINDING_EXT 0x806A + +GLAPI void GLAPIENTRY glTexImage3DEXT( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); + +GLAPI void GLAPIENTRY glCopyTexSubImage3DEXT( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ); + +#endif /* GL_EXT_texture3D */ + + + +/* + * GL_EXT_texture_object (number 20) + */ +#ifndef GL_EXT_texture_object +#define GL_EXT_texture_object 1 + +#define GL_TEXTURE_PRIORITY_EXT 0x8066 +#define GL_TEXTURE_RESIDENT_EXT 0x8067 +#define GL_TEXTURE_1D_BINDING_EXT 0x8068 +#define GL_TEXTURE_2D_BINDING_EXT 0x8069 + +GLAPI void GLAPIENTRY glGenTexturesEXT( GLsizei n, GLuint *textures ); + +GLAPI void GLAPIENTRY glDeleteTexturesEXT( GLsizei n, const GLuint *textures); + +GLAPI void GLAPIENTRY glBindTextureEXT( GLenum target, GLuint texture ); + +GLAPI void GLAPIENTRY glPrioritizeTexturesEXT( GLsizei n, const GLuint *textures, const GLclampf *priorities ); + +GLAPI GLboolean GLAPIENTRY glAreTexturesResidentEXT( GLsizei n, const GLuint *textures, GLboolean *residences ); + +GLAPI GLboolean GLAPIENTRY glIsTextureEXT( GLuint texture ); + +#endif /* GL_EXT_texture_object */ + + + +/* + * GL_EXT_rescale_normal (number 27) + */ +#ifndef GL_EXT_rescale_normal +#define GL_EXT_rescale_normal 1 + +#define GL_RESCALE_NORMAL_EXT 0x803A + +#endif /* GL_EXT_rescale_normal */ + + + +/* + * GL_EXT_vertex_array (number 30) + */ +#ifndef GL_EXT_vertex_array +#define GL_EXT_vertex_array 1 + +#define GL_VERTEX_ARRAY_EXT 0x8074 +#define GL_NORMAL_ARRAY_EXT 0x8075 +#define GL_COLOR_ARRAY_EXT 0x8076 +#define GL_INDEX_ARRAY_EXT 0x8077 +#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 +#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 +#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A +#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B +#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C +#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D +#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E +#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F +#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 +#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 +#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 +#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 +#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 +#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 +#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 +#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 +#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A +#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B +#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C +#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D +#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E +#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F +#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 +#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 +#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 +#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 + +GLAPI void GLAPIENTRY glVertexPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glNormalPointerEXT( GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glColorPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glIndexPointerEXT( GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glTexCoordPointerEXT( GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glEdgeFlagPointerEXT( GLsizei stride, GLsizei count, const GLboolean *ptr ); + +GLAPI void GLAPIENTRY glGetPointervEXT( GLenum pname, void **params ); + +GLAPI void GLAPIENTRY glArrayElementEXT( GLint i ); + +GLAPI void GLAPIENTRY glDrawArraysEXT( GLenum mode, GLint first, GLsizei count ); + +#endif /* GL_EXT_vertex_array */ + + + +/* + * GL_SGIS_texture_edge_clamp (number 35) + */ +#ifndef GL_SGIS_texture_edge_clamp +#define GL_SGIS_texture_edge_clamp 1 + +#define GL_CLAMP_TO_EDGE_SGIS 0x812F + +#endif /* GL_SGIS_texture_edge_clamp */ + + + +/* + * GL_EXT_blend_minmax (number 37) + */ +#ifndef GL_EXT_blend_minmax +#define GL_EXT_blend_minmax 1 + +#define GL_FUNC_ADD_EXT 0x8006 +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#define GL_BLEND_EQUATION_EXT 0x8009 + +GLAPI void GLAPIENTRY glBlendEquationEXT( GLenum mode ); + +#endif /* GL_EXT_blend_minmax */ + + + +/* + * GL_EXT_blend_subtract (number 38) (requires GL_EXT_blend_max ) + */ +#ifndef GL_EXT_blend_subtract +#define GL_EXT_blend_subtract 1 + +#define GL_FUNC_SUBTRACT_EXT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B + +#endif /* GL_EXT_blend_subtract */ + + + +/* + * GL_EXT_blend_logic_op (number 39) + */ +#ifndef GL_EXT_blend_logic_op +#define GL_EXT_blend_logic_op 1 + +/* No new tokens or functions */ + +#endif /* GL_EXT_blend_logic_op */ + + + +/* + * GL_EXT_point_parameters (number 54) + */ +#ifndef GL_EXT_point_parameters +#define GL_EXT_point_parameters 1 + +#define GL_POINT_SIZE_MIN_EXT 0x8126 +#define GL_POINT_SIZE_MAX_EXT 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 +#define GL_DISTANCE_ATTENUATION_EXT 0x8129 + +GLAPI void GLAPIENTRY glPointParameterfEXT( GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glPointParameterfvEXT( GLenum pname, const GLfloat *params ); + +#endif /* GL_EXT_point_parameters */ + + + +/* + * GL_EXT_paletted_texture (number 78) + */ +#ifndef GL_EXT_paletted_texture +#define GL_EXT_paletted_texture 1 + +#define GL_TABLE_TOO_LARGE_EXT 0x8031 +#define GL_COLOR_TABLE_FORMAT_EXT 0x80D8 +#define GL_COLOR_TABLE_WIDTH_EXT 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF +#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED +#define GL_COLOR_INDEX1_EXT 0x80E2 +#define GL_COLOR_INDEX2_EXT 0x80E3 +#define GL_COLOR_INDEX4_EXT 0x80E4 +#define GL_COLOR_INDEX8_EXT 0x80E5 +#define GL_COLOR_INDEX12_EXT 0x80E6 +#define GL_COLOR_INDEX16_EXT 0x80E7 + +GLAPI void GLAPIENTRY glColorTableEXT( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table ); + +GLAPI void GLAPIENTRY glColorSubTableEXT( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data ); + +GLAPI void GLAPIENTRY glGetColorTableEXT( GLenum target, GLenum format, GLenum type, GLvoid *table ); + +GLAPI void GLAPIENTRY glGetColorTableParameterfvEXT( GLenum target, GLenum pname, GLfloat *params ); + +GLAPI void GLAPIENTRY glGetColorTableParameterivEXT( GLenum target, GLenum pname, GLint *params ); + +#endif /* GL_EXT_paletted_texture */ + + + +/* + * GL_EXT_clip_volume_hint (number 79) + */ +#ifndef GL_EXT_clip_volume_hint +#define GL_EXT_clip_volume_hint 1 + +#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F + +#endif /* GL_EXT_clip_volume_hint */ + + + +/* + * GL_EXT_compiled_vertex_array (number 97) + */ +#ifndef GL_EXT_compiled_vertex_array +#define GL_EXT_compiled_vertex_array 1 + +#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 +#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 + +GLAPI void GLAPIENTRY glLockArraysEXT( GLint first, GLsizei count ); +GLAPI void GLAPIENTRY glUnlockArraysEXT( void ); + +#endif /* GL_EXT_compiled_vertex_array */ + +/* + * 137. GL_HP_occlusion_test + */ +#ifndef GL_HP_occlusion_test +#define GL_HP_occlusion_test 1 + +#define GL_OCCLUSION_TEST_HP 0x8165 +#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 + +#endif /* GL_HP_occlusion_test */ + + +/* + * GL_EXT_shared_texture_palette (number 141) (req's GL_EXT_paletted_texture) + */ +#ifndef GL_EXT_shared_texture_palette +#define GL_EXT_shared_texture_palette 1 + +#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB + +#endif /* GL_EXT_shared_texture_palette */ + + + +/* + * GL_EXT_stencil_wrap (number 176) + */ +#ifndef GL_EXT_stencil_wrap +#define GL_EXT_stencil_wrap 1 + +#define GL_INCR_WRAP_EXT 0x8507 +#define GL_DECR_WRAP_EXT 0x8508 + +#endif /* GL_EXT_stencil_wrap */ + + + +/* + * GL_NV_texgen_reflection (number 179) + */ +#ifndef GL_NV_texgen_reflection +#define GL_NV_texgen_reflection 1 + +#define GL_NORMAL_MAP_NV 0x8511 +#define GL_REFLECTION_MAP_NV 0x8512 + +#endif /* GL_NV_texgen_reflection */ + + + +/* + * GL_EXT_texture_env_add (number 185) + */ +#ifndef GL_EXT_texture_env_add +#define GL_EXT_texture_env_add 1 + +/* No new tokens or functions */ + +#endif /* GL_EXT_texture_env_add */ + + + +/* + * GL_ARB_multitexture (ARB 0) + */ +#ifndef GL_ARB_multitexture +#define GL_ARB_multitexture 1 + +#define GL_TEXTURE0_ARB 0x84C0 +#define GL_TEXTURE1_ARB 0x84C1 +#define GL_TEXTURE2_ARB 0x84C2 +#define GL_TEXTURE3_ARB 0x84C3 +#define GL_TEXTURE4_ARB 0x84C4 +#define GL_TEXTURE5_ARB 0x84C5 +#define GL_TEXTURE6_ARB 0x84C6 +#define GL_TEXTURE7_ARB 0x84C7 +#define GL_TEXTURE8_ARB 0x84C8 +#define GL_TEXTURE9_ARB 0x84C9 +#define GL_TEXTURE10_ARB 0x84CA +#define GL_TEXTURE11_ARB 0x84CB +#define GL_TEXTURE12_ARB 0x84CC +#define GL_TEXTURE13_ARB 0x84CD +#define GL_TEXTURE14_ARB 0x84CE +#define GL_TEXTURE15_ARB 0x84CF +#define GL_TEXTURE16_ARB 0x84D0 +#define GL_TEXTURE17_ARB 0x84D1 +#define GL_TEXTURE18_ARB 0x84D2 +#define GL_TEXTURE19_ARB 0x84D3 +#define GL_TEXTURE20_ARB 0x84D4 +#define GL_TEXTURE21_ARB 0x84D5 +#define GL_TEXTURE22_ARB 0x84D6 +#define GL_TEXTURE23_ARB 0x84D7 +#define GL_TEXTURE24_ARB 0x84D8 +#define GL_TEXTURE25_ARB 0x84D9 +#define GL_TEXTURE26_ARB 0x84DA +#define GL_TEXTURE27_ARB 0x84DB +#define GL_TEXTURE28_ARB 0x84DC +#define GL_TEXTURE29_ARB 0x84DD +#define GL_TEXTURE30_ARB 0x84DE +#define GL_TEXTURE31_ARB 0x84DF +#define GL_ACTIVE_TEXTURE_ARB 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 +#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 + +GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture); +GLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture); +GLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s); +GLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s); +GLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s); +GLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s); +GLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v); +GLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); +GLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); +GLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); +GLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); +GLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v); +GLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); +GLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); +GLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); +GLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); +GLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v); +GLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +GLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); +GLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +GLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v); + +#endif /* GL_ARB_multitexture */ + + + +/* + * GL_MESA_window_pos (197) + */ +/* JAU - NOPE +#ifndef GL_MESA_window_pos +#define GL_MESA_window_pos 1 + +GLAPI void GLAPIENTRY glWindowPos2iMESA( GLint x, GLint y ); +GLAPI void GLAPIENTRY glWindowPos2sMESA( GLshort x, GLshort y ); +GLAPI void GLAPIENTRY glWindowPos2fMESA( GLfloat x, GLfloat y ); +GLAPI void GLAPIENTRY glWindowPos2dMESA( GLdouble x, GLdouble y ); +GLAPI void GLAPIENTRY glWindowPos2ivMESA( const GLint *p ); +GLAPI void GLAPIENTRY glWindowPos2svMESA( const GLshort *p ); +GLAPI void GLAPIENTRY glWindowPos2fvMESA( const GLfloat *p ); +GLAPI void GLAPIENTRY glWindowPos2dvMESA( const GLdouble *p ); +GLAPI void GLAPIENTRY glWindowPos3iMESA( GLint x, GLint y, GLint z ); +GLAPI void GLAPIENTRY glWindowPos3sMESA( GLshort x, GLshort y, GLshort z ); +GLAPI void GLAPIENTRY glWindowPos3fMESA( GLfloat x, GLfloat y, GLfloat z ); +GLAPI void GLAPIENTRY glWindowPos3dMESA( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glWindowPos3ivMESA( const GLint *p ); +GLAPI void GLAPIENTRY glWindowPos3svMESA( const GLshort *p ); +GLAPI void GLAPIENTRY glWindowPos3fvMESA( const GLfloat *p ); +GLAPI void GLAPIENTRY glWindowPos3dvMESA( const GLdouble *p ); +GLAPI void GLAPIENTRY glWindowPos4iMESA( GLint x, GLint y, GLint z, GLint w ); +GLAPI void GLAPIENTRY glWindowPos4sMESA( GLshort x, GLshort y, GLshort z, GLshort w ); +GLAPI void GLAPIENTRY glWindowPos4fMESA( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); +GLAPI void GLAPIENTRY glWindowPos4dMESA( GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void GLAPIENTRY glWindowPos4ivMESA( const GLint *p ); +GLAPI void GLAPIENTRY glWindowPos4svMESA( const GLshort *p ); +GLAPI void GLAPIENTRY glWindowPos4fvMESA( const GLfloat *p ); +GLAPI void GLAPIENTRY glWindowPos4dvMESA( const GLdouble *p ); + +#endif +*/ + + + +/* + * GL_MESA_resize_bufffers (196) + */ +/* JAU - NOPE +#ifndef GL_MESA_resize_bufffers +#define GL_MESA_resize_buffers 1 + +GLAPI void GLAPIENTRY glResizeBuffersMESA( void ); + +#endif +*/ + + + +#if defined(__BEOS__) || defined(__QUICKDRAW__) +#pragma export off +#endif + + +#ifdef macintosh + #pragma enumsalwaysint reset + #if PRAGMA_IMPORT_SUPPORTED + #pragma import off + #endif +#endif + + +#ifdef __cplusplus +} +#endif + +#endif /* __gl_h_ */ diff --git a/C2J/mesa33-header/glext.h b/C2J/mesa33-header/glext.h new file mode 100644 index 0000000..b2df4e8 --- /dev/null +++ b/C2J/mesa33-header/glext.h @@ -0,0 +1,3275 @@ +#ifndef __glext_h_ +#define __glext_h_ + + +/* + * XXX Some token values aren't known (grep for ?) + * XXX This file may be automatically generated in the future. + * XXX There are some doubly-defined tokens with different values! Search + * for "DUPLICATE". + */ + + +#ifdef __cplusplus +extern "C" { +#endif + + +#if defined(_WIN32) && !defined(__CYGWIN32__) +#define WIN32_LEAN_AND_MEAN 1 +#include +#endif + +#ifndef GLAPI +#define GLAPI extern +#endif + +#if defined(GLAPIENTRY) && !defined(APIENTRY) +#define APIENTRY GLAPIENTRY +#endif + +#ifndef APIENTRY +#define APIENTRY +#endif + + +/* + * Versions: + * 1. Brian Paul, 24 Feb 2000 + * Intial Version + * 2. Brian Paul, 7 Mar 2000 + * Added GL_HP_occlusion_test, GL_EXT_texture_lod_bias + * 3. Brian Paul, 20 Mar 2000 + * Added all missing extensions up to number 137 + * 4. Brian Paul, 23 Mar 2000 + * Now have all extenions up to number 197 + * 5. Brian Paul, 27 Mar 2000 + * Added GL_ARB_texture_compression + * 6. Brian Paul, 5 Apr 2000 + * Added GL_ARB_multisample tokens, added GL_ARB_texture_env_add + * 7. Brian Paul, 7 Apr 2000 + * Minor clean-ups, temporary token values for GL_SGIS_pixel_texture + * 8. Brian Paul, 15 Apr 2000 + * Added GL_EXT_texture_cube_map, GL_NV_texgen_emboss, adding some + * missing tokens values. + */ +#define GL_GLEXT_VERSION_EXT 8 + + +/* + * 1. GL_EXT_abgr + */ +#ifndef GL_EXT_abgr +#define GL_EXT_abgr 1 + +#define GL_ABGR_EXT 0x8000 + +#endif /* GL_EXT_abgr */ + + + +/* + * 2. GL_EXT_blend_color + */ +#ifndef GL_EXT_blend_color +#define GL_EXT_blend_color 1 + +#define GL_CONSTANT_COLOR_EXT 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 +#define GL_CONSTANT_ALPHA_EXT 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 +#define GL_BLEND_COLOR_EXT 0x8005 + +GLAPI void APIENTRY glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); + +typedef void (APIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); + +#endif /* GL_EXT_blend_color */ + + + +/* + * 3. GL_EXT_polygon_offset + */ +#ifndef GL_EXT_polygon_offset +#define GL_EXT_polygon_offset 1 + +#define GL_POLYGON_OFFSET_EXT 0x8037 +#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 +#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 + +GLAPI void APIENTRY glPolygonOffsetEXT(GLfloat factor, GLfloat bias); + +typedef void (APIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); + +#endif /* GL_EXT_polygon_offset */ + + + +/* + * 4. GL_EXT_texture + */ +#ifndef GL_EXT_texture +#define GL_EXT_texture 1 + +#define GL_ALPHA4_EXT 0x803B +#define GL_ALPHA8_EXT 0x803C +#define GL_ALPHA12_EXT 0x803D +#define GL_ALPHA16_EXT 0x803E +#define GL_LUMINANCE4_EXT 0x803F +#define GL_LUMINANCE8_EXT 0x8040 +#define GL_LUMINANCE12_EXT 0x8041 +#define GL_LUMINANCE16_EXT 0x8042 +#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 +#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 +#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 +#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 +#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 +#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 +#define GL_INTENSITY_EXT 0x8049 +#define GL_INTENSITY4_EXT 0x804A +#define GL_INTENSITY8_EXT 0x804B +#define GL_INTENSITY12_EXT 0x804C +#define GL_INTENSITY16_EXT 0x804D +#define GL_RGB2_EXT 0x804E +#define GL_RGB4_EXT 0x804F +#define GL_RGB5_EXT 0x8050 +#define GL_RGB8_EXT 0x8051 +#define GL_RGB10_EXT 0x8052 +#define GL_RGB12_EXT 0x8053 +#define GL_RGB16_EXT 0x8054 +#define GL_RGBA2_EXT 0x8055 +#define GL_RGBA4_EXT 0x8056 +#define GL_RGB5_A1_EXT 0x8057 +#define GL_RGBA8_EXT 0x8058 +#define GL_RGB10_A2_EXT 0x8059 +#define GL_RGBA12_EXT 0x805A +#define GL_RGBA16_EXT 0x805B +#define GL_TEXTURE_RED_SIZE_EXT 0x805C +#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D +#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E +#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F +#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 +#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 +#define GL_REPLACE_EXT 0x8062 +#define GL_PROXY_TEXTURE_1D_EXT 0x8063 +#define GL_PROXY_TEXTURE_2D_EXT 0x8064 + +#endif /* GL_EXT_texture */ + + + +/* + * 5. unknown + */ + + + +/* + * 6. GL_EXT_texture3D + */ +#ifndef GL_EXT_texture3D +#define GL_EXT_texture3D 1 + +#define GL_PACK_SKIP_IMAGES_EXT 0x806B +#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C +#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D +#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E +#define GL_TEXTURE_3D_EXT 0x806F +#define GL_PROXY_TEXTURE_3D_EXT 0x8070 +#define GL_TEXTURE_DEPTH_EXT 0x8071 +#define GL_TEXTURE_WRAP_R_EXT 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 +#define GL_TEXTURE_3D_BINDING_EXT 0x806A + +GLAPI void APIENTRY glTexImage3DEXT(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +GLAPI void APIENTRY glTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); +GLAPI void APIENTRY glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); + +typedef void (APIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); + +#endif /* GL_EXT_texture3D */ + + + +/* + * 7. GL_SGI_texture_filter4 + */ +#ifndef GL_SGI_texture_filter4 +#define GL_SGI_texture_filter4 1 + +#define GL_FILTER4_SGIS 0x8146 +#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 + +GLAPI void APIENTRY glGetTexFilterFuncSGIS(GLenum target, GLenum filter, GLfloat *weights); +GLAPI void APIENTRY glTexFilterFuncSGIS(GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); + +typedef void (APIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); +typedef void (APIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); + +#endif /* GL_SGI_texture_filter4 */ + + + +/* + * 8. unknown + */ + + + +/* + * 9. GL_EXT_subtexture + */ +#ifndef GL_EXT_subtexture +#define GL_EXT_subtexture 1 + +GLAPI void APIENTRY glCopyTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); +GLAPI void APIENTRY glTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); + +typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +typedef void (APIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); + +#endif /* GL_EXT_subtexture */ + + + +/* + * 10. GL_EXT_copy_texture + */ +#ifndef GL_EXT_copy_texture +#define GL_EXT_copy_texture 1 + +GLAPI void APIENTRY glCopyTexImage1DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +GLAPI void APIENTRY glCopyTexImage2DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); + +typedef void (APIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +typedef void (APIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (APIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); + +#endif /* GL_EXT_copy_texture */ + + + +/* + * 11. GL_EXT_histogram + */ +#ifndef GL_EXT_histogram +#define GL_EXT_histogram 1 + +#define GL_HISTOGRAM_EXT 0x8024 +#define GL_PROXY_HISTOGRAM_EXT 0x8025 +#define GL_HISTOGRAM_WIDTH_EXT 0x8026 +#define GL_HISTOGRAM_FORMAT_EXT 0x8027 +#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 +#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 +#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A +#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B +#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C +#define GL_HISTOGRAM_SINK_EXT 0x802D + +GLAPI void APIENTRY glGetHistogramEXT(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); +GLAPI void APIENTRY glGetHistogramParameterfvEXT(GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetHistogramParameterivEXT(GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMinmaxEXT(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values); +GLAPI void APIENTRY glGetMinmaxParameterfvEXT(GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMinmaxParameterivEXT(GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glHistogramEXT(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +GLAPI void APIENTRY glMinmaxEXT(GLenum target, GLenum internalformat, GLboolean sink); +GLAPI void APIENTRY glResetHistogramEXT(GLenum target); +GLAPI void APIENTRY glResetMinmaxEXT(GLenum target); + +typedef void (APIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); +typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values); +typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +typedef void (APIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); +typedef void (APIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); +typedef void (APIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target); + +#endif /* GL_EXT_histogram */ + + + +/* + * 12. GL_EXT_convolution + */ +#ifndef GL_EXT_convolution +#define GL_EXT_convolution 1 + +#define GL_CONVOLUTION_1D_EXT 0x8010 +#define GL_CONVOLUTION_2D_EXT 0x8011 +#define GL_SEPARABLE_2D_EXT 0x8012 +#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 +#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 +#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 +#define GL_REDUCE_EXT 0x8016 +#define GL_CONVOLUTION_FORMAT_EXT 0x8017 +#define GL_CONVOLUTION_WIDTH_EXT 0x8018 +#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 +#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A +#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B +#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C +#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D +#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E +#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F +#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 +#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 +#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 +#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 + +GLAPI void APIENTRY glConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); +GLAPI void APIENTRY glConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); +GLAPI void APIENTRY glConvolutionParameterfEXT(GLenum target, GLenum pname, GLfloat params); +GLAPI void APIENTRY glConvolutionParameterfvEXT(GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glConvolutionParameteriEXT(GLenum target, GLenum pname, GLint params); +GLAPI void APIENTRY glConvolutionParameterivEXT(GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glCopyConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetConvolutionFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *image); +GLAPI void APIENTRY glGetConvolutionParameterfvEXT(GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetConvolutionParameterivEXT(GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetSeparableFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); +GLAPI void APIENTRY glSeparableFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); + +typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); +typedef void (APIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); +typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); +typedef void (APIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); + +#endif /* GL_EXT_convolution */ + + + +/* + * 13. GL_SGI_color_matrix + */ +#ifndef GL_SGI_color_matrix +#define GL_SGI_color_matrix 1 + +#define GL_COLOR_MATRIX_SGI 0x80B1 +#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 +#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 +#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB + +#endif /* GL_SGI_color_matrix */ + + + +/* + * 14. GL_SGI_color_table + */ +#ifndef GL_SGI_color_table +#define GL_SGI_color_table 1 + +#define GL_COLOR_TABLE_SGI 0x80D0 /* DUPLICATE! */ +#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 +#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 +#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 +#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 +#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 +#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF + +GLAPI void APIENTRY glColorTableParameterfvSGI(GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glColorTableParameterivSGI(GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glColorTableSGI(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +GLAPI void APIENTRY glCopyColorTableSGI(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glGetColorTableParameterfvSGI(GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetColorTableParameterivSGI(GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetColorTableSGI(GLenum target, GLenum format, GLenum type, GLvoid *table); + +typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +typedef void (APIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); + +#endif /* GL_SGI_color_table */ + + + +/* + * ?. GL_SGIX_pixel_texture + */ +#ifndef GL_SGIX_pixel_texture +#define GL_SGIX_pixel_texture 1 + +#define GL_PIXEL_TEX_GEN_SGIX 0x8139 +#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B + +GLAPI void APIENTRY glPixelTexGenSGIX(GLenum mode); + +typedef void (APIENTRY * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); + +#endif /* GL_SGIX_pixel_texture */ + + + +/* + * 15. GL_SGIS_pixel_texture + */ +#ifndef GL_SGIS_pixel_texture +#define GL_SGIS_pixel_texture 1 + +#define GL_PIXEL_TEXTURE_SGIS 0x1000 /*?*/ +#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x1001 /*?*/ +#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x1002 /*?*/ +#define GL_PIXEL_GROUP_COLOR_SGIS 0x1003 /*?*/ + +GLAPI void APIENTRY glPixelTexGenParameterfSGIS(GLenum target, GLfloat value); +GLAPI void APIENTRY glPixelTexGenParameterfvSGIS(GLenum target, const GLfloat *value); +GLAPI void APIENTRY glPixelTexGenParameteriSGIS(GLenum target, GLint value); +GLAPI void APIENTRY glPixelTexGenParameterivSGIS(GLenum target, const GLint *value); +GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS(GLenum target, GLfloat *value); +GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS(GLenum target, GLint *value); + +typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum target, GLfloat value); +typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum target, const GLfloat *value); +typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum target, GLint value); +typedef void (APIENTRY * PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum target, const GLint *value); +typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum target, GLfloat *value); +typedef void (APIENTRY * PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum target, GLint *value); + +#endif /* GL_SGIS_pixel_texture */ + + + +/* + * 16. GL_SGIS_texture4D + */ +#ifndef GL_SGIS_texture4D +#define GL_SGIS_texture4D 1 + +#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 +#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 +#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 +#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 +#define GL_TEXTURE_4D_SGIS 0x8134 +#define GL_PROXY_TEXTURE_4D_SGIS 0x8135 +#define GL_TEXTURE_4DSIZE_SGIS 0x8136 +#define GL_TEXTURE_WRAP_Q_SGIS 0x8137 +#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 +#define GL_TEXTURE_4D_BINDING_SGIS 0x814F + +GLAPI void APIENTRY glTexImage4DSGIS(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTexSubImage4DSGIS(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void *pixels); + +typedef void (APIENTRY * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRY * PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void *pixels); + +#endif /* GL_SGIS_texture4D */ + + + +/* + * 17. GL_SGI_texture_color_table + */ +#ifndef GL_SGI_texture_color_table +#define GL_SGI_texture_color_table 1 + +#define GL_COLOR_TABLE_SGI_80BC 0x80BC /* DUPLICATE! */ +#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD + +#endif /* GL_SGI_texture_color_table */ + + + +/* + * 18. GL_EXT_cmyka + */ +#ifndef GL_EXT_cmyka +#define GL_EXT_cmyka 1 + +#define GL_CMYK_EXT 0x800C +#define GL_CMYKA_EXT 0x800D +#define GL_PACK_CMYK_HINT_EXT 0x800E +#define GL_UNPACK_CMYK_HINT_EXT 0x800F + +#endif /* GL_EXT_cmyka */ + + + +/* + * 19. unknown + */ + + + +/* + * 20. GL_EXT_texture_object + */ +#ifndef GL_EXT_texture_object +#define GL_EXT_texture_object 1 + +#define GL_TEXTURE_PRIORITY_EXT 0x8066 +#define GL_TEXTURE_RESIDENT_EXT 0x8067 +#define GL_TEXTURE_1D_BINDING_EXT 0x8068 +#define GL_TEXTURE_2D_BINDING_EXT 0x8069 + +GLAPI void APIENTRY glGenTexturesEXT(GLsizei n, GLuint *textures); +GLAPI void APIENTRY glDeleteTexturesEXT(GLsizei n, const GLuint *textures); +GLAPI void APIENTRY glBindTextureEXT(GLenum target, GLuint texture); +GLAPI void APIENTRY glPrioritizeTexturesEXT(GLsizei n, const GLuint *textures, const GLclampf *priorities); +GLAPI GLboolean APIENTRY glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences); +GLAPI GLboolean APIENTRY glIsTextureEXT(GLuint texture); + +typedef void (APIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); +typedef void (APIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); +typedef void (APIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); +typedef void (APIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); +typedef GLboolean (APIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); +typedef GLboolean (APIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture); + +#endif /* GL_EXT_texture_object */ + + + +/* + * 21. GL_SGIS_detail_texture + */ +#ifndef GL_SGIS_detail_texture +#define GL_SGIS_detail_texture + +#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 +#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 +#define GL_LINEAR_DETAIL_SGIS 0x8097 +#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 +#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 +#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A +#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B + +GLAPI void APIENTRY glDetailTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points); +GLAPI void APIENTRY glGetDetailTexFuncSGIS(GLenum target, GLfloat *points); + +typedef void (APIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); +typedef void (APIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); + +#endif /* GL_SGIS_detail_texture */ + + + +/* + * 22. GL_SGIS_sharpen_texture + */ +#ifndef GL_SGIS_sharpen_texture +#define GL_SGIS_sharpen_texture 1 + +#define GL_LINEAR_SHARPEN_SGIS 0x80AD +#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE +#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF +#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 + +GLAPI void APIENTRY glGetSharpenTexFuncSGIS(GLenum target, GLfloat *points); +GLAPI void APIENTRY glSharpenTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points); + +typedef void (APIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); +typedef void (APIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); + +#endif /* GL_SGIS_sharpen_texture */ + + + +/* + * 23. GL_EXT_packed_pixels + */ +#ifndef GL_EXT_packed_pixels +#define GL_EXT_packed_pixels 1 + +#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 +#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 +#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 +#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 + +#endif /* GL_EXT_packed_pixels */ + + + +/* + * 24. GL_SGIS_texture_lod + */ + +#ifndef GL_SGIS_texture_lod +#define GL_SGIS_texture_lod 1 + +#define GL_TEXTURE_MIN_LOD_SGIS 0x813A +#define GL_TEXTURE_MAX_LOD_SGIS 0x813B +#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C +#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D + +#endif /* GL_SGIS_texture_lod */ + + + +/* + * 25. GL_SGIS_multisample + */ + +#ifndef GL_SGIS_multisample +#define GL_SGIS_multisample 1 + +#define GL_MULTISAMPLE_SGIS 0x809D +#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F +#define GL_SAMPLE_MASK_SGIS 0x80A0 +#define GL_MULTISAMPLE_BIT_EXT 0x20000000 +#define GL_1PASS_SGIS 0x80A1 +#define GL_2PASS_0_SGIS 0x80A2 +#define GL_2PASS_1_SGIS 0x80A3 +#define GL_4PASS_0_SGIS 0x80A4 +#define GL_4PASS_1_SGIS 0x80A5 +#define GL_4PASS_2_SGIS 0x80A6 +#define GL_4PASS_3_SGIS 0x80A7 +#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 +#define GL_SAMPLES_SGIS 0x80A9 +#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA +#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB +#define GL_SAMPLE_PATTERN_SGIS 0x80AC + +GLAPI void APIENTRY glSampleMaskSGIS(GLclampf value, GLboolean invert); +GLAPI void APIENTRY glSamplePatternSGIS(GLenum pattern); + +typedef void (APIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); + +#endif /* GL_SGIS_multisample */ + + + +/* + * 26. unknown + */ + + + +/* + * 27. GL_EXT_rescale_normal + */ +#ifndef GL_EXT_rescale_normal +#define GL_EXT_rescale_normal 1 + +#define GL_RESCALE_NORMAL_EXT 0x803A + +#endif /* GL_EXT_rescale_normal */ + + + +/* + * 28. GLX_EXT_visual_info + */ + + + +/* + * 29. unknown + */ + + + +/* + * 30. GL_EXT_vertex_array + */ +#ifndef GL_EXT_vertex_array +#define GL_EXT_vertex_array 1 + +#define GL_VERTEX_ARRAY_EXT 0x8074 +#define GL_NORMAL_ARRAY_EXT 0x8075 +#define GL_COLOR_ARRAY_EXT 0x8076 +#define GL_INDEX_ARRAY_EXT 0x8077 +#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 +#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 +#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A +#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B +#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C +#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D +#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E +#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F +#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 +#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 +#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 +#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 +#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 +#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 +#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 +#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 +#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A +#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B +#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C +#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D +#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E +#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F +#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 +#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 +#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 +#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 + +GLAPI void APIENTRY glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr); +GLAPI void APIENTRY glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr); +GLAPI void APIENTRY glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr); +GLAPI void APIENTRY glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr); +GLAPI void APIENTRY glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr); +GLAPI void APIENTRY glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *ptr); +GLAPI void APIENTRY glGetPointervEXT(GLenum pname, void **params); +GLAPI void APIENTRY glArrayElementEXT(GLint i); +GLAPI void APIENTRY glDrawArraysEXT(GLenum mode, GLint first, GLsizei count); + +typedef void (APIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i); +typedef void (APIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (APIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); +typedef void (APIENTRY * PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params); +typedef void (APIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); +typedef void (APIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer); + +#endif /* GL_EXT_vertex_array */ + + + +/* + * 31. GL_EXT_misc_attribute + */ +#ifndef GL_EXT_misc_attribute +#define GL_EXT_misc_attribute 1 + +#define GL_MISC_BIT_EXT ? + +#endif /* GL_EXT_misc_attribute */ + + + +/* + * 32. GL_SGIS_generate_mipmap + */ +#ifndef GL_SGIS_generate_mipmap +#define GL_SGIS_generate_mipmap 1 + +#define GL_GENERATE_MIPMAP_SGIS 0x8191 +#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 + +#endif /* GL_SGIS_generate_mipmap */ + + + +/* + * 33. GL_SGIX_clipmap + */ +#ifndef GL_SGIX_clipmap +#define GL_SGIX_clipmap 1 + +#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 +#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 +#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 +#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 +#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 +#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 +#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 +#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 +#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 + +#endif /* GL_SGIX_clipmap */ + + + +/* + * 34. GL_SGIX_shadow + */ +#ifndef GL_SGIX_shadow +#define GL_SGIX_shadow 1 + +#define GL_TEXTURE_COMPARE_SGIX 0x819A +#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B +#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C +#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D + +#endif /* GL_SGIX_shadow */ + + + +/* + * 35. GL_SGIS_texture_edge_clamp + */ +#ifndef GL_SGIS_texture_edge_clamp +#define GL_SGIS_texture_edge_clamp 1 + +#define GL_CLAMP_TO_EDGE_SGIS 0x812F + +#endif /* GL_SGIS_texture_edge_clamp */ + + + +/* + * 36. GL_SGIS_texture_border_clamp + */ +#ifndef GL_SGIS_texture_border_clamp +#define GL_SGIS_texture_border_clamp 1 + +#define GL_CLAMP_TO_BORDER_SGIS 0x812D + +#endif /* GL_SGIS_texture_border_clamp */ + + + +/* + * 37. GL_EXT_blend_minmax + */ +#ifndef GL_EXT_blend_minmax +#define GL_EXT_blend_minmax 1 + +#define GL_FUNC_ADD_EXT 0x8006 +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#define GL_BLEND_EQUATION_EXT 0x8009 + +GLAPI void APIENTRY glBlendEquationEXT(GLenum mode); + +typedef void (APIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); + +#endif /* GL_EXT_blend_minmax */ + + + +/* + * 38. GL_EXT_blend_subtract (requires GL_EXT_blend_max) + */ +#ifndef GL_EXT_blend_subtract +#define GL_EXT_blend_subtract 1 + +#define GL_FUNC_SUBTRACT_EXT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B + +#endif /* GL_EXT_blend_subtract */ + + + +/* + * 39. GL_EXT_blend_logic_op + */ +#ifndef GL_EXT_blend_logic_op +#define GL_EXT_blend_logic_op 1 + +/* No new tokens or functions */ + +#endif /* GL_EXT_blend_logic_op */ + + + +/* + * 40. GLX_SGI_swap_control + * 41. GLX_SGI_video_sync + * 42. GLX_SGI_make_current_read + * 43. GLX_SGIX_video_source + * 44. GLX_EXT_visual_rating + */ + + + +/* + * 45. GL_SGIX_interlace + */ +#ifndef GL_SGIX_interlace +#define GL_SGIX_interlace 1 + +#define GL_INTERLACE_SGIX 0x8094 + +#endif /* GL_SGIX_interlace */ + + + +/* + * 46. unknown + * 47. GLX_EXT_import_context + * 49. GLX_SGIX_fbconfig + * 50. GLX_SGIX_pbuffer + */ + + + +/* + * 51. GL_SGIS_texture_select + */ +#ifndef GL_SGIS_texture_select +#define GL_SGIS_texture_select 1 + +#define GL_DUAL_ALPHA4_SGIS 0x8110 +#define GL_DUAL_ALPHA8_SGIS 0x8111 +#define GL_DUAL_ALPHA12_SGIS 0x8112 +#define GL_DUAL_ALPHA16_SGIS 0x8113 +#define GL_DUAL_LUMINANCE4_SGIS 0x8114 +#define GL_DUAL_LUMINANCE8_SGIS 0x8115 +#define GL_DUAL_LUMINANCE12_SGIS 0x8116 +#define GL_DUAL_LUMINANCE16_SGIS 0x8117 +#define GL_DUAL_INTENSITY4_SGIS 0x8118 +#define GL_DUAL_INTENSITY8_SGIS 0x8119 +#define GL_DUAL_INTENSITY12_SGIS 0x811A +#define GL_DUAL_INTENSITY16_SGIS 0x811B +#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C +#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D +#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 +#define GL_QUAD_ALPHA4_SGIS 0x811E +#define GL_QUAD_ALPHA8_SGIS 0x811F +#define GL_QUAD_LUMINANCE4_SGIS0 x8120 +#define GL_QUAD_LUMINANCE8_SGIS 0x8121 +#define GL_QUAD_INTENSITY4_SGIS 0x8122 +#define GL_QUAD_INTENSITY8_SGIS 0x8123 +#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 + +#endif /* GL_SGIS_texture_select */ + + + +/* + * 52. GL_SGIX_sprite + */ +#ifndef GL_SGIX_sprite +#define GL_SGIX_sprite 1 + +#define GL_SPRITE_SGIX 0x8148 +#define GL_SPRITE_MODE_SGIX 0x8149 +#define GL_SPRITE_AXIS_SGIX 0x814A +#define GL_SPRITE_TRANSLATION_SGIX 0x814B +#define GL_SPRITE_AXIAL_SGIX 0x814C +#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D +#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E + +GLAPI void APIENTRY glSpriteParameterfSGIX(GLenum pname, GLfloat param); +GLAPI void APIENTRY glSpriteParameterfvSGIX(GLenum pname, const GLfloat *param); +GLAPI void APIENTRY glSpriteParameteriSGIX(GLenum pname, GLint param); +GLAPI void APIENTRY glSpriteParameterivSGIX(GLenum pname, const GLint *param); + +typedef void (APIENTRY * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *param); +typedef void (APIENTRY * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *param); + +#endif /* GL_SGIX_sprite */ + + + +/* + * 53. unknown + */ + + + +/* + * 54. GL_EXT_point_parameters + */ +#ifndef GL_EXT_point_parameters +#define GL_EXT_point_parameters 1 + +#define GL_POINT_SIZE_MIN_EXT 0x8126 +#define GL_POINT_SIZE_MAX_EXT 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 +#define GL_DISTANCE_ATTENUATION_EXT 0x8129 + +GLAPI void APIENTRY glPointParameterfEXT(GLenum pname, GLfloat param); +GLAPI void APIENTRY glPointParameterfvEXT(GLenum pname, const GLfloat *params); + +typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); + +#endif /* GL_EXT_point_parameters */ + + + +/* + * 55. GL_SGIX_instruments + */ +#ifndef GL_SGIX_instruments +#define GL_SGIX_instruments 1 + +#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 +#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 + +GLAPI GLint APIENTRY glGetInstrumentsSGIX(void); +GLAPI void APIENTRY glInstrumentsBufferSGIX(GLsizei size, GLint *buf); +GLAPI GLint APIENTRY glPollInstrumentsSGIX(GLint *markerp); +GLAPI void APIENTRY glReadInstrumentsSGIX(GLint marker); +GLAPI void APIENTRY glStartInstrumentsSGIX(void); +GLAPI void APIENTRY glStopInstrumentsSGIX(GLint marker); + +typedef GLint (APIENTRY * PFNGLGETINSTRUMENTSSGIXPROC) (void); +typedef void (APIENTRY * PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buf); +typedef GLint (APIENTRY * PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *markerp); +typedef void (APIENTRY * PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); +typedef void (APIENTRY * PFNGLSTARTINSTRUMENTSSGIXPROC) (void); +typedef void (APIENTRY * PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); + +#endif /* GL_SGIX_instruments */ + + + +/* + * 56. GL_SGIX_texture_scale_bias + */ +#ifndef GL_SGIX_texture_scale_bias +#define GL_SGIX_texture_scale_bias 1 + +#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 +#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A +#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B +#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C + +#endif /* GL_SGIX_texture_scale_bias */ + + + +/* + * 57. GL_SGIX_framezoom + */ +#ifndef GL_SGIX_framezoom +#define GL_SGIX_framezoom 1 + +#define GL_FRAMEZOOM_SGIX 0x818B +#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C +#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D + +GLAPI void APIENTRY glFrameZoomSGIX(GLint factor); + +typedef void (APIENTRY * PFNGLFRAMEZOOMSGIXPROC) (GLint factor); + +#endif /* GL_SGIX_framezoom */ + + + +/* + * 58. GL_SGIX_tag_sample_buffer + */ +#ifndef GL_SGIX_tag_sample_buffer +#define GL_SGIX_tag_sample_buffer 1 + +GLAPI void APIENTRY glTagSampleBufferSGIX(void); + +typedef void (APIENTRY * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); + +#endif /* GL_SGIX_tag_sample_buffer */ + + + +/* + * 59. unknown + */ + + + +/* + * 60. GL_SGIX_reference_plane + */ +#ifndef GL_SGIX_reference_plane +#define GL_SGIX_reference_plane 1 + +#define GL_REFERENCE_PLANE_SGIX 0x817D +#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E + +GLAPI void APIENTRY glReferencePlaneSGIX(const GLdouble *plane); + +typedef void (APIENTRY * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *plane); + +#endif /* GL_SGIX_reference_plane */ + + + +/* + * 61. GL_SGIX_flush_raster + */ +#ifndef GL_SGIX_flush_raster +#define GL_SGIX_flush_raster 1 + +GLAPI void APIENTRY glFlushRasterSGIX(void); + +typedef void (APIENTRY * PFNGLFLUSHRASTERSGIXPROC) (void); + +#endif /* GL_SGIX_flush_raster */ + + + +/* + * 62. GLX_SGI_cushion + */ + + + +/* + * 63. GL_SGIX_depth_texture + */ +#ifndef GL_SGIX_depth_texture +#define GL_SGIX_depth_texture 1 + +#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 +#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 +#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 + +#endif /* GL_SGIX_depth_texture */ + + + +/* + * 64. GL_SGIS_fog_function + */ +#ifndef GL_SGIS_fog_function +#define GL_SGIS_fog_function 1 + +#define GL_FOG_FUNC_SGIS 0x812A +#define GL_FOG_FUNC_POINTS_SGIS 0x812B +#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C + +#endif /* GL_SGIS_fog_function */ + + + +/* + * 65. GL_SGIX_fog_offset + */ +#ifndef GL_SGIX_fog_offset +#define GL_SGIX_fog_offset 1 + +#define GL_FOG_OFFSET_SGIX 0x8198 +#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 + +#endif /* GL_SGIX_fog_offset */ + + + +/* + * 66. GL_HP_image_transform + */ +#ifndef GL_HP_image_transform +#define GL_HP_image_transform 1 + +#define GL_IMAGE_SCALE_X_HP ? +#define GL_IMAGE_SCALE_Y_HP ? +#define GL_IMAGE_TRANSLATE_X_HP ? +#define GL_IMAGE_TRANSLATE_Y_HP ? +#define GL_IMAGE_ROTATE_ANGLE_HP ? +#define GL_IMAGE_ROTATE_ORIGIN_X_HP ? +#define GL_IMAGE_ROTATE_ORIGIN_Y_HP ? +#define GL_IMAGE_MAG_FILTER_HP ? +#define GL_IMAGE_MIN_FILTER_HP ? +#define GL_IMAGE_CUBIC_WEIGHT_HP ? +#define GL_CUBIC_HP ? +#define GL_AVERAGE_HP ? +#define GL_IMAGE_TRANSFORM_2D_HP ? +#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP ? +#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP ? + +GLAPI void APIENTRY glImageTransformParameteriHP(GLenum target, GLenum pname, const GLint param); +GLAPI void APIENTRY glImageTransformParameterfHP(GLenum target, GLenum pname, const GLfloat param); +GLAPI void APIENTRY glImageTransformParameterivHP(GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glImageTransformParameterfvHP(GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY GetImageTransformParameterivHP(GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glGetImageTransformParameterfvHP(GLenum target, GLenum pname,const GLfloat* params); + +typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, const GLint param); +typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, const GLfloat param); +typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERIVHPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRY * PFNGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname,const GLfloat* params); + +#endif /* GL_HP_image_transform */ + + + +/* + * 67. GL_HP_convolution_border_modes + */ +#ifndef GL_HP_convolution_border_modes +#define GL_HP_convolution_border_modes 1 + +#define GL_IGNORE_BORDER_HP ? +#define GL_CONSTANT_BORDER_HP ? +#define GL_REPLICATE_BORDER_HP ? +#define GL_CONVOLUTION_BORDER_COLOR_HP ? + +#endif /* GL_HP_convolution_border_modes */ + + + +/* + * 68. unknown + */ + + + +/* + * 69. GL_SGIX_texture_add_env + */ +#ifndef GL_SGIX_texture_add_env +#define GL_SGIX_texture_add_env 1 + +#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE + +#endif /* GL_SGIX_texture_add_env */ + + + +/* + * 70. unknown + * 71. unknown + * 72. unknown + * 73. unknown + */ + + + +/* + * 74. GL_EXT_color_subtable + */ +#ifndef GL_EXT_color_subtable +#define GL_EXT_color_subtable 1 + +GLAPI void APIENTRY glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glCopyColorSubTableEXT(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); + +typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); +typedef void (APIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); + +#endif /* GL_EXT_color_subtable */ + + + +/* + * 75. GLU_EXT_object_space_tess + */ + + + +/* + * 76. GL_PGI_vertex_hints + */ +#ifndef GL_PGI_vertex_hints +#define GL_PGI_vertex_hints 1 + +#define GL_VERTEX_DATA_HINT_PGI 107050 +#define GL_VERTEX_CONSISTENT_HINT_PGI 107051 +#define GL_VATERIAL_SIDE_HINT_PGI 107052 +#define GL_VAX_VERTEX_HINT_PGI 107053 +#define GL_VOLOR3_BIT_PGI 0x00010000 +#define GL_VOLOR4_BIT_PGI 0x00020000 +#define GL_VDGEFLAG_BIT_PGI 0x00040000 +#define GL_VNDEX_BIT_PGI 0x00080000 +#define GL_VAT_AMBIENT_BIT_PGI 0x00100000 +#define GL_VAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 +#define GL_VAT_DIFFUSE_BIT_PGI 0x00400000 +#define GL_VAT_EMISSION_BIT_PGI 0x00800000 +#define GL_VAT_COLOR_INDEXES_BIT_PGI 0x01000000 +#define GL_VAT_SHININESS_BIT_PGI 0x02000000 +#define GL_VAT_SPECULAR_BIT_PGI 0x04000000 +#define GL_VORMAL_BIT_PGI 0x08000000 +#define GL_VEXCOORD1_BIT_PGI 0x10000000 +#define GL_VEXCOORD2_BIT_PGI 0x20000000 +#define GL_VEXCOORD3_BIT_PGI 0x40000000 +#define GL_VEXCOORD4_BIT_PGI 0x80000000 +#define GL_VERTEX23_BIT_PGI 0x00000004 +#define GL_VERTEX4_BIT_PGI 0x00000008 + +#endif /* GL_PGI_vertex_hints */ + + + +/* + * 77. GL_PGI_misc_hints + */ +#ifndef GL_PGI_misc_hints +#define GL_PGI_misc_hints 1 + +#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 107000 +#define GL_STRICT_DEPTHFUNC_HINT_PGI 107030 +#define GL_STRICT_LIGHTING_HINT_PGI 107031 +#define GL_STRICT_SCISSOR_HINT_PGI 107032 +#define GL_FULL_STIPPLE_HINT_PGI 107033 +#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 107011 +#define GL_NATIVE_GRAPHICS_END_HINT_PGI 107012 +#define GL_CONSERVE_MEMORY_HINT_PGI 107005 +#define GL_RECLAIM_MEMORY_HINT_PGI 107006 +#define GL_ALWAYS_FAST_HINT_PGI 107020 +#define GL_ALWAYS_SOFT_HINT_PGI 107021 +#define GL_ALLOW_DRAW_OBJ_HINT_PGI 107022 +#define GL_ALLOW_DRAW_WIN_HINT_PGI 107023 +#define GL_ALLOW_DRAW_FRG_HINT_PGI 107024 +#define GL_ALLOW_DRAW_MEM_HINT_PGI 107025 +#define GL_CLIP_NEAR_HINT_PGI 107040 +#define GL_CLIP_FAR_HINT_PGI 107041 +#define GL_WIDE_LINE_HINT_PGI 107042 +#define GL_BACK_NORMALS_HINT_PGI 107043 +#define GL_NATIVE_GRAPHICS_HANDLE_PGI 107010 + +GLAPI void APIENTRY glHintPGI(GLenum target, GLint mode); + +typedef void (APIENTRY * PFNGLHINTPGIPROC) (GLenum target, GLint mode); + +#endif /* GL_PGI_misc_hints */ + + + +/* + * 78. GL_EXT_paletted_texture + */ +#ifndef GL_EXT_paletted_texture +#define GL_EXT_paletted_texture 1 + +#define GL_TABLE_TOO_LARGE_EXT 0x8031 +#define GL_COLOR_TABLE_FORMAT_EXT 0x80D8 +#define GL_COLOR_TABLE_WIDTH_EXT 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF +#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED +#define GL_COLOR_INDEX1_EXT 0x80E2 +#define GL_COLOR_INDEX2_EXT 0x80E3 +#define GL_COLOR_INDEX4_EXT 0x80E4 +#define GL_COLOR_INDEX8_EXT 0x80E5 +#define GL_COLOR_INDEX12_EXT 0x80E6 +#define GL_COLOR_INDEX16_EXT 0x80E7 + +GLAPI void APIENTRY glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +GLAPI void APIENTRY glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); +GLAPI void APIENTRY glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table); +GLAPI void APIENTRY glGetColorTableParameterfvEXT(GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params); + +typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); +typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); +typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); + +#endif /* GL_EXT_paletted_texture */ + + + +/* + * 79. GL_EXT_clip_volume_hint + */ +#ifndef GL_EXT_clip_volume_hint +#define GL_EXT_clip_volume_hint 1 + +#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F + +#endif /* GL_EXT_clip_volume_hint */ + + + +/* + * 80. GL_SGIX_list_priority + */ +#ifndef GL_SGIX_list_priority +#define GL_SGIX_list_priority 1 + +#define GL_LIST_PRIORITY_SGIX 0x8182 + +GLAPI void APIENTRY glGetListParameterfvSGIX(GLuint list, GLenum name, GLfloat *param); +GLAPI void APIENTRY glGetListParameterivSGIX(GLuint list, GLenum name, GLint *param); +GLAPI void APIENTRY glListParameterfSGIX(GLuint list, GLenum name, GLfloat param); +GLAPI void APIENTRY glListParameterfvSGIX(GLuint list, GLenum name, const GLfloat *param); +GLAPI void APIENTRY glListParameteriSGIX(GLuint list, GLenum name, GLint param); +GLAPI void APIENTRY glListParameterivSGIX(GLuint list, GLenum name, const GLint *param); + +typedef void (APIENTRY * PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum name, GLfloat *param); +typedef void (APIENTRY * PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum name, GLint *param); +typedef void (APIENTRY * PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum name, GLfloat param); +typedef void (APIENTRY * PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum name, const GLfloat *param); +typedef void (APIENTRY * PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum name, GLint param); +typedef void (APIENTRY * PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum name, const GLint *param); + +#endif /* GL_SGIX_list_priority */ + + + +/* + * 81. GL_SGIX_ir_instrument1 + */ +#ifndef GL_SGIX_ir_instrument1 +#define GL_SGIX_ir_instrument1 1 + +#define GL_IR_INSTRUMENT1_SGIX 0x817F + +#endif /* GL_SGIX_ir_instrument1 */ + + + +/* + * 82. unknown + * 83. GLX_SGIX_video_resize + */ + + + +/* + * 84. GL_SGIX_texture_lod_bias + */ +#ifndef GL_SGIX_texture_lod_bias +#define GL_SGIX_texture_lod_bias 1 + +#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E +#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F +#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 + +#endif /* GL_SGIX_texture_lod_bias */ + + + +/* + * 85. GLU_SGI_filter4_parameters + * 86. GLX_SGIX_dm_buffer + * 87. unknown + * 88. unknown + * 89. unknown + * 90. unknown + * 91. GLX_SGIX_swap_group + * 92. GLX_SGIX_swap_barrier + */ + + + +/* + * 93. GL_EXT_index_texture + */ +#ifndef GL_EXT_index_texture +#define GL_EXT_index_texture 1 + +/* No new tokens or functions */ + +#endif /* GL_EXT_index_texture */ + + + +/* + * 94. GL_EXT_index_material + */ +#ifndef GL_EXT_index_material +#define GL_EXT_index_material 1 + +#define GL_INDEX_MATERIAL_EXT ? +#define GL_INDEX_MATERIAL_PARAMETER_EXT ? +#define GL_INDEX_MATERIAL_FACE_EXT ? + +GLAPI void APIENTRY glIndexMaterialEXT(GLenum face, GLenum mode); + +typedef void (APIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); + +#endif /* GL_EXT_index_material */ + + + +/* + * 95. GL_EXT_index_func + */ +#ifndef GL_EXT_index_func +#define GL_EXT_index_func 1 + +#define GL_INDEX_TEST_EXT ? +#define GL_INDEX_TEST_FUNC_EXT ? +#define GL_INDEX_TEST_REF_EXT ? + +GLAPI void APIENTRY glIndexFuncEXT(GLenum func, GLfloat ref); + +typedef void (APIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLfloat ref); + +#endif /* GL_EXT_index_func */ + + + +/* + * 96. GL_EXT_index_array_formats + */ +#ifndef GL_EXT_index_array_formats +#define GL_EXT_index_array_formats 1 + +#define GL_IUI_V2F_EXT ? +#define GL_IUI_V3F_EXT ? +#define GL_IUI_N3F_V2F_EXT ? +#define GL_IUI_N3F_V3F_EXT ? +#define GL_T2F_IUI_V2F_EXT ? +#define GL_T2F_IUI_V3F_EXT ? +#define GL_T2F_IUI_N3F_V2F_EXT ? +#define GL_T2F_IUI_N3F_V3F_EXT ? + +#endif /* GL_EXT_index_array_formats */ + + + +/* + * 97. GL_EXT_compiled_vertex_array + */ +#ifndef GL_EXT_compiled_vertex_array +#define GL_EXT_compiled_vertex_array 1 + +#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 +#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 + +GLAPI void APIENTRY glLockArraysEXT(GLint first, GLsizei count); +GLAPI void APIENTRY glUnlockArraysEXT(void); + +typedef void (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); +typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void); + +#endif /* GL_EXT_compiled_vertex_array */ + + + +/* + * 98. GL_EXT_cull_vertex + */ +#ifndef GL_EXT_cull_vertex +#define GL_EXT_cull_vertex 1 + +#define GL_CULL_VERTEX_EXT 0x81AA +#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB +#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC + +GLAPI void APIENTRY glCullParameterdvEXT(GLenum pname, const GLdouble *params); +GLAPI void APIENTRY glCullParameterfvEXT(GLenum pname, const GLfloat *params); + +typedef void (APIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params); +typedef void (APIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params); + +#endif /* GL_EXT_cull_vertex */ + + + +/* + * 99. unknown + * 100. GLU_EXT_nurbs_tessellator + */ + + + +/* + * 101. GL_SGIX_ycrcb + */ +#ifndef GL_SGIX_ycrcb +#define GL_SGIX_ycrcb 1 + +#define GL_YCRCB_422_SGIX 0x81BB +#define GL_YCRCB_444_SGIX 0x81BC + +#endif /* GL_SGIX_ycrcb */ + + + +/* + * 102. GL_SGIX_fragment_lighting + */ +#ifndef GL_SGIX_fragment_lighting +#define GL_SGIX_fragment_lighting 1 + +GLAPI void APIENTRY glFragmentColorMaterialSGIX(GLenum face, GLenum mode); +GLAPI void APIENTRY glFragmentLightfSGIX(GLenum light, GLenum pname, GLfloat param); +GLAPI void APIENTRY glFragmentLightfvSGIX(GLenum light, GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glFragmentLightiSGIX(GLenum light, GLenum pname, GLint param); +GLAPI void APIENTRY glFragmentLightivSGIX(GLenum light, GLenum pname, const GLint * params); +GLAPI void APIENTRY glFragmentLightModelfSGIX(GLenum pname, GLfloat param); +GLAPI void APIENTRY glFragmentLightModelfvSGIX(GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glFragmentLightModeliSGIX(GLenum pname, GLint param); +GLAPI void APIENTRY glFragmentLightModelivSGIX(GLenum pname, const GLint * params); +GLAPI void APIENTRY glFragmentMaterialfSGIX(GLenum face, GLenum pname, GLfloat param); +GLAPI void APIENTRY glFragmentMaterialfvSGIX(GLenum face, GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glFragmentMaterialiSGIX(GLenum face, GLenum pname, GLint param); +GLAPI void APIENTRY glFragmentMaterialivSGIX(GLenum face, GLenum pname, const GLint * params); +GLAPI void APIENTRY glGetFragmentLightfvSGIX(GLenum light, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetFragmentLightivSGIX(GLenum light, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetFragmentMaterialfvSGIX(GLenum face, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetFragmentMaterialivSGIX(GLenum face, GLenum pname, GLint * params); +GLAPI void APIENTRY glLightEnviSGIX(GLenum pname, GLint param); + +typedef void (APIENTRY * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat * params); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint * params); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat * params); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint * params); +typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat * params); +typedef void (APIENTRY * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint * params); +typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat * params); +typedef void (APIENTRY * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint * params); +typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat * params); +typedef void (APIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint * params); +typedef void (APIENTRY * PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); + +#endif /* GL_SGIX_fragment_lighting */ + + + +/* + * 103. unknown + * 104. unknown + * 105. unknown + * 106. unknown + * 107. unknown + * 108. unknown + * 109. unknown + */ + + + +/* + * 110. GL_IBM_rasterpos_clip + */ +#ifndef GL_IBM_rasterpos_clip +#define GL_IBM_rasterpos_clip 1 + +#endif /* GL_IBM_rasterpos_clip */ + + + +/* + * 111. GL_HP_texture_lighting + */ +#ifndef GL_HP_texture_lighting +#define GL_HP_texture_lighting 1 + +#define GL_TEXTURE_LIGHTING_MODE_HP ? +#define GL_TEXTURE_POST_SPECULAR_HP ? +#define GL_TEXTURE_PRE_SPECULAR_HP ? + +#endif /* GL_HP_texture_lighting */ + + + +/* + * 112. GL_EXT_draw_range_elements + */ +#ifndef GL_EXT_draw_range_elements +#define GL_EXT_draw_range_elements 1 + +#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 +#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 + +GLAPI void APIENTRY glDrawRangeElementsEXT(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); + +typedef void (APIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); + +#endif /* GL_EXT_draw_range_elements */ + + + +/* + * 113. GL_WIN_phong_shading + */ +#ifndef GL_WIN_phong_shading +#define GL_WIN_phong_shading 1 + +#define GL_PHONG_WIN 0x80EA +#define GL_PHONG_HINT_WIN 0x80EB + +#endif /* GL_WIN_phong_shading */ + + + +/* + * 114. GL_WIN_specular_fog + */ +#ifndef GL_WIN_specular_fog +#define GL_WIN_specular_fog 1 + +#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC +#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC + +#endif /* GL_WIN_specular_fog */ + + + +/* + * 115. unknown + * 116. unknown + */ + + + +/* + * 117. GL_EXT_light_texture + */ +#ifndef GL_EXT_light_texture +#define GL_EXT_light_texture 1 + +#define GL_FRAGMENT_MATERIAL_EXT 0x8349 +#define GL_FRAGMENT_NORMAL_EXT 0x834A + +#define GL_FRAGMENT_DEPTH_EXT_834B 0x834B /* DUPLICATE! */ +#define GL_FRAGMENT_COLOR_EXT 0x834C +#define GL_ATTENUATION_EXT 0x834D +#define GL_SHADOW_ATTENUATION_EXT 0x834E +#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F +#define GL_TEXTURE_LIGHT_EXT 0x8350 +#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 +#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 + +GLAPI void APIENTRY glApplyTextureEXT(GLenum mode); +GLAPI void APIENTRY glTextureLightEXT(GLenum pname); +GLAPI void APIENTRY glTextureMaterialEXT(GLenum face, GLenum mode); + +typedef void (APIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); +typedef void (APIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); +typedef void (APIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); + +#endif /* GL_EXT_light_texture */ + + + +/* + * 118. unknown + */ + + + +/* + * 119. GL_SGIX_blend_alpha_minmax + */ +#ifndef GL_SGIX_blend_alpha_minmax +#define GL_SGIX_blend_alpha_minmax 1 + +#endif /* GL_SGIX_blend_alpha_minmax */ + + + +/* + * 120. GL_EXT_scene_marker + */ +#ifndef GL_EXT_scene_marker +#define GL_EXT_scene_marker 1 + +#endif /* GL_EXT_scene_marker */ + + + +/* + * 121. unknown + * 122. unknown + * 123. unknown + * 124. unknown + * 125. unknown + * 126. unknown + * 127. unknown + * 128. unknown + */ + + + +/* + * 129. GL_EXT_bgra + */ +#ifndef GL_EXT_bgra +#define GL_EXT_bgra 1 + +#define GL_BGR_EXT 0x80E0 +#define GL_BGRA_EXT 0x80E1 + +#endif /* GL_EXT_bgra */ + + + +/* + * 130. unknown + * 131. unknown + * 132. unknown + * 133. unknown + * 134. unknown + */ + + + +/* + * 135. GL_INTEL_texture_scissor + */ +#ifndef GL_INTEL_texture_scissor +#define GL_INTEL_texture_scissor 1 + +#define GL_TEXTURE_SCISSOR_INTEL ? +#define GL_TEXTURE_SCISSOR_S_INTEL ? +#define GL_TEXTURE_SCISSOR_T_INTEL ? +#define GL_TEXTURE_SCISSOR_R_INTEL ? + +GLAPI void APIENTRY glTexScissorINTEL(GLenum target, GLclampf tlow, GLclampf thigh); +GLAPI void APIENTRY glTexScissorFuncINTEL(GLenum target, GLenum lfunc, GLenum hfunc); + +typedef void (APIENTRY * PFNGLTEXSCISSORINTELPROC) (GLenum target, GLclampf tlow, GLclampf thigh); +typedef void (APIENTRY * PFNGLTEXSCISSORFUNCINTELPROC) (GLenum target, GLenum lfunc, GLenum hfunc); + +#endif /* GL_INTEL_texture_scissor */ + + + +/* + * 136. GL_INTEL_parallel_arrays + */ +#ifndef GL_INTEL_parallel_arrays +#define GL_INTEL_parallel_arrays 1 + +#define GL_PARALLEL_ARRAYS_INTEL ? +#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL ? +#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL ? +#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL ? +#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL ? + +GLAPI void APIENTRY glVertexPointervINTEL(GLint size, GLenum type, const void ** pointer); +GLAPI void APIENTRY glNormalPointervINTEL(GLenum type, const void** pointer); +GLAPI void APIENTRY glColorPointervINTEL(GLint size, GLenum type, const void** pointer); +GLAPI void APIENTRY glTexCoordPointervINTEL(GLint size, GLenum type, const void** pointer); + +typedef void (APIENTRY * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void ** pointer); +typedef void (APIENTRY * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void** pointer); +typedef void (APIENTRY * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer); +typedef void (APIENTRY * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer); + +#endif /* GL_INTEL_parallel_arrays */ + + + +/* + * 137. GL_HP_occlusion_test + */ +#ifndef GL_HP_occlusion_test +#define GL_HP_occlusion_test 1 + +#define GL_OCCLUSION_TEST_HP 0x8165 +#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 + +#endif /* GL_HP_occlusion_test */ + + + +/* + * 138. GL_EXT_pixel_transform + */ +#ifndef GL_EXT_pixel_transform +#define GL_EXT_pixel_transform 1 + +#define GL_PIXEL_MAG_FILTER_EXT 0x8331 +#define GL_PIXEL_MIN_FILTER_EXT 0x8332 +#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 +#define GL_CUBIC_EXT 0x8334 +#define GL_AVERAGE_EXT 0x8335 +#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 +#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 +#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 +#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 + +GLAPI void APIENTRY glPixelTransformParameteriEXT(GLenum target, GLenum pname, const GLint param); +GLAPI void APIENTRY glPixelTransformParameterfEXT(GLenum target, GLenum pname, const GLfloat param); +GLAPI void APIENTRY glPixelTransformParameterivEXT(GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glPixelTransformParameterfvEXT(GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glGetPixelTransformParameterivEXT(GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glGetPixelTransformParameterfvEXT(GLenum target, GLenum pname, const GLfloat *params); + +#endif /* #define GL_EXT_pixel_transform */ + + + +/* + * 139. GL_EXT_pixel_transform_color_table + */ +#ifndef GL_EXT_pixel_transform_color_table +#define GL_EXT_pixel_transform_color_table 1 + +#define GL_PIXEL_TRANSFORM_COLOR_TABLE_EXT ? +#define GL_PROXY_PIXEL_TRANSFORM_COLOR_TABLE_EXT ? + +#endif /* GL_EXT_pixel_transform_color_table */ + + + +/* + * 140. unknown + */ + + + +/* + * 141. GL_EXT_shared_texture_palette (req's GL_EXT_paletted_texture) + */ +#ifndef GL_EXT_shared_texture_palette +#define GL_EXT_shared_texture_palette 1 + +#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB + +#endif /* GL_EXT_shared_texture_palette */ + + + +/* + * 142. unknown + * 143. unknown + */ + + + +/* + * 144. GL_EXT_separate_specular_color + */ +#ifndef GL_EXT_separate_specular_color +#define GL_EXT_separate_specular_color 1 + +#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 +#define GL_SINGLE_COLOR_EXT 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA + +#endif /* GL_EXT_separate_specular_color */ + + + +/* + * 145. GL_EXT_secondary_color + */ +#ifndef GL_EXT_secondary_color +#define GL_EXT_secondary_color 1 + +#define GL_COLOR_SUM_EXT 0x8458 +#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 +#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A +#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B +#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C +#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D +#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E + +GLAPI void APIENTRY glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyte blue); +GLAPI void APIENTRY glSecondaryColor3dEXT(GLdouble red, GLdouble green, GLdouble blue); +GLAPI void APIENTRY glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLfloat blue); +GLAPI void APIENTRY glSecondaryColor3iEXT(GLint red, GLint green, GLint blue); +GLAPI void APIENTRY glSecondaryColor3sEXT(GLshort red, GLshort green, GLshort blue); +GLAPI void APIENTRY glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GLubyte blue); +GLAPI void APIENTRY glSecondaryColor3uiEXT(GLuint red, GLuint green, GLuint blue); +GLAPI void APIENTRY glSecondaryColor3usEXT(GLushort red, GLushort green, GLushort blue); +GLAPI void APIENTRY glSecondaryColor4bEXT(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); +GLAPI void APIENTRY glSecondaryColor4dEXT(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); +GLAPI void APIENTRY glSecondaryColor4fEXT(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GLAPI void APIENTRY glSecondaryColor4iEXT(GLint red, GLint green, GLint blue, GLint alpha); +GLAPI void APIENTRY glSecondaryColor4sEXT(GLshort red, GLshort green, GLshort blue, GLshort alpha); +GLAPI void APIENTRY glSecondaryColor4ubEXT(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +GLAPI void APIENTRY glSecondaryColor4uiEXT(GLuint red, GLuint green, GLuint blue, GLuint alpha); +GLAPI void APIENTRY glSecondaryColor4usEXT(GLushort red, GLushort green, GLushort blue, GLushort alpha); +GLAPI void APIENTRY glSecondaryColor3bvEXT(const GLbyte *v); +GLAPI void APIENTRY glSecondaryColor3dvEXT(const GLdouble *v); +GLAPI void APIENTRY glSecondaryColor3fvEXT(const GLfloat *v); +GLAPI void APIENTRY glSecondaryColor3ivEXT(const GLint *v); +GLAPI void APIENTRY glSecondaryColor3svEXT(const GLshort *v); +GLAPI void APIENTRY glSecondaryColor3ubvEXT(const GLubyte *v); +GLAPI void APIENTRY glSecondaryColor3uivEXT(const GLuint *v); +GLAPI void APIENTRY glSecondaryColor3usvEXT(const GLushort *v); +GLAPI void APIENTRY glSecondaryColor4bvEXT(const GLbyte *v); +GLAPI void APIENTRY glSecondaryColor4dvEXT(const GLdouble *v); +GLAPI void APIENTRY glSecondaryColor4fvEXT(const GLfloat *v); +GLAPI void APIENTRY glSecondaryColor4ivEXT(const GLint *v); +GLAPI void APIENTRY glSecondaryColor4svEXT(const GLshort *v); +GLAPI void APIENTRY glSecondaryColor4ubvEXT(const GLubyte *v); +GLAPI void APIENTRY glSecondaryColor4uivEXT(const GLuint *v); +GLAPI void APIENTRY glSecondaryColor4usvEXT(const GLushort *v); +GLAPI void APIENTRY glSecondaryColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLvoid *pointer); + +#endif /* GL_EXT_secondary_color */ + + + +/* + * 146. GL_EXT_texture_env + */ +#ifndef GL_EXT_texture_env +#define GL_EXT_texture_env 1 + +#define GL_TEXTURE_ENV0_EXT 0x? +#define GL_TEXTURE_ENV1_EXT (GL_TEXTURE_ENV0_EXT+1) +#define GL_TEXTURE_ENV2_EXT (GL_TEXTURE_ENV0_EXT+2) +#define GL_TEXTURE_ENV3_EXT (GL_TEXTURE_ENV0_EXT+3) +#define GL_TEXTURE_ENV4_EXT (GL_TEXTURE_ENV0_EXT+4) +#define GL_TEXTURE_ENV5_EXT (GL_TEXTURE_ENV0_EXT+5) +#define GL_TEXTURE_ENV6_EXT (GL_TEXTURE_ENV0_EXT+6) +#define GL_TEXTURE_ENV7_EXT (GL_TEXTURE_ENV0_EXT+7) +#define GL_TEXTURE_ENV8_EXT (GL_TEXTURE_ENV0_EXT+8) +#define GL_TEXTURE_ENV9_EXT (GL_TEXTURE_ENV0_EXT+9) +#define GL_TEXTURE_ENV10_EXT (GL_TEXTURE_ENV0_EXT+10) +#define GL_TEXTURE_ENV11_EXT (GL_TEXTURE_ENV0_EXT+11) +#define GL_TEXTURE_ENV12_EXT (GL_TEXTURE_ENV0_EXT+12) +#define GL_TEXTURE_ENV13_EXT (GL_TEXTURE_ENV0_EXT+13) +#define GL_TEXTURE_ENV14_EXT (GL_TEXTURE_ENV0_EXT+14) +#define GL_TEXTURE_ENV15_EXT (GL_TEXTURE_ENV0_EXT+15) +#define GL_TEXTURE_ENV_MODE_ALPHA_EXT 0x? +#define GL_ENV_COPY_EXT 0x? +#define GL_ENV_REPLACE_EXT 0x? +#define GL_ENV_MODULATE_EXT 0x? +#define GL_ENV_ADD_EXT 0x? +#define GL_ENV_SUBTRACT_EXT 0x? +#define GL_ENV_REVERSE_SUBTRACT_EXT 0x? +#define GL_ENV_BLEND_EXT 0x? +#define GL_ENV_REVERSE_BLEND_EXT 0x? +#define GL_TEXTURE_ENV_SHIFT_EXT 0x? + +#endif /* GL_EXT_texture_env */ + + + +/* + * 147. GL_EXT_texture_perturb_normal + */ +#ifndef GL_EXT_texture_perturb_normal +#define GL_EXT_texture_perturb_normal 1 + +#define GL_PERTURB_EXT 0x85AE +#define GL_TEXTURE_NORMAL_EXT 0x85AF + +GLAPI void APIENTRY glTextureNormalEXT(GLenum mode); + +typedef void (APIENTRY * PFNGLTEXTURENORMALEXT) (GLenum mode); + +#endif /* GL_EXT_texture_perturb_normal */ + + + +/* + * 148. GL_EXT_multi_draw_arrays + */ +#ifndef GL_EXT_multi_draw_arrays +#define GL_EXT_multi_draw_arrays 1 + +GLAPI void APIENTRY glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); + +typedef void (APIENTRY * PFNGLMULTIDRAWARRAYSEXT) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); + +#endif /* GL_EXT_multi_draw_arrays */ + + + +/* + * 149. GL_EXT_fog_coord + */ +#ifndef GL_EXT_fog_coord +#define GL_EXT_fog_coord 1 + +#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 +#define GL_FOG_COORDINATE_EXT 0x8451 +#define GL_FRAGMENT_DEPTH_EXT 0x8452 /* DUPLICATE! */ +#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 +#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 +#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 +#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 +#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 + +GLAPI void APIENTRY glFogCoordfEXT(GLfloat coord); +GLAPI void APIENTRY glFogCoordfvEXT(const GLfloat * coord); +GLAPI void APIENTRY glFogCoorddEXT(GLdouble coord); +GLAPI void APIENTRY glFogCoorddvEXT(const GLdouble * coord); +GLAPI void APIENTRY glFogCoordPointerEXT(GLenum type, GLsizei stride, const GLvoid * pointer); + +typedef void (APIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord); +typedef void (APIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat * coord); +typedef void (APIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord); +typedef void (APIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble * coord); +typedef void (APIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid * pointer); + +#endif + + + +/* + * 150. unknown + * 151. unknown + * 152. unknown + * 153. unknown + * 154. unknown + */ + + + +/* + * 155. GL_REND_screen_coordinates + */ +#ifndef GL_REND_screen_coordinates +#define GL_REND_screen_coordinates 1 + +#define GL_SCREEN_COORDINATES_REND 0x8490 +#define GL_INVERTED_SCREEN_W_REND 0x8491 + +#endif /* GL_REND_screen_coordinates */ + + + +/* + * 156. GL_EXT_coordinate_frame + */ +#ifndef GL_EXT_coordinate_frame +#define GL_EXT_coordinate_frame 1 + +#define GL_TANGENT_ARRAY_EXT 0x8439 +#define GL_BINORMAL_ARRAY_EXT 0x843A +#define GL_CURRENT_TANGENT_EXT 0x843B +#define GL_CURRENT_BINORMAL_EXT 0x843C +#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E +#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F +#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 +#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 +#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 +#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 +#define GL_MAP1_TANGENT_EXT 0x8444 +#define GL_MAP2_TANGENT_EXT 0x8445 +#define GL_MAP1_BINORMAL_EXT 0x8446 +#define GL_MAP2_BINORMAL_EXT 0x8447 + +GLAPI void APIENTRY glTangent3bEXT(GLbyte x, GLbyte y, GLbyte z); +GLAPI void APIENTRY glTangent3dEXT(GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glTangent3fEXT(GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTangent3iEXT(GLint x, GLint y, GLint z); +GLAPI void APIENTRY glTangent3sEXT(GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glTangent3bvEXT(const GLbyte *v); +GLAPI void APIENTRY glTangent3dvEXT(const GLdouble *v); +GLAPI void APIENTRY glTangent3fvEXT(const GLfloat *v); +GLAPI void APIENTRY glTangent3ivEXT(const GLint *v); +GLAPI void APIENTRY glTangent3svEXT(const GLshort *v); +GLAPI void APIENTRY glBinormal3bEXT(GLbyte x, GLbyte y, GLbyte z); +GLAPI void APIENTRY glBinormal3dEXT(GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glBinormal3fEXT(GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glBinormal3iEXT(GLint x, GLint y, GLint z); +GLAPI void APIENTRY glBinormal3sEXT(GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glBinormal3bvEXT(const GLbyte *v); +GLAPI void APIENTRY glBinormal3dvEXT(const GLdouble *v); +GLAPI void APIENTRY glBinormal3fvEXT(const GLfloat *v); +GLAPI void APIENTRY glBinormal3ivEXT(const GLint *v); +GLAPI void APIENTRY glBinormal3svEXT(const GLshort *v); +GLAPI void APIENTRY glTangentPointerEXT(GLenum type, GLsizei stride, GLvoid *pointer); +GLAPI void APIENTRY glBinormalPointerEXT(GLenum type, GLsizei stride, GLvoid *pointer); + +typedef void (APIENTRY * PFNGLTANGENT3BEXT) (GLbyte x, GLbyte y, GLbyte z); +typedef void (APIENTRY * PFNGLTANGENT3DEXT) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLTANGENT3FEXT) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLTANGENT3IEXT) (GLint x, GLint y, GLint z); +typedef void (APIENTRY * PFNGLTANGENT3SEXT) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLTANGENT3BVEXT) (const GLbyte *v); +typedef void (APIENTRY * PFNGLTANGENT3DVEXT) (const GLdouble *v); +typedef void (APIENTRY * PFNGLTANGENT3FVEXT) (const GLfloat *v); +typedef void (APIENTRY * PFNGLTANGENT3IVEXT) (const GLint *v); +typedef void (APIENTRY * PFNGLTANGENT3SVEXT) (const GLshort *v); +typedef void (APIENTRY * PFNGLBINORMAL3BEXT) (GLbyte x, GLbyte y, GLbyte z); +typedef void (APIENTRY * PFNGLBINORMAL3DEXT) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLBINORMAL3FEXT) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLBINORMAL3IEXT) (GLint x, GLint y, GLint z); +typedef void (APIENTRY * PFNGLBINORMAL3SEXT) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLBINORMAL3BVEXT) (const GLbyte *v); +typedef void (APIENTRY * PFNGLBINORMAL3DVEXT) (const GLdouble *v); +typedef void (APIENTRY * PFNGLBINORMAL3FVEXT) (const GLfloat *v); +typedef void (APIENTRY * PFNGLBINORMAL3IVEXT) (const GLint *v); +typedef void (APIENTRY * PFNGLBINORMAL3SVEXT) (const GLshort *v); +typedef void (APIENTRY * PFNGLTANGENTPOINTEREXT) (GLenum type, GLsizei stride, GLvoid *pointer); +typedef void (APIENTRY * PFNGLBINORMALPOINTEREXT) (GLenum type, GLsizei stride, GLvoid *pointer); + +#endif /* GL_EXT_coordinate_frame */ + + + +/* + * 157. unknown + */ + + + +/* + * 158. GL_EXT_texture_env_combine + */ +#ifndef GL_EXT_texture_env_combine +#define GL_EXT_texture_env_combine 1 + +#define GL_COMBINE_EXT 0x8570 +#define GL_COMBINE_RGB_EXT 0x8571 +#define GL_COMBINE_ALPHA_EXT 0x8572 +#define GL_RGB_SCALE_EXT 0x8573 +#define GL_ADD_SIGNED_EXT 0x8574 +#define GL_INTERPOLATE_EXT 0x8575 +#define GL_CONSTANT_EXT 0x8576 +#define GL_PRIMARY_COLOR_EXT 0x8577 +#define GL_PREVIOUS_EXT 0x8578 +#define GL_SOURCE0_RGB_EXT 0x8580 +#define GL_SOURCE1_RGB_EXT 0x8581 +#define GL_SOURCE2_RGB_EXT 0x8582 +#define GL_SOURCE0_ALPHA_EXT 0x8588 +#define GL_SOURCE1_ALPHA_EXT 0x8589 +#define GL_SOURCE2_ALPHA_EXT 0x858A +#define GL_OPERAND0_RGB_EXT 0x8590 +#define GL_OPERAND1_RGB_EXT 0x8591 +#define GL_OPERAND2_RGB_EXT 0x8592 +#define GL_OPERAND0_ALPHA_EXT 0x8598 +#define GL_OPERAND1_ALPHA_EXT 0x8599 +#define GL_OPERAND2_ALPHA_EXT 0x859A + +#endif /* GL_EXT_texture_env_combine */ + + + +/* + * 159. GL_APPLE_specular_vector + */ +#ifndef GL_APPLE_specular_vector +#define GL_APPLE_specular_vector 1 + +#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 + +#endif /* GL_APPLE_specular_vector */ + + + +/* + * 160. GL_APPLE_transform_hint + */ +#ifndef GL_APPLE_transform_hint +#define GL_APPLE_transform_hint 1 + +#define GL_TRANSFORM_HINT_APPLE 0x85B1 + +#endif /* GL_APPLE_transform_hint */ + + + +/* + * 161. unknown + * 162. unknown + */ + + + +/* + * 163. GL_SUNX_constant_data + */ +#ifndef GL_SUNX_constant_data +#define GL_SUNX_constant_data 1 + +#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 +#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 + +GLAPI void APIENTRY glFinishTextureSUNX(void); + +typedef void (APIENTRY * PFNGLFINISHTEXTURESUNX) (void); + +#endif /* GL_SUNX_constant_data */ + + + +/* + * 164. GL_SUN_global_alpha + */ +#ifndef GL_SUN_global_alpha +#define GL_SUN_global_alpha 1 + +#define GL_GLOBAL_ALPHA_SUN 0x81D9 +#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA + +GLAPI void APIENTRY glGlobalAlphaFactorbSUN(GLbyte factor); +GLAPI void APIENTRY glGlobalAlphaFactorsSUN(GLshort factor); +GLAPI void APIENTRY glGlobalAlphaFactoriSUN(GLint factor); +GLAPI void APIENTRY glGlobalAlphaFactorfSUN(GLfloat factor); +GLAPI void APIENTRY glGlobalAlphaFactordSUN(GLdouble factor); +GLAPI void APIENTRY glGlobalAlphaFactorubSUN(GLubyte factor); +GLAPI void APIENTRY glGlobalAlphaFactorusSUN(GLushort factor); +GLAPI void APIENTRY glGlobalAlphaFactoruiSUN(GLuint factor); + +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORBSUN) (GLbyte factor); +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORSSUN) (GLshort factor); +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORISUN) (GLint factor); +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORFSUN) (GLfloat factor); +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORDSUN) (GLdouble factor); +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUBSUN) (GLubyte factor); +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUSSUN) (GLushort factor); +typedef void (APIENTRY * PFNGLGLOBALALPHAFACTORUISUN) (GLuint factor); + +#endif /* GL_SUN_global_alpha */ + + + +/* + * 165. GL_SUN_triangle_list + */ +#ifndef GL_SUN_triangle_list +#define GL_SUN_triangle_list 1 + +#define GL_TRIANGLE_LIST_SUN 0x81D7 +#define GL_REPLACEMENT_CODE_SUN 0x81D8 +#define GL_RESTART_SUN 0x01 +#define GL_REPLACE_MIDDLE_SUN 0x02 +#define GL_REPLACE_OLDEST_SUN 0x03 +#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 +#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 +#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 +#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 +#define GL_R1UI_V3F_SUN 0x85C4 +#define GL_R1UI_C4UB_V3F_SUN 0x85C5 +#define GL_R1UI_C3F_V3F_SUN 0x85C6 +#define GL_R1UI_N3F_V3F_SUN 0x85C7 +#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 +#define GL_R1UI_T2F_V3F_SUN 0x85C9 +#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA +#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB + +GLAPI void APIENTRY glReplacementCodeuiSUN(GLuint code); +GLAPI void APIENTRY glReplacementCodeusSUN(GLushort code); +GLAPI void APIENTRY glReplacementCodeubSUN(GLubyte code); +GLAPI void APIENTRY glReplacementCodeuivSUN(const GLuint *code); +GLAPI void APIENTRY glReplacementCodeusvSUN(const GLushort *code); +GLAPI void APIENTRY glReplacementCodeubvSUN(const GLubyte *code); +GLAPI void APIENTRY glReplacementCodePointerSUN(GLenum type, GLsizei stride, const GLvoid *pointer); + +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUISUN) (GLuint code); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSSUN) (GLushort code); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBSUN) (GLubyte code); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVSUN) (const GLuint *code); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUSVSUN) (const GLushort *code); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUBVSUN) (const GLubyte *code); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEPOINTERSUN) (GLenum type, GLsizei stride, const GLvoid *pointer); + +#endif /* GL_SUN_triangle_list */ + + + +/* + * 166. GL_SUN_vertex + */ +#ifndef GL_SUN_vertex +#define GL_SUN_vertex 1 + +GLAPI void APIENTRY glColor4ubVertex2fSUN(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); +GLAPI void APIENTRY glColor4ubVertex2fvSUN(const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glColor4ubVertex3fSUN(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glColor4ubVertex3fvSUN(const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glColor3fVertex3fSUN(GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glColor3fVertex3fvSUN(const GLfloat *c, const GLfloat *v); +GLAPI void APIENTRY glNormal3fVertex3fSUN(GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glNormal3fVertex3fvSUN(const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN(GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN(const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fVertex3fSUN(GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fVertex3fvSUN(const GLfloat *tc, const GLfloat *v); +GLAPI void APIENTRY glTexCoord4fVertex4fSUN(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glTexCoord4fVertex4fvSUN(const GLfloat *tc, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN(GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN(const GLfloat *tc, const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN(const GLfloat *tc, const GLfloat *c, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN(const GLfloat *tc, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN(const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN(const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN(GLuint rc, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN(const GLuint *rc, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN(GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN(const GLuint *rc, const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN(const GLuint *rc, const GLfloat *c, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN(GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN(const GLuint *rc, const GLfloat *tc, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); + +typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); +typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX2FVSUN) (const GLubyte *c, const GLfloat *v); +typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLCOLOR4UBVERTEX3FVSUN) (const GLubyte *c, const GLfloat *v); +typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLCOLOR3FVERTEX3FVSUN) (const GLfloat *c, const GLfloat *v); +typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FSUN) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLNORMAL3FVERTEX3FVSUN) (const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLTEXCOORD2FVERTEX3FVSUN) (const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLTEXCOORD4FVERTEX4FVSUN) (const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUN) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); +typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUN) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); +typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FSUN) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FVSUN) (const GLuint *rc, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN) (const GLuint *rc, const GLubyte *c, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN) (const GLuint *rc, const GLfloat *c, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN) (const GLuint *rc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); + +#endif /* GL_SUN_vertex */ + + + +/* + * 167. WGL_EXT_display_color_table + * 168. WGL_EXT_extensions_string + * 169. WGL_EXT_make_current_read + * 170. WGL_EXT_pixel_format + * 171. WGL_EXT_pbuffer + * 172. WGL_EXT_swap_control + */ + + + +/* + * 173. GL_EXT_blend_func_separate + */ +#ifndef GL_EXT_blend_func_separate +#define GL_EXT_blend_func_separate 1 + +#define GL_BLEND_DST_RGB_EXT 0x80C8 +#define GL_BLEND_SRC_RGB_EXT 0x80C9 +#define GL_BLEND_DST_ALPHA_EXT 0x80CA +#define GL_BLEND_SRC_ALPHA_EXT 0x80CB + +GLAPI void APIENTRY glBlendFuncSeparateEXT(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); + +typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); + +#endif /* GL_EXT_blend_func_separate */ + + + +/* + * 173. GL_INGR_blend_func_separate + */ +#ifndef GL_INGR_blend_func_separate +#define GL_INGR_blend_func_separate 1 + +#define GL_BLEND_DST_RGB_INGR 0x80C8 +#define GL_BLEND_SRC_RGB_INGR 0x80C9 +#define GL_BLEND_DST_ALPHA_INGR 0x80CA +#define GL_BLEND_SRC_ALPHA_INGR 0x80CB + +GLAPI void APIENTRY glBlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); + +typedef void (APIENTRY * PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); + +#endif /* GL_INGR_blend_func_separate */ + + + +/* + * 174. GL_INGR_color_clamp + */ +#ifndef GL_INGR_color_clamp +#define GL_INGR_color_clamp 1 + +#define GL_RED_MIN_CLAMP_INGR 0x8560 +#define GL_GREEN_MIN_CLAMP_INGR 0x8561 +#define GL_BLUE_MIN_CLAMP_INGR 0x8562 +#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 +#define GL_RED_MAX_CLAMP_INGR 0x8564 +#define GL_GREEN_MAX_CLAMP_INGR 0x8565 +#define GL_BLUE_MAX_CLAMP_INGR 0x8566 +#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 +#define GL_RED_MIN_CLAMP_INGR 0x8560 +#define GL_GREEN_MIN_CLAMP_INGR 0x8561 +#define GL_BLUE_MIN_CLAMP_INGR 0x8562 +#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 +#define GL_RED_MAX_CLAMP_INGR 0x8564 +#define GL_GREEN_MAX_CLAMP_INGR 0x8565 +#define GL_BLUE_MAX_CLAMP_INGR 0x8566 +#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 + +#endif /* GL_INGR_color_clamp */ + + + +/* + * 175. GL_INGR_interlace_read + */ +#ifndef GL_INGR_interlace_read +#define GL_INGR_interlace_read 1 + +#define GL_INTERLACE_READ_INGR 0x8568 + +#endif /* GL_INGR_interlace_read */ + + + +/* + * 176. GL_EXT_stencil_wrap + */ +#ifndef GL_EXT_stencil_wrap +#define GL_EXT_stencil_wrap 1 + +#define GL_INCR_WRAP_EXT 0x8507 +#define GL_DECR_WRAP_EXT 0x8508 + +#endif /* GL_EXT_stencil_wrap */ + + + +/* + * 177. WGL_EXT_depth_float + */ + + + +/* + * 178. GL_EXT_422_pixels + */ +#ifndef GL_EXT_422_pixels +#define GL_EXT_422_pixels 1 + +#define GL_422_EXT 0x80CC +#define GL_422_REV_EXT 0x80CD +#define GL_422_AVERAGE_EXT 0x80CE +#define GL_422_REV_AVERAGE_EXT 0x80CF + +#endif /* GL_EXT_422_pixels */ + + + +/* + * 179. GL_NV_texgen_reflection + */ +#ifndef GL_NV_texgen_reflection +#define GL_NV_texgen_reflection 1 + +#define GL_NORMAL_MAP_NV 0x8511 +#define GL_REFLECTION_MAP_NV 0x8512 + +#endif /* GL_NV_texgen_reflection */ + + + +/* + * 180. unknown + * 181. unknown + */ + + + +/* + * 182. GL_SUN_convolution_border_modes + */ +#ifndef GL_SUN_convolution_border_modes +#define GL_SUN_convolution_border_modes 1 + +#define GL_WRAP_BORDER_SUN 0x81D4 + +#endif /* GL_SUN_convolution_border_modes */ + + + +/* + * 183. GLX_SUN_transparent_index + * 184. unknown + */ + + + +/* + * 185. GL_EXT_texture_env_add + */ +#ifndef GL_EXT_texture_env_add +#define GL_EXT_texture_env_add 1 + +/* No new tokens or functions */ + +#endif /* GL_EXT_texture_env_add */ + + + +/* + * 186. GL_EXT_texture_lod_bias + */ +#ifndef GL_EXT_texture_lod_bias +#define GL_EXT_texture_lod_bias 1 + +#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 +#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 + +#endif /* GL_EXT_texture_lod_bias */ + + + +/* + * 187. GL_EXT_texture_filter_anisotropic + */ +#ifndef GL_EXT_texture_filter_anisotropic +#define GL_EXT_texture_filter_anisotropic 1 + +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF + +#endif /* GL_EXT_texture_filter_anisotropic */ + + + +/* + * 188. GL_EXT_vertex_weighting + */ +#ifndef GL_EXT_vertex_weighting +#define GL_EXT_vertex_weighting 1 + +#define GL_VERTEX_WEIGHTING_EXT 0x8509 +#define GL_MODELVIEW0_EXT 0x1700 +#define GL_MODELVIEW1_EXT 0x850A +#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B +#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C +#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D +#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E +#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F +#define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 +#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 +#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 + +GLAPI void APIENTRY glVertexWeightfEXT(GLfloat weight); +GLAPI void APIENTRY glVertexWeightfvEXT(const GLfloat *weight); +GLAPI void APIENTRY glVertexWeightPointerEXT(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); + +typedef void (APIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); +typedef void (APIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); +typedef void (APIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); + +#endif /* GL_EXT_vertex_weighting */ + + + +/* + * 189. GL_NV_light_max_exponent + */ +#ifndef GL_NV_light_max_exponent +#define GL_NV_light_max_exponent 1 + +#define GL_MAX_SHININESS_NV 0x8507 +#define GL_MAX_SPOT_EXPONENT_NV 0x8508 + +#endif /* GL_NV_light_max_exponent */ + + + +/* + * 190. GL_NV_vertex_array_range + */ +#ifndef GL_NV_vertex_array_range +#define GL_NV_vertex_array_range 1 + +#define GL_VERTEX_ARRAY_RANGE_NV 0x851D +#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E +#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F +#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 +#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 + +GLAPI void APIENTRY glFlushVertexArrayRangeNV(void); +GLAPI void APIENTRY glVertexArrayRangeNV(GLsizei size, const GLvoid * pointer); + +typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); +typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENV) (GLsizei size, const GLvoid * pointer); + +#endif /* GL_NV_vertex_array_range */ + + + +/* + * 191. GL_NV_register_combiners + */ +#ifndef GL_NV_register_combiners +#define GL_NV_register_combiners 1 + +#define GL_REGISTER_COMBINERS_NV 0x8522 +#define GL_COMBINER0_NV 0x8550 +#define GL_COMBINER1_NV 0x8551 +#define GL_COMBINER2_NV 0x8552 +#define GL_COMBINER3_NV 0x8553 +#define GL_COMBINER4_NV 0x8554 +#define GL_COMBINER5_NV 0x8555 +#define GL_COMBINER6_NV 0x8556 +#define GL_COMBINER7_NV 0x8557 +#define GL_VARIABLE_A_NV 0x8523 +#define GL_VARIABLE_B_NV 0x8524 +#define GL_VARIABLE_C_NV 0x8525 +#define GL_VARIABLE_D_NV 0x8526 +#define GL_VARIABLE_E_NV 0x8527 +#define GL_VARIABLE_F_NV 0x8528 +#define GL_VARIABLE_G_NV 0x8529 +#define GL_CONSTANT_COLOR0_NV 0x852A +#define GL_CONSTANT_COLOR1_NV 0x852B +#define GL_PRIMARY_COLOR_NV 0x852C +#define GL_SECONDARY_COLOR_NV 0x852D +#define GL_SPARE0_NV 0x852E +#define GL_SPARE1_NV 0x852F +#define GL_UNSIGNED_IDENTITY_NV 0x8536 +#define GL_UNSIGNED_INVERT_NV 0x8537 +#define GL_EXPAND_NORMAL_NV 0x8538 +#define GL_EXPAND_NEGATE_NV 0x8539 +#define GL_HALF_BIAS_NORMAL_NV 0x853A +#define GL_HALF_BIAS_NEGATE_NV 0x853B +#define GL_SIGNED_IDENTITY_NV 0x853C +#define GL_SIGNED_NEGATE_NV 0x853D +#define GL_E_TIMES_F_NV 0x8531 +#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 +#define GL_SCALE_BY_TWO_NV 0x853E +#define GL_SCALE_BY_FOUR_NV 0x853F +#define GL_SCALE_BY_ONE_HALF_NV 0x8540 +#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 +#define GL_DISCARD_NV 0x8530 +#define GL_COMBINER_INPUT_NV 0x8542 +#define GL_COMBINER_MAPPING_NV 0x8543 +#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 +#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 +#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 +#define GL_COMBINER_MUX_SUM_NV 0x8547 +#define GL_COMBINER_SCALE_NV 0x8548 +#define GL_COMBINER_BIAS_NV 0x8549 +#define GL_COMBINER_AB_OUTPUT_NV 0x854A +#define GL_COMBINER_CD_OUTPUT_NV 0x854B +#define GL_COMBINER_SUM_OUTPUT_NV 0x854C +#define GL_NUM_GENERAL_COMBINERS_NV 0x854E +#define GL_COLOR_SUM_CLAMP_NV 0x854F +#define GL_MAX_GENERAL_COMBINERS_NV 0x854D + +#ifdef VMS +/*VMS only allows externals of maximal 31 characters! */ +#define glGetCombinerOutputParameterfvNV glGetCombinerOutputParameterfvN +#define glGetCombinerOutputParameterivNV glGetCombinerOutputParameterivN +#define glGetFinalCombinerInputParameterfvNV glGetFnlCmbinerInpParameterfvNV +#define glGetFinalCombinerInputParameterivNV glGetFnlCmbinerInpParameterivNV +#endif + +GLAPI void APIENTRY glCombinerParameterfvNV(GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glCombinerParameterfNV(GLenum pname, GLfloat param); +GLAPI void APIENTRY glCombinerParameterivNV(GLenum pname, const GLint * params); +GLAPI void APIENTRY glCombinerParameteriNV(GLenum pname, GLint param); +GLAPI void APIENTRY glCombinerInputNV(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +GLAPI void APIENTRY glCombinerOutputNV(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); +GLAPI void APIENTRY glFinalCombinerInputNV(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +GLAPI void APIENTRY glGetCombinerInputParameterfvNV(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetCombinerInputParameterivNV(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetCombinerOutputParameterfvNV(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetCombinerOutputParameterivNV(GLenum stage, GLenum portion, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV(GLenum variable, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV(GLenum variable, GLenum pname, GLint * params); + +typedef void (APIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei size, const GLvoid * pointer); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat * params); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint * params); +typedef void (APIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); +typedef void (APIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); +typedef void (APIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); +typedef void (APIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); +typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat * params); +typedef void (APIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint * params); +typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat * params); +typedef void (APIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint * params); + +#endif /* GL_NV_register_combiners */ + + + +/* + * 192. GL_NV_fog_distance + */ +#ifndef GL_NV_fog_distance +#define GL_NV_fog_distance 1 + +#define GL_FOG_DISTANCE_MODE_NV 0x855A +#define GL_EYE_RADIAL_NV 0x855B +#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C + +#endif /* GL_NV_fog_distance*/ + + + +/* + * 193. unknown + */ + + + +/* + * 194. GL_NV_blend_square + */ +#ifndef GL_NV_blend_square +#define GL_NV_blend_square 1 + +/* no tokens or functions */ + +#endif /* GL_NV_blend_square */ + + + +/* + * 195. GL_NV_texture_env_combine4 + */ +#ifndef GL_NV_texture_env_combine4 +#define GL_NV_texture_env_combine4 1 + +#define GL_COMBINE4_NV 0x8503 +#define GL_SOURCE3_RGB_NV 0x8583 +#define GL_SOURCE3_ALPHA_NV 0x858B +#define GL_OPERAND3_RGB_NV 0x8593 +#define GL_OPERAND3_ALPHA_NV 0x859B + +#endif /* GL_NV_texture_env_combine4 */ + + + +/* + * 196. GL_MESA_resize_bufffers + */ +#ifndef GL_MESA_resize_buffers +#define GL_MESA_resize_buffers 1 + +GLAPI void APIENTRY glResizeBuffersMESA(void); + +typedef void (APIENTRY * PFNGLRESIZEBUFFERSMESAPROC) (void); + +#endif /* GL_MESA_resize_bufffers */ + + + +/* + * 197. GL_MESA_window_pos + */ +#ifndef GL_MESA_window_pos +#define GL_MESA_window_pos 1 + +GLAPI void APIENTRY glWindowPos2iMESA(GLint x, GLint y); +GLAPI void APIENTRY glWindowPos2sMESA(GLshort x, GLshort y); +GLAPI void APIENTRY glWindowPos2fMESA(GLfloat x, GLfloat y); +GLAPI void APIENTRY glWindowPos2dMESA(GLdouble x, GLdouble y); +GLAPI void APIENTRY glWindowPos2ivMESA(const GLint *p); +GLAPI void APIENTRY glWindowPos2svMESA(const GLshort *p); +GLAPI void APIENTRY glWindowPos2fvMESA(const GLfloat *p); +GLAPI void APIENTRY glWindowPos2dvMESA(const GLdouble *p); +GLAPI void APIENTRY glWindowPos3iMESA(GLint x, GLint y, GLint z); +GLAPI void APIENTRY glWindowPos3sMESA(GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glWindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glWindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glWindowPos3ivMESA(const GLint *p); +GLAPI void APIENTRY glWindowPos3svMESA(const GLshort *p); +GLAPI void APIENTRY glWindowPos3fvMESA(const GLfloat *p); +GLAPI void APIENTRY glWindowPos3dvMESA(const GLdouble *p); +GLAPI void APIENTRY glWindowPos4iMESA(GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glWindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glWindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glWindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glWindowPos4ivMESA(const GLint *p); +GLAPI void APIENTRY glWindowPos4svMESA(const GLshort *p); +GLAPI void APIENTRY glWindowPos4fvMESA(const GLfloat *p); +GLAPI void APIENTRY glWindowPos4dvMESA(const GLdouble *p); + +typedef void (APIENTRY * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); +typedef void (APIENTRY * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); +typedef void (APIENTRY * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRY * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRY * PFNGLWINDOWPOS2IVMESAPROC) (const GLint *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *p); +typedef void (APIENTRY * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRY * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRY * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRY * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRY * PFNGLWINDOWPOS3IVMESAPROC) (const GLint *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *p); +typedef void (APIENTRY * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *p); +typedef void (APIENTRY * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRY * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRY * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRY * PFNGLWINDOWPOS4IVMESAPROC) (const GLint *p); +typedef void (APIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *p); +typedef void (APIENTRY * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *p); +typedef void (APIENTRY * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *p); + +#endif /* GL_MESA_window_pos */ + + + +/* + * ARB 1. GL_ARB_multitexture + */ +#ifndef GL_ARB_multitexture +#define GL_ARB_multitexture 1 + +#define GL_TEXTURE0_ARB 0x84C0 +#define GL_TEXTURE1_ARB 0x84C1 +#define GL_TEXTURE2_ARB 0x84C2 +#define GL_TEXTURE3_ARB 0x84C3 +#define GL_TEXTURE4_ARB 0x84C4 +#define GL_TEXTURE5_ARB 0x84C5 +#define GL_TEXTURE6_ARB 0x84C6 +#define GL_TEXTURE7_ARB 0x84C7 +#define GL_TEXTURE8_ARB 0x84C8 +#define GL_TEXTURE9_ARB 0x84C9 +#define GL_TEXTURE10_ARB 0x84CA +#define GL_TEXTURE11_ARB 0x84CB +#define GL_TEXTURE12_ARB 0x84CC +#define GL_TEXTURE13_ARB 0x84CD +#define GL_TEXTURE14_ARB 0x84CE +#define GL_TEXTURE15_ARB 0x84CF +#define GL_TEXTURE16_ARB 0x84D0 +#define GL_TEXTURE17_ARB 0x84D1 +#define GL_TEXTURE18_ARB 0x84D2 +#define GL_TEXTURE19_ARB 0x84D3 +#define GL_TEXTURE20_ARB 0x84D4 +#define GL_TEXTURE21_ARB 0x84D5 +#define GL_TEXTURE22_ARB 0x84D6 +#define GL_TEXTURE23_ARB 0x84D7 +#define GL_TEXTURE24_ARB 0x84D8 +#define GL_TEXTURE25_ARB 0x84D9 +#define GL_TEXTURE26_ARB 0x84DA +#define GL_TEXTURE27_ARB 0x84DB +#define GL_TEXTURE28_ARB 0x84DC +#define GL_TEXTURE29_ARB 0x84DD +#define GL_TEXTURE30_ARB 0x84DE +#define GL_TEXTURE31_ARB 0x84DF +#define GL_ACTIVE_TEXTURE_ARB 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 +#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 + +GLAPI void APIENTRY glActiveTextureARB(GLenum texture); +GLAPI void APIENTRY glClientActiveTextureARB(GLenum texture); +GLAPI void APIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s); +GLAPI void APIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s); +GLAPI void APIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord1iARB(GLenum target, GLint s); +GLAPI void APIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s); +GLAPI void APIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); +GLAPI void APIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); +GLAPI void APIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); +GLAPI void APIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); +GLAPI void APIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); +GLAPI void APIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); +GLAPI void APIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); +GLAPI void APIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); +GLAPI void APIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +GLAPI void APIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GLAPI void APIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); +GLAPI void APIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +GLAPI void APIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v); + +typedef void (APIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); +typedef void (APIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); + +#endif /* GL_ARB_multitexture */ + + + +/* + * ARB 2. GLX_ARB_get_proc_address + */ + + +/* + * ARB 3. GL_ARB_tranpose_matrix + */ +#ifndef GL_ARB_transpose_matrix +#define GL_ARB_transpose_matrix 1 + +#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 +#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 +#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 +#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 + +GLAPI void APIENTRY glLoadTransposeMatrixdARB(const GLdouble m[16]); +GLAPI void APIENTRY glLoadTransposeMatrixfARB(const GLfloat m[16]); +GLAPI void APIENTRY glMultTransposeMatrixdARB(const GLdouble m[16]); +GLAPI void APIENTRY glMultTransposeMatrixfARB(const GLfloat m[16]); + +typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) ( const GLdouble m[16] ); +typedef void (APIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) ( const GLfloat m[16] ); +typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) ( const GLdouble m[16] ); +typedef void (APIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) ( const GLfloat m[16] ); + +#endif /* GL_ARB_tranpose_matrix */ + + + +/* + * ARB 4. WGL_ARB_buffer_region + */ + + + +/* + * ARB 5. GL_ARB_multisample + */ +#ifndef GL_ARB_multisample +#define GL_ARB_multisample 1 + +#define GL_MULTISAMPLE_ARBfunda 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F +#define GL_SAMPLE_COVERAGE_ARB 0x80A0 +#define GL_MULTISAMPLE_BIT_ARB 0x20000000 +#define GL_1PASS_ARB 0x80A1 +#define GL_2PASS_0_ARB 0x80A2 +#define GL_2PASS_1_ARB 0x80A3 +#define GL_4PASS_0_ARB 0x80A4 +#define GL_4PASS_1_ARB 0x80A5 +#define GL_4PASS_2_ARB 0x80A6 +#define GL_4PASS_3_ARB 0x80A7 +#define GL_SAMPLE_BUFFERS_ARB 0x80A8 +#define GL_SAMPLES_ARB 0x80A9 +#define GL_SAMPLE_MAX_PASSES_ARB 0x84E7 +#define GL_SAMPLE_PASS_ARB 0x84E8 +#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB +/* Note: there are more tokens for GLX and WGL */ + +GLAPI void APIENTRY glSamplePassARB(GLenum pass); +GLAPI void APIENTRY glSampleCoverageARB(GLclampf value, GLboolean invert); + +typedef void (APIENTRY * PFNGLSAMPLEPASSARBPROC) (GLenum pass); +typedef void (APIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert); + +#endif /* GL_ARB_multisample */ + + + +/* + * ARB 6. GL_ARB_texture_env_add + */ +#ifndef GL_ARB_texture_env_add +#define GL_ARB_texture_env_add 1 + +/* No new tokens or functions */ + +#endif /* GL_ARB_texture_env_add */ + + + +/* + * ARB ?. GL_ARB_texture_compression + */ +#ifndef GL_ARB_texture_compression +#define GL_ARB_texture_compression 1 + +#define GL_COMPRESSED_ALPHA_ARB 0x84E9 +#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA +#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB +#define GL_COMPRESSED_INTENSITY_ARB 0x84EC +#define GL_COMPRESSED_RGB_ARB 0x84ED +#define GL_COMPRESSED_RGBA_ARB 0x84EE +#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 +#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 + +GLAPI void APIENTRY glCompressedTexImage3DARB(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid *data); +GLAPI void APIENTRY glCompressedTexImage2DARB(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid *data); +GLAPI void APIENTRY glCompressedTexImage1DARB(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid *data); +GLAPI void APIENTRY glCompressedTexSubImage3DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid *data); +GLAPI void APIENTRY glCompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid *data); +GLAPI void APIENTRY glCompressedTexSubImage1DARB(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid *data); +GLAPI void APIENTRY glGetCompressedTexImageARB(GLenum target, GLint lod, GLvoid *img); + +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLsizei imageSize, GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLvoid *data); +typedef void (APIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, GLvoid *data); +typedef void (APIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLvoid *img); + +#endif /* GL_ARB_texture_compression */ + + + +/* + * ?. GL_EXT_texture_cube_map + */ +#ifndef GL_EXT_texture_cube_map +#define GL_EXT_texture_cube_map 1 + +#define GL_NORMAL_MAP_EXT 0x8511 +#define GL_REFLECTION_MAP_EXT 0x8512 +#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C + +#endif /* GL_EXT_texture_cube_map */ + + + +/* + * ? GL_NV_texgen_emboss + */ + +#ifndef GL_NV_texgen_emboss +#define GL_NV_texgen_emboss 1 + +#define GL_EMBOSS_MAP_NV 0x855F +#define GL_EMBOSS_LIGHT_NV 0x855D +#define GL_EMBOSS_CONSTANT_NV 0x855E + +#endif /* GL_NV_texgen_emboss */ + + + +/* + * ??. GL_WIN_swap_hint + */ +#ifndef GL_WIN_swap_hint +#define GL_WIN_swap_hint 1 + +GLAPI void APIENTRY glAddSwapHintRectWIN(GLint x, GLint y, GLsizei width, GLsizei height); + +typedef void (APIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height); + +#endif /* GL_WIN_swap_hint */ + + + +/* + * ?. GL_IBM_cull_vertex + */ +#ifndef GL_IBM_cull_vertex +#define GL_IBM_cull_vertex 1 + +#define GL_CULL_VERTEX_IBM 0x1928A + +#endif /* GL_IBM_cull_vertex */ + + + +/* + * ?. GL_IBM_static_data + */ +#ifndef GL_IBM_static_data +#define GL_IBM_static_data 1 + +#define GL_ALL_STATIC_DATA_IBM 0x19294 +#define GL_STATIC_VERTEX_ARRAY_IBM 0x19295 + +GLAPI void APIENTRY glFlushStaticDataIBM(GLenum target); + +typedef void (APIENTRY * PFNGLFLUSHSTATICDATAIBM) (GLenum target); + +#endif /* GL_IBM_static_data */ + + + +/* + * ?. GL_IBM_texture_mirrored_repeat + */ +#ifndef GL_IBM_texture_mirrored_repeat +#define GL_IBM_texture_mirrored_repeat 1 + +#define GL_MIRRORED_REPEAT_IBM 0x8370 + +#endif /* GL_IBM_texture_mirrored_repeat */ + + + +#ifdef __cplusplus +} +#endif + + +#endif /* __glext_h_ */ diff --git a/C2J/mesa33-header/glu.h b/C2J/mesa33-header/glu.h new file mode 100644 index 0000000..13be9aa --- /dev/null +++ b/C2J/mesa33-header/glu.h @@ -0,0 +1,513 @@ +/* $Id$ */ + +/* + * Mesa 3-D graphics library + * Version: 3.3 + * + * Copyright (C) 1995-1999 Brian Paul + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + +#ifndef __glu_h__ +#define __glu_h__ + +#define GLU_VERSION_1_1 1 +#define GLU_VERSION_1_2 1 + + +#define GLU_TRUE 1 +#define GLU_FALSE 0 + + +/* Normal vectors */ +#define GLU_SMOOTH 100000 +#define GLU_FLAT 100001 +#define GLU_NONE 100002 + +/* Quadric draw styles */ +#define GLU_POINT 100010 +#define GLU_LINE 100011 +#define GLU_FILL 100012 +#define GLU_SILHOUETTE 100013 + +/* Quadric orientation */ +#define GLU_OUTSIDE 100020 +#define GLU_INSIDE 100021 + +/* Tessellator */ +#define GLU_TESS_BEGIN 100100 +#define GLU_TESS_VERTEX 100101 +#define GLU_TESS_END 100102 +#define GLU_TESS_ERROR 100103 +#define GLU_TESS_EDGE_FLAG 100104 +#define GLU_TESS_COMBINE 100105 + +#define GLU_TESS_BEGIN_DATA 100106 +#define GLU_TESS_VERTEX_DATA 100107 +#define GLU_TESS_END_DATA 100108 +#define GLU_TESS_ERROR_DATA 100109 +#define GLU_TESS_EDGE_FLAG_DATA 100110 +#define GLU_TESS_COMBINE_DATA 100111 + +/* Winding rules */ +#define GLU_TESS_WINDING_ODD 100130 +#define GLU_TESS_WINDING_NONZERO 100131 +#define GLU_TESS_WINDING_POSITIVE 100132 +#define GLU_TESS_WINDING_NEGATIVE 100133 +#define GLU_TESS_WINDING_ABS_GEQ_TWO 100134 + +/* Tessellation properties */ +#define GLU_TESS_WINDING_RULE 100140 +#define GLU_TESS_BOUNDARY_ONLY 100141 +#define GLU_TESS_TOLERANCE 100142 + +/* Tessellation errors */ +#define GLU_TESS_ERROR1 100151 /* Missing gluBeginPolygon */ +#define GLU_TESS_ERROR2 100152 /* Missing gluBeginContour */ +#define GLU_TESS_ERROR3 100153 /* Missing gluEndPolygon */ +#define GLU_TESS_ERROR4 100154 /* Missing gluEndContour */ +#define GLU_TESS_ERROR5 100155 /* */ +#define GLU_TESS_ERROR6 100156 /* */ +#define GLU_TESS_ERROR7 100157 /* */ +#define GLU_TESS_ERROR8 100158 /* */ + +/* NURBS */ +#define GLU_AUTO_LOAD_MATRIX 100200 +#define GLU_CULLING 100201 +#define GLU_PARAMETRIC_TOLERANCE 100202 +#define GLU_SAMPLING_TOLERANCE 100203 +#define GLU_DISPLAY_MODE 100204 +#define GLU_SAMPLING_METHOD 100205 +#define GLU_U_STEP 100206 +#define GLU_V_STEP 100207 + +#define GLU_PATH_LENGTH 100215 +#define GLU_PARAMETRIC_ERROR 100216 +#define GLU_DOMAIN_DISTANCE 100217 + +#define GLU_MAP1_TRIM_2 100210 +#define GLU_MAP1_TRIM_3 100211 + +#define GLU_OUTLINE_POLYGON 100240 +#define GLU_OUTLINE_PATCH 100241 + +#define GLU_NURBS_ERROR1 100251 /* spline order un-supported */ +#define GLU_NURBS_ERROR2 100252 /* too few knots */ +#define GLU_NURBS_ERROR3 100253 /* valid knot range is empty */ +#define GLU_NURBS_ERROR4 100254 /* decreasing knot sequence */ +#define GLU_NURBS_ERROR5 100255 /* knot multiplicity > spline order */ +#define GLU_NURBS_ERROR6 100256 /* endcurve() must follow bgncurve() */ +#define GLU_NURBS_ERROR7 100257 /* bgncurve() must precede endcurve() */ +#define GLU_NURBS_ERROR8 100258 /* ctrlarray or knot vector is NULL */ +#define GLU_NURBS_ERROR9 100259 /* can't draw pwlcurves */ +#define GLU_NURBS_ERROR10 100260 /* missing gluNurbsCurve() */ +#define GLU_NURBS_ERROR11 100261 /* missing gluNurbsSurface() */ +#define GLU_NURBS_ERROR12 100262 /* endtrim() must precede endsurface() */ +#define GLU_NURBS_ERROR13 100263 /* bgnsurface() must precede endsurface() */ +#define GLU_NURBS_ERROR14 100264 /* curve of improper type passed as trim curve */ +#define GLU_NURBS_ERROR15 100265 /* bgnsurface() must precede bgntrim() */ +#define GLU_NURBS_ERROR16 100266 /* endtrim() must follow bgntrim() */ +#define GLU_NURBS_ERROR17 100267 /* bgntrim() must precede endtrim()*/ +#define GLU_NURBS_ERROR18 100268 /* invalid or missing trim curve*/ +#define GLU_NURBS_ERROR19 100269 /* bgntrim() must precede pwlcurve() */ +#define GLU_NURBS_ERROR20 100270 /* pwlcurve referenced twice*/ +#define GLU_NURBS_ERROR21 100271 /* pwlcurve and nurbscurve mixed */ +#define GLU_NURBS_ERROR22 100272 /* improper usage of trim data type */ +#define GLU_NURBS_ERROR23 100273 /* nurbscurve referenced twice */ +#define GLU_NURBS_ERROR24 100274 /* nurbscurve and pwlcurve mixed */ +#define GLU_NURBS_ERROR25 100275 /* nurbssurface referenced twice */ +#define GLU_NURBS_ERROR26 100276 /* invalid property */ +#define GLU_NURBS_ERROR27 100277 /* endsurface() must follow bgnsurface() */ +#define GLU_NURBS_ERROR28 100278 /* intersecting or misoriented trim curves */ +#define GLU_NURBS_ERROR29 100279 /* intersecting trim curves */ +#define GLU_NURBS_ERROR30 100280 /* UNUSED */ +#define GLU_NURBS_ERROR31 100281 /* unconnected trim curves */ +#define GLU_NURBS_ERROR32 100282 /* unknown knot error */ +#define GLU_NURBS_ERROR33 100283 /* negative vertex count encountered */ +#define GLU_NURBS_ERROR34 100284 /* negative byte-stride */ +#define GLU_NURBS_ERROR35 100285 /* unknown type descriptor */ +#define GLU_NURBS_ERROR36 100286 /* null control point reference */ +#define GLU_NURBS_ERROR37 100287 /* duplicate point on pwlcurve */ + +/* GLU 1.3 and later */ +#define GLU_NURBS_MODE ? + + +/* Errors */ +#define GLU_INVALID_ENUM 100900 +#define GLU_INVALID_VALUE 100901 +#define GLU_OUT_OF_MEMORY 100902 +#define GLU_INCOMPATIBLE_GL_VERSION 100903 + +/* GLU 1.1 and later */ +#define GLU_VERSION 100800 +#define GLU_EXTENSIONS 100801 + + + +/*** GLU 1.0 tessellation - obsolete! ***/ + +/* Contour types */ +#define GLU_CW 100120 +#define GLU_CCW 100121 +#define GLU_INTERIOR 100122 +#define GLU_EXTERIOR 100123 +#define GLU_UNKNOWN 100124 + +/* Tessellator */ +#define GLU_BEGIN GLU_TESS_BEGIN +#define GLU_VERTEX GLU_TESS_VERTEX +#define GLU_END GLU_TESS_END +#define GLU_ERROR GLU_TESS_ERROR +#define GLU_EDGE_FLAG GLU_TESS_EDGE_FLAG + + +/* + * These are the GLU 1.1 typedefs. GLU 1.3 has different ones! + */ +#if defined(__BEOS__) + /* The BeOS does something funky and makes these typedefs in one + * of its system headers. + */ +#else + typedef struct GLUquadric GLUquadricObj; + typedef struct GLUnurbs GLUnurbsObj; + + /* FIXME: We need to implement the other 1.3 typedefs - GH */ + typedef struct GLUtesselator GLUtesselator; + typedef GLUtesselator GLUtriangulatorObj; +#endif + + + +#if defined(__BEOS__) || defined(__QUICKDRAW__) +#pragma export on +#endif + + +/* + * + * Miscellaneous functions + * + */ + +GLUAPI void GLAPIENTRY gluLookAt( GLdouble eyex, GLdouble eyey, GLdouble eyez, + GLdouble centerx, GLdouble centery, + GLdouble centerz, + GLdouble upx, GLdouble upy, GLdouble upz ); + + +GLUAPI void GLAPIENTRY gluOrtho2D( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top ); + + +GLUAPI void GLAPIENTRY gluPerspective( GLdouble fovy, GLdouble aspect, + GLdouble zNear, GLdouble zFar ); + + +GLUAPI void GLAPIENTRY gluPickMatrix( GLdouble x, GLdouble y, + GLdouble width, GLdouble height, + const GLint viewport[4] ); + +GLUAPI GLint GLAPIENTRY 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 ); + +GLUAPI GLint GLAPIENTRY 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 ); + +/* JAU: manual +GLUAPI const GLubyte* GLAPIENTRY gluErrorString( GLenum errorCode ); +*/ + + + +/* + * + * Mipmapping and image scaling + * + */ + +/* JAU: manually changed HERE +GLUAPI GLint GLAPIENTRY gluScaleImage( GLenum format, + GLint widthin, GLint heightin, + GLenum typein, const void *datain, + GLint widthout, GLint heightout, + GLenum typeout, void *dataout ); +*/ +GLUAPI GLint GLAPIENTRY gluScaleImage( GLenum format, + GLsizei widthin, GLsizei heightin, + GLenum typein, const char *datain, + GLsizei widthout, GLsizei heightout, + GLenum typeout, char *dataout ); + + +GLUAPI GLint GLAPIENTRY gluBuild1DMipmaps( GLenum target, GLint components, + GLint width, GLenum format, + GLenum type, const void *data ); + +GLUAPI GLint GLAPIENTRY gluBuild2DMipmaps( GLenum target, GLint components, + GLint width, GLint height, + GLenum format, + GLenum type, const void *data ); + + + +/* + * + * Quadrics + * + */ + +GLUAPI GLUquadricObj* GLAPIENTRY gluNewQuadric( void ); + +/* JAU: manual +GLUAPI void GLAPIENTRY gluDeleteQuadric( GLUquadricObj *state ); +*/ + +GLUAPI void GLAPIENTRY gluQuadricDrawStyle( GLUquadricObj *quadObject, + GLenum drawStyle ); + +GLUAPI void GLAPIENTRY gluQuadricOrientation( GLUquadricObj *quadObject, + GLenum orientation ); + +GLUAPI void GLAPIENTRY gluQuadricNormals( GLUquadricObj *quadObject, + GLenum normals ); + +GLUAPI void GLAPIENTRY gluQuadricTexture( GLUquadricObj *quadObject, + GLboolean textureCoords ); + +/* JAU: manual +GLUAPI void GLAPIENTRY gluQuadricCallback( GLUquadricObj *qobj, + GLenum which, + void (GLCALLBACK *fn)() ); +*/ + +GLUAPI void GLAPIENTRY gluCylinder( GLUquadricObj *qobj, + GLdouble baseRadius, + GLdouble topRadius, + GLdouble height, + GLint slices, GLint stacks ); + +GLUAPI void GLAPIENTRY gluSphere( GLUquadricObj *qobj, + GLdouble radius, GLint slices, + GLint stacks ); + +GLUAPI void GLAPIENTRY gluDisk( GLUquadricObj *qobj, + GLdouble innerRadius, GLdouble outerRadius, + GLint slices, GLint loops ); + +GLUAPI void GLAPIENTRY gluPartialDisk( GLUquadricObj *qobj, GLdouble innerRadius, + GLdouble outerRadius, GLint slices, + GLint loops, GLdouble startAngle, + GLdouble sweepAngle ); + + + +/* + * + * Nurbs + * + */ + +GLUAPI GLUnurbsObj* GLAPIENTRY gluNewNurbsRenderer( void ); + +/* JAU: manual +GLUAPI void GLAPIENTRY gluDeleteNurbsRenderer( GLUnurbsObj *nobj ); +*/ + +GLUAPI void GLAPIENTRY gluLoadSamplingMatrices( GLUnurbsObj *nobj, + const GLfloat modelMatrix[16], + const GLfloat projMatrix[16], + const GLint viewport[4] ); + +GLUAPI void GLAPIENTRY gluNurbsProperty( GLUnurbsObj *nobj, GLenum property, + GLfloat value ); + +GLUAPI void GLAPIENTRY gluGetNurbsProperty( GLUnurbsObj *nobj, GLenum property, + GLfloat *value ); + +GLUAPI void GLAPIENTRY gluBeginCurve( GLUnurbsObj *nobj ); + +GLUAPI void GLAPIENTRY gluEndCurve( GLUnurbsObj * nobj ); + +GLUAPI void GLAPIENTRY gluNurbsCurve( GLUnurbsObj *nobj, GLint nknots, + GLfloat *knot, GLint stride, + GLfloat *ctlarray, GLint order, + GLenum type ); + +GLUAPI void GLAPIENTRY gluBeginSurface( GLUnurbsObj *nobj ); + +GLUAPI void GLAPIENTRY gluEndSurface( GLUnurbsObj * nobj ); + +GLUAPI void GLAPIENTRY 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 ); + +GLUAPI void GLAPIENTRY gluBeginTrim( GLUnurbsObj *nobj ); + +GLUAPI void GLAPIENTRY gluEndTrim( GLUnurbsObj *nobj ); + +GLUAPI void GLAPIENTRY gluPwlCurve( GLUnurbsObj *nobj, GLint count, + GLfloat *array, GLint stride, + GLenum type ); + +/* JAU: manual +GLUAPI void GLAPIENTRY gluNurbsCallback( GLUnurbsObj *nobj, GLenum which, + void (GLCALLBACK *fn)() ); +*/ + + + +/* + * + * Polygon tessellation + * + */ + +GLUAPI GLUtesselator* GLAPIENTRY gluNewTess( void ); + +/* JAU: manual +GLUAPI void GLAPIENTRY gluDeleteTess( GLUtesselator *tobj ); +*/ + +GLUAPI void GLAPIENTRY gluTessBeginPolygon( GLUtesselator *tobj, + void *polygon_data ); + +GLUAPI void GLAPIENTRY gluTessBeginContour( GLUtesselator *tobj ); + +GLUAPI void GLAPIENTRY gluTessVertex( GLUtesselator *tobj, GLdouble coords[3], + void *vertex_data ); + +GLUAPI void GLAPIENTRY gluTessEndContour( GLUtesselator *tobj ); + +GLUAPI void GLAPIENTRY gluTessEndPolygon( GLUtesselator *tobj ); + +GLUAPI void GLAPIENTRY gluTessProperty( GLUtesselator *tobj, GLenum which, + GLdouble value ); + +GLUAPI void GLAPIENTRY gluTessNormal( GLUtesselator *tobj, GLdouble x, + GLdouble y, GLdouble z ); + +/* JAU: manual +GLUAPI void GLAPIENTRY gluTessCallback( GLUtesselator *tobj, GLenum which, + void (GLCALLBACK *fn)() ); +*/ + +GLUAPI void GLAPIENTRY gluGetTessProperty( GLUtesselator *tobj, GLenum which, + GLdouble *value ); + +/* + * + * Obsolete 1.0 tessellation functions + * + */ + +GLUAPI void GLAPIENTRY gluBeginPolygon( GLUtesselator *tobj ); + +GLUAPI void GLAPIENTRY gluNextContour( GLUtesselator *tobj, GLenum type ); + +GLUAPI void GLAPIENTRY gluEndPolygon( GLUtesselator *tobj ); + + + +/* + * + * New functions in GLU 1.1 + * + */ + +/* JAU - manual +GLUAPI const GLubyte* GLAPIENTRY gluGetString( GLenum name ); +*/ + + + +/* + * + * GLU 1.3 functions + * + */ + +/* JAU TEST + +GLUAPI GLboolean GLAPIENTRY +gluCheckExtension(const char *extName, const GLubyte *extString); + + +GLUAPI GLint GLAPIENTRY +gluBuild3DMipmaps( GLenum target, GLint internalFormat, GLsizei width, + GLsizei height, GLsizei depth, GLenum format, + GLenum type, const void *data ); + +GLUAPI GLint GLAPIENTRY +gluBuild1DMipmapLevels( GLenum target, GLint internalFormat, GLsizei width, + GLenum format, GLenum type, GLint level, GLint base, + GLint max, const void *data ); + +GLUAPI GLint GLAPIENTRY +gluBuild2DMipmapLevels( GLenum target, GLint internalFormat, GLsizei width, + GLsizei height, GLenum format, GLenum type, + GLint level, GLint base, GLint max, + const void *data ); + +GLUAPI GLint GLAPIENTRY +gluBuild3DMipmapLevels( GLenum target, GLint internalFormat, GLsizei width, + GLsizei height, GLsizei depth, GLenum format, + GLenum type, GLint level, GLint base, GLint max, + const void *data ); + +GLUAPI GLint GLAPIENTRY +gluUnProject4( GLdouble winx, GLdouble winy, GLdouble winz, GLdouble clipw, + const GLdouble modelMatrix[16], const GLdouble projMatrix[16], + const GLint viewport[4], GLclampd zNear, GLclampd zFar, + GLdouble *objx, GLdouble *objy, GLdouble *objz, + GLdouble *objw ); + +*/ + +#if defined(__BEOS__) || defined(__QUICKDRAW__) +#pragma export off +#endif + + +#ifdef macintosh + #pragma enumsalwaysint reset + #if PRAGMA_IMPORT_SUPPORTED + #pragma import off + #endif +#endif + + +#ifdef __cplusplus +} +#endif + + +#endif /* __glu_h__ */ diff --git a/C2J/mesa33-header/glx.h b/C2J/mesa33-header/glx.h new file mode 100644 index 0000000..fe94f57 --- /dev/null +++ b/C2J/mesa33-header/glx.h @@ -0,0 +1,150 @@ +#ifndef __GLX_glx_h__ +#define __GLX_glx_h__ + +/* +** License Applicability. Except to the extent portions of this file are +** made subject to an alternative license as permitted in the SGI Free +** Software License B, Version 1.0 (the "License"), the contents of this +** file are subject only to the provisions of the License. You may not use +** this file except in compliance with the License. You may obtain a copy +** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 +** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: +** +** http://oss.sgi.com/projects/FreeB +** +** Note that, as provided in the License, the Software is distributed on an +** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS +** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND +** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A +** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. +** +** Original Code. The Original Code is: OpenGL Sample Implementation, +** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, +** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. +** Copyright in any portions created by third parties is as indicated +** elsewhere herein. All Rights Reserved. +** +** Additional Notice Provisions: The application programming interfaces +** established by SGI in conjunction with the Original Code are The +** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released +** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version +** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X +** Window System(R) (Version 1.3), released October 19, 1998. This software +** was created using the OpenGL(R) version 1.2.1 Sample Implementation +** published by SGI, but has not been independently verified as being +** compliant with the OpenGL(R) version 1.2.1 Specification. +** +** $Date$ $Revision$ +** $Header$ +*/ + +#include +#include +#include +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* +** GLX resources. +*/ +typedef XID GLXContextID; +typedef XID GLXPixmap; +typedef XID GLXDrawable; +typedef XID GLXPbuffer; +typedef XID GLXWindow; +typedef XID GLXFBConfigID; + +/* +** GLXContext is a pointer to opaque data. +*/ +typedef struct __GLXcontextRec *GLXContext; + +/* +** GLXFBConfig is a pointer to opaque data. +*/ +typedef struct __GLXFBConfigRec *GLXFBConfig; + +/************************************************************************/ + +extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList); +extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, unsigned long mask); +extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct); +extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap); +extern void glXDestroyContext (Display *dpy, GLXContext ctx); +extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix); +extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value); +extern GLXContext glXGetCurrentContext (void); +extern GLXDrawable glXGetCurrentDrawable (void); +extern Bool glXIsDirect (Display *dpy, GLXContext ctx); +extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx); +extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase); +extern Bool glXQueryVersion (Display *dpy, int *major, int *minor); +extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable); +extern void glXUseXFont (Font font, int first, int count, int listBase); +extern void glXWaitGL (void); +extern void glXWaitX (void); +extern const char * glXGetClientString (Display *dpy, int name ); +extern const char * glXQueryServerString (Display *dpy, int screen, int name ); +extern const char * glXQueryExtensionsString (Display *dpy, int screen ); + +/* New for GLX 1.3 */ +extern GLXFBConfig * glXGetFBConfigs (Display *dpy, int screen, int *nelements); +extern GLXFBConfig * glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements); +extern int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); +extern XVisualInfo * glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config); +extern GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); +extern void glXDestroyWindow (Display *dpy, GLXWindow win); +extern GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); +extern void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap); +extern GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list); +extern void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf); +extern void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); +extern GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); +extern Bool glXMakeContextCurrent (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx); +extern GLXDrawable glXGetCurrentReadDrawable (void); +extern Display * glXGetCurrentDisplay (void); +extern int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); +extern void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask); +extern void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask); + +/*** SGI GLX extensions */ +extern GLXContextID glXGetContextIDEXT (const GLXContext ctx); +extern GLXDrawable glXGetCurrentDrawableEXT (void); +extern GLXContext glXImportContextEXT (Display *dpy, GLXContextID contextID); +extern void glXFreeContextEXT (Display *dpy, GLXContext ctx); +extern int glXQueryContextInfoEXT (Display *dpy, GLXContext ctx, int attribute, int *value); + +extern void (*glXGetProcAddressARB(const GLubyte *procName))( void ); + +/*** Should these go here, or in another header? */ +/* +** GLX Events +*/ +typedef struct { + int event_type; /* GLX_DAMAGED or GLX_SAVED */ + int draw_type; /* GLX_WINDOW or GLX_PBUFFER */ + unsigned long serial; /* # of last request processed by server */ + Bool send_event; /* true if this came for SendEvent request */ + Display *display; /* display the event was read from */ + GLXDrawable drawable; /* XID of Drawable */ + unsigned int buffer_mask; /* mask indicating which buffers are affected */ + unsigned int aux_buffer; /* which aux buffer was affected */ + int x, y; + int width, height; + int count; /* if nonzero, at least this many more */ +} GLXPbufferClobberEvent; + +typedef union __GLXEvent { + GLXPbufferClobberEvent glxpbufferclobber; + long pad[24]; +} GLXEvent; + +#ifdef __cplusplus +} +#endif + +#endif /* !__GLX_glx_h__ */ diff --git a/C2J/mesa33-header/pre2orig-enum.awk b/C2J/mesa33-header/pre2orig-enum.awk new file mode 100644 index 0000000..e492a16 --- /dev/null +++ b/C2J/mesa33-header/pre2orig-enum.awk @@ -0,0 +1,3 @@ +BEGIN { printf "typedef enum {\n" } + { print "\t" $2 "\t\t = " $3 "," } +END { printf "};\n" } diff --git a/C2J/mesa33-header/pre2orig-proto.awk b/C2J/mesa33-header/pre2orig-proto.awk new file mode 100644 index 0000000..64ca879 --- /dev/null +++ b/C2J/mesa33-header/pre2orig-proto.awk @@ -0,0 +1,3 @@ +BEGIN { } +/^[ \t]*GL[U]?API/,/;/ { print $0; } +END { } diff --git a/C2J/mesa33-header/prepare-enum.sh b/C2J/mesa33-header/prepare-enum.sh new file mode 100755 index 0000000..3ddf248 --- /dev/null +++ b/C2J/mesa33-header/prepare-enum.sh @@ -0,0 +1,22 @@ +#! /bin/sh + +echo WARNING WARNING +echo This generated files are heavily edited ! +echo We exit now ... +exit 0 + +grep "#define GL_" gl.h > gl-enum-auto.orig.pre +grep "#define GL_" glext.h >> gl-enum-auto.orig.pre +cat gl-enum-auto.orig.pre | sort -u -b | \ +awk -f pre2orig-enum.awk | \ +grep -v -e "?" -e "GL_FALSE" -e "GL_TRUE" \ + -e "= 1,$" > gl-enum-auto.orig +rm -f gl-enum-auto.orig.pre +echo please check generated file gl-enum-auto.orig + +grep "#define GLU_" glu.h > glu-enum-auto.orig.pre +cat glu-enum-auto.orig.pre | sort -u -b | \ +awk -f pre2orig-enum.awk | \ +grep -v -e "?" -e "= 1,$" > glu-enum-auto.orig +rm -f glu-enum-auto.orig.pre +echo please check generated file glu-enum-auto.orig diff --git a/C2J/mesa33-header/prepare-proto.sh b/C2J/mesa33-header/prepare-proto.sh new file mode 100755 index 0000000..186374d --- /dev/null +++ b/C2J/mesa33-header/prepare-proto.sh @@ -0,0 +1,10 @@ +#! /bin/sh +gcc -E gl.h | \ +awk -f pre2orig-proto.awk | \ +sed -e 's/GLAPIENTRY//g' -e 's/GLAPI/extern/g' > gl-proto-auto.orig +echo please check generated file gl-proto-auto.orig + +gcc -E glu.h | \ +awk -f pre2orig-proto.awk | \ +sed -e 's/GLAPIENTRY//g' -e 's/GLUAPI/extern/g' > glu-proto-auto.orig +echo please check generated file glu-proto-auto.orig diff --git a/C2J/warning.skel b/C2J/warning.skel new file mode 100644 index 0000000..1485379 --- /dev/null +++ b/C2J/warning.skel @@ -0,0 +1,6 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + -- cgit v1.2.3