aboutsummaryrefslogtreecommitdiffstats
path: root/www
Commit message (Expand)AuthorAgeFilesLines
* Updated Java Web Start jars to 1.1 b09Kenneth Russel2005-02-155-0/+0
* Changed certain http:// links to https://Kenneth Russel2005-02-081-7/+7
* Updated webstart jars to 1.1 b08Kenneth Russel2005-02-075-0/+0
* Added copy of JOGL/GlueGen overview talk slidesKenneth Russel2005-02-031-0/+0
* Fixed HTML for nav barKenneth Russel2005-02-021-7/+7
* Incorporated copies of JavaOne talk slides because of registration Kenneth Russel2005-01-284-8/+5
* Patched jogl.jar for 1.1b07 with bug fix for missing GLU projection Kenneth Russel2004-11-211-0/+0
* Upgraded JOGL and JOGL demo webstart jars to 1.1 b07.Kenneth Russel2004-11-205-0/+0
* Updated Mac OS X binaries with missing libjogl_cg.jnilibKenneth Russel2004-11-061-0/+0
* Updated JOGL and JOGL demo webstart files to 1.1 b06Kenneth Russel2004-11-015-0/+0
* Added link to JavaOne 2004 JOGL talk slidesKenneth Russel2004-10-271-0/+4
* Removed debug info from native libraries after CPPTask cutoverKenneth Russel2004-08-053-0/+0
* Removed debug info from native libraries after CPPTask cutoverKenneth Russel2004-08-051-0/+0
* Updated Java Web Start jars to 1.1 b05Kenneth Russel2004-08-045-0/+0
* Updated Java Web Start binaries for JOGL 1.1 beta 04Kenneth Russel2004-07-165-0/+0
* Updated binaries for 1.1b03Kenneth Russel2004-04-295-0/+0
* Updated webstart jogl.jar to 1.1b02 and bumped version number to 1.1b03Kenneth Russel2004-04-231-0/+0
* Updated precompiled binaries and some documentation for 1.1 b01Kenneth Russel2004-04-226-1/+1
* Updated JOGL and JOGL-Demos web start binaries and made minor doc changesKenneth Russel2004-04-125-0/+0
* Updated OSX informationgregorypierce2004-02-281-2/+2
* updated navbarathomas2003-11-221-6/+6
* updated navbarathomas2003-11-221-8/+10
* new navbar to match color scheme. Not so fruity as the purple nav bar (sorry ...athomas2003-11-151-33/+27
* fixed link to forums to eliminate IE bugathomas2003-10-111-2/+1
* Updated binaries with ARB_vertex_buffer_object support, latest Mac OSKenneth Russel2003-09-065-0/+0
* Added link to user's guide to main pageKenneth Russel2003-08-121-0/+2
* Attempted fix to jogl and Gears JNLP files after java.net transition to httpsKenneth Russel2003-08-041-1/+1
* Added ANTLR and Ant links to JOGL web pageKenneth Russel2003-07-181-205/+238
* Added JNLP files for demos to jogl-demos home page. Added more linksKenneth Russel2003-07-181-92/+282
* Added Java Web Start binaries for JOGL and the JOGL demos.Kenneth Russel2003-07-166-0/+34
* added navbarathomas2003-06-261-0/+8
* minor revisionsdjp2003-06-081-8/+1
* update docsdjp2003-06-081-5/+92
* Commit by Helm::Ccvstigrisc2003-06-061-0/+5
ss="hl opt">, "GLSLBuggyDiscard" }; private final int _bitmask; /** * @param quirks an array of valid quirks * @param offset offset in quirks array to start reading * @param len number of quirks to read from offset within quirks array * @throws IllegalArgumentException if one of the quirks is out of range */ public GLRendererQuirks(int[] quirks, int offset, int len) throws IllegalArgumentException { int bitmask = 0; if( !( 0 <= offset + len && offset + len < quirks.length ) ) { throw new IllegalArgumentException("offset and len out of bounds: offset "+offset+", len "+len+", array-len "+quirks.length); } for(int i=offset; i<offset+len; i++) { final int quirk = quirks[i]; validateQuirk(quirk); bitmask |= 1 << quirk; } _bitmask = bitmask; } /** * @param quirk the quirk to be tested * @return true if quirk exist, otherwise false * @throws IllegalArgumentException if quirk is out of range */ public final boolean exist(int quirk) throws IllegalArgumentException { validateQuirk(quirk); return 0 != ( ( 1 << quirk ) & _bitmask ); } public final StringBuilder toString(StringBuilder sb) { if(null == sb) { sb = new StringBuilder(); } sb.append("["); boolean first=true; for(int i=0; i<COUNT; i++) { final int testmask = 1 << i; if( 0 != ( _bitmask & testmask ) ) { if(!first) { sb.append(", "); } sb.append(toString(i)); first=false; } } sb.append("]"); return sb; } public final String toString() { return toString(null).toString(); } /** * @param quirk the quirk to be validated, i.e. whether it is out of range * @throws IllegalArgumentException if quirk is out of range */ public static void validateQuirk(int quirk) throws IllegalArgumentException { if( !( 0 <= quirk && quirk < COUNT ) ) { throw new IllegalArgumentException("Quirks must be in range [0.."+COUNT+"[, but quirk: "+quirk); } } /** * @param quirk the quirk to be converted to String * @return the String equivalent of this quirk * @throws IllegalArgumentException if quirk is out of range */ public static final String toString(int quirk) throws IllegalArgumentException { validateQuirk(quirk); return _names[quirk]; } }