[SCM] lwjgl - Lightweight Java Game Library branch, upstream, updated. upstream/2.5+dfsg-2-gcb1276c

Michael Gilbert gilbert-guest at alioth.debian.org
Sun Apr 3 22:13:21 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwjgl - Lightweight Java Game Library".

The branch, upstream has been updated
       via  cb1276cd76e26cb78a6a681349ab5af7b034d31f (commit)
      from  09bd29f33e456dfa8ed08d4ecf6caaa361e780d7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 src/java/org/lwjgl/opengl/AMDDebugOutputUtil.java  |   59 ----
 src/java/org/lwjgl/opengl/APIUtils.java            |  355 --------------------
 src/java/org/lwjgl/opengl/PointerWrapper.java      |   39 ---
 src/java/org/lwjgl/util/generator/ALTypeMap.java   |  218 ------------
 src/java/org/lwjgl/util/generator/ALboolean.java   |   47 ---
 src/java/org/lwjgl/util/generator/ALbyte.java      |   47 ---
 src/java/org/lwjgl/util/generator/ALdouble.java    |   47 ---
 src/java/org/lwjgl/util/generator/ALenum.java      |   47 ---
 src/java/org/lwjgl/util/generator/ALfloat.java     |   47 ---
 src/java/org/lwjgl/util/generator/ALint.java       |   47 ---
 src/java/org/lwjgl/util/generator/ALshort.java     |   47 ---
 src/java/org/lwjgl/util/generator/ALsizei.java     |   47 ---
 src/java/org/lwjgl/util/generator/ALubyte.java     |   47 ---
 src/java/org/lwjgl/util/generator/ALuint.java      |   47 ---
 src/java/org/lwjgl/util/generator/ALvoid.java      |   47 ---
 .../org/lwjgl/util/generator/AutoResultSize.java   |   50 ---
 .../generator/ContextCapabilitiesGenerator.java    |  319 ------------------
 .../ContextGeneratorProcessorFactory.java          |  189 -----------
 src/java/org/lwjgl/util/generator/GLTypeMap.java   |  299 ----------------
 src/java/org/lwjgl/util/generator/GLbitfield.java  |   47 ---
 src/java/org/lwjgl/util/generator/GLboolean.java   |   47 ---
 src/java/org/lwjgl/util/generator/GLbyte.java      |   47 ---
 src/java/org/lwjgl/util/generator/GLchar.java      |   47 ---
 src/java/org/lwjgl/util/generator/GLcharARB.java   |   47 ---
 src/java/org/lwjgl/util/generator/GLclampd.java    |   47 ---
 src/java/org/lwjgl/util/generator/GLclampf.java    |   47 ---
 src/java/org/lwjgl/util/generator/GLdouble.java    |   47 ---
 src/java/org/lwjgl/util/generator/GLenum.java      |   47 ---
 src/java/org/lwjgl/util/generator/GLfloat.java     |   47 ---
 src/java/org/lwjgl/util/generator/GLhalf.java      |   47 ---
 src/java/org/lwjgl/util/generator/GLhandleARB.java |   47 ---
 src/java/org/lwjgl/util/generator/GLint.java       |   47 ---
 src/java/org/lwjgl/util/generator/GLint64.java     |   40 ---
 src/java/org/lwjgl/util/generator/GLint64EXT.java  |   40 ---
 src/java/org/lwjgl/util/generator/GLintptr.java    |   47 ---
 src/java/org/lwjgl/util/generator/GLintptrARB.java |   47 ---
 src/java/org/lwjgl/util/generator/GLpointer.java   |   44 ---
 src/java/org/lwjgl/util/generator/GLreturn.java    |   55 ---
 src/java/org/lwjgl/util/generator/GLshort.java     |   47 ---
 src/java/org/lwjgl/util/generator/GLsizei.java     |   47 ---
 src/java/org/lwjgl/util/generator/GLsizeiptr.java  |   47 ---
 .../org/lwjgl/util/generator/GLsizeiptrARB.java    |   47 ---
 src/java/org/lwjgl/util/generator/GLtime.java      |   47 ---
 src/java/org/lwjgl/util/generator/GLubyte.java     |   47 ---
 src/java/org/lwjgl/util/generator/GLuint.java      |   47 ---
 src/java/org/lwjgl/util/generator/GLuint64.java    |   40 ---
 src/java/org/lwjgl/util/generator/GLuint64EXT.java |   40 ---
 src/java/org/lwjgl/util/generator/GLushort.java    |   47 ---
 src/java/org/lwjgl/util/generator/GLvoid.java      |   50 ---
 .../ReferencesGeneratorProcessorFactory.java       |  205 -----------
 src/java/org/lwjgl/util/generator/StringList.java  |   48 ---
 .../org_lwjgl_opengl_AMDDebugOutputCallback.c      |   67 ----
 52 files changed, 0 insertions(+), 3755 deletions(-)

diff --git a/src/java/org/lwjgl/opengl/AMDDebugOutputUtil.java b/src/java/org/lwjgl/opengl/AMDDebugOutputUtil.java
deleted file mode 100644
index 1227833..0000000
--- a/src/java/org/lwjgl/opengl/AMDDebugOutputUtil.java
+++ /dev/null
@@ -1,59 +0,0 @@
-package org.lwjgl.opengl;
-
-import org.lwjgl.opengl.AMDDebugOutputCallback.Handler;
-
-import java.nio.ByteBuffer;
-import java.util.Map;
-import java.util.WeakHashMap;
-
-/**
- * This class handles AMDDebugOutputCallback.Handler registration and notification.
- * We could have put this in AMDDebugOutputCallback, but we need to compile it for
- * the generator. Registration is done reflectively in the AMDDebugOutputCallback
- * constructor.
- *
- * @author Spasi
- */
-final class AMDDebugOutputUtil {
-
-	private static final Map handlers = new WeakHashMap();
-
-	private AMDDebugOutputUtil() {}
-
-	public static void registerHandler(final Handler handler) {
-		final Context ctx = Context.getCurrentContext();
-		if ( ctx == null )
-			throw new IllegalStateException("No context is current.");
-
-		if ( !ctx.getContextAttribs().isDebug() )
-			throw new IllegalStateException("The current context is not a debug context.");
-
-		if ( !GLContext.getCapabilities().GL_AMD_debug_output  )
-			throw new IllegalStateException("AMD_debug_output is not supported.");
-
-		handlers.put(ctx, handler);
-	}
-
-	/**
-	 * This method is called by native code. If finds the callback handler associated
-	 * with the current Thread and calls its {@code handleMessage} method.
-	 *
-	 * @param id        the message ID
-	 * @param category  the message category
-	 * @param severity  the message severity
-	 * @param message   the string representation of the message.
-	 * @param userParam the user-specified data specified in glDebugMessageCallbackAMD. For the current implementation this is always null and we ignore it.
-	 */
-	private static void messageCallback(final int id, final int category, final int severity, final String message, final ByteBuffer userParam) {
-		synchronized ( GlobalLock.lock ) {
-			final Context ctx = Context.getCurrentContext();
-			if ( ctx == null )
-				return;
-
-			final Handler handler = (Handler)handlers.get(ctx);
-			if ( handler != null )
-				handler.handleMessage(id, category, severity, message);
-		}
-	}
-
-}
diff --git a/src/java/org/lwjgl/opengl/APIUtils.java b/src/java/org/lwjgl/opengl/APIUtils.java
deleted file mode 100644
index 51ded17..0000000
--- a/src/java/org/lwjgl/opengl/APIUtils.java
+++ /dev/null
@@ -1,355 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.opengl;
-
-import org.lwjgl.BufferUtils;
-
-import java.nio.*;
-import java.nio.charset.Charset;
-import java.nio.charset.CharsetEncoder;
-
-/** @author spasi */
-final class APIUtils {
-
-	private static final int INITIAL_BUFFER_SIZE = 256;
-	private static final int INITIAL_LENGTHS_SIZE = 4;
-
-	private static final int BUFFERS_SIZE = 32;
-
-	private static final ThreadLocal arrayTL = new ThreadLocal() {
-		protected Object initialValue() { return new char[INITIAL_BUFFER_SIZE]; }
-	};
-
-	private static final ThreadLocal bufferTL = new ThreadLocal() {
-		protected Object initialValue() { return BufferUtils.createByteBuffer(INITIAL_BUFFER_SIZE); }
-	};
-
-	private static final ThreadLocal lengthsTL = new ThreadLocal() {
-		protected Object initialValue() { return BufferUtils.createIntBuffer(INITIAL_LENGTHS_SIZE); }
-	};
-
-	private static final ThreadLocal infiniteSeqTL = new ThreadLocal() {
-		protected Object initialValue() { return new InfiniteCharSequence(); }
-	};
-
-	private static final ThreadLocal buffersTL = new ThreadLocal() {
-		protected Object initialValue() { return new Buffers(); }
-	};
-
-	private static CharsetEncoder encoder = Charset.forName("US-ASCII").newEncoder();
-
-	private APIUtils() {
-	}
-
-	private static char[] getArray(final int size) {
-		char[] array = (char[])arrayTL.get();
-
-		if ( array.length < size ) {
-			int sizeNew = array.length << 1;
-			while ( sizeNew < size )
-				sizeNew <<= 1;
-
-			array = new char[size];
-			arrayTL.set(array);
-		}
-
-		return array;
-	}
-
-	static ByteBuffer getBufferByte(final int size) {
-		ByteBuffer buffer = (ByteBuffer)bufferTL.get();
-
-		if ( buffer.capacity() < size ) {
-			int sizeNew = buffer.capacity() << 1;
-			while ( sizeNew < size )
-				sizeNew <<= 1;
-
-			buffer = BufferUtils.createByteBuffer(size);
-			bufferTL.set(buffer);
-		} else
-			buffer.clear();
-
-		return buffer;
-	}
-
-	private static ByteBuffer getBufferByteOffset(final int size) {
-		ByteBuffer buffer = (ByteBuffer)bufferTL.get();
-
-		if ( buffer.capacity() < size ) {
-			int sizeNew = buffer.capacity() << 1;
-			while ( sizeNew < size )
-				sizeNew <<= 1;
-
-			final ByteBuffer bufferNew = BufferUtils.createByteBuffer(size);
-			bufferNew.put(buffer);
-			bufferTL.set(buffer = bufferNew);
-		} else {
-			buffer.position(buffer.limit());
-			buffer.limit(buffer.capacity());
-		}
-
-		return buffer;
-	}
-
-	static ShortBuffer getBufferShort() { return ((Buffers)buffersTL.get()).shorts; }
-
-	static IntBuffer getBufferInt() { return ((Buffers)buffersTL.get()).ints; }
-
-	static LongBuffer getBufferLong() { return ((Buffers)buffersTL.get()).longs; }
-
-	static FloatBuffer getBufferFloat() { return ((Buffers)buffersTL.get()).floats; }
-
-	static DoubleBuffer getBufferDouble() { return ((Buffers)buffersTL.get()).doubles; }
-
-	static IntBuffer getLengths() {
-		return getLengths(1);
-	}
-
-	static IntBuffer getLengths(final int size) {
-		IntBuffer lengths = (IntBuffer)lengthsTL.get();
-
-		if ( lengths.capacity() < size ) {
-			int sizeNew = lengths.capacity();
-			while ( sizeNew < size )
-				sizeNew <<= 1;
-
-			lengths = BufferUtils.createIntBuffer(size);
-			lengthsTL.set(lengths);
-		} else
-			lengths.clear();
-
-		return lengths;
-	}
-
-	private static InfiniteCharSequence getInfiniteSeq() {
-		return (InfiniteCharSequence)infiniteSeqTL.get();
-	}
-
-	private static void encode(final ByteBuffer buffer, final CharSequence string) {
-		final InfiniteCharSequence infiniteSeq = getInfiniteSeq();
-		infiniteSeq.setString(string);
-		encoder.encode(infiniteSeq.buffer, buffer, true);
-		infiniteSeq.clear();
-	}
-
-	/**
-	 * Reads a byte string from the specified buffer.
-	 *
-	 * @param buffer
-	 *
-	 * @return the buffer as a String.
-	 */
-	static String getString(final ByteBuffer buffer) {
-		final int length = buffer.remaining();
-		final char[] charArray = getArray(length);
-
-		for ( int i = buffer.position(); i < buffer.limit(); i++ )
-			charArray[i - buffer.position()] = (char)buffer.get(i);
-
-		return new String(charArray, 0, length);
-	}
-
-	/**
-	 * Returns a buffer containing the specified string as bytes.
-	 *
-	 * @param string
-	 *
-	 * @return the String as a ByteBuffer
-	 */
-	static ByteBuffer getBuffer(final CharSequence string) {
-		final ByteBuffer buffer = getBufferByte(string.length());
-
-		encode(buffer, string);
-
-		buffer.flip();
-		return buffer;
-	}
-
-	/**
-	 * Returns a buffer containing the specified string as bytes, starting at the specified offset.
-	 *
-	 * @param string
-	 *
-	 * @return the String as a ByteBuffer
-	 */
-	static ByteBuffer getBuffer(final CharSequence string, final int offset) {
-		final ByteBuffer buffer = getBufferByteOffset(offset + string.length());
-
-		encode(buffer, string);
-
-		buffer.flip();
-		return buffer;
-	}
-
-	/**
-	 * Returns a buffer containing the specified string as bytes, including null-termination.
-	 *
-	 * @param string
-	 *
-	 * @return the String as a ByteBuffer
-	 */
-	static ByteBuffer getBufferNT(final CharSequence string) {
-		final ByteBuffer buffer = getBufferByte(string.length() + 1);
-
-		encode(buffer, string);
-
-		buffer.put((byte)0);
-		buffer.flip();
-		return buffer;
-	}
-
-	static int getTotalLength(final CharSequence[] strings) {
-		int length = 0;
-		for ( int i = 0; i < strings.length; i++ )
-			length += strings[i].length();
-
-		return length;
-	}
-
-	/**
-	 * Returns a buffer containing the specified strings as bytes.
-	 *
-	 * @param strings
-	 *
-	 * @return the Strings as a ByteBuffer
-	 */
-	static ByteBuffer getBuffer(final CharSequence[] strings) {
-		final ByteBuffer buffer = getBufferByte(getTotalLength(strings));
-
-		final InfiniteCharSequence infiniteSeq = getInfiniteSeq();
-		for ( int i = 0; i < strings.length; i++ ) {
-			infiniteSeq.setString(strings[i]);
-			encoder.encode(infiniteSeq.buffer, buffer, true);
-		}
-		infiniteSeq.clear();
-
-		buffer.flip();
-		return buffer;
-	}
-
-	/**
-	 * Returns a buffer containing the specified strings as bytes, including null-termination.
-	 *
-	 * @param strings
-	 *
-	 * @return the Strings as a ByteBuffer
-	 */
-	static ByteBuffer getBufferNT(final CharSequence[] strings) {
-		final ByteBuffer buffer = getBufferByte(getTotalLength(strings) + strings.length);
-
-		final InfiniteCharSequence infiniteSeq = getInfiniteSeq();
-		for ( int i = 0; i < strings.length; i++ ) {
-			infiniteSeq.setString(strings[i]);
-			encoder.encode(infiniteSeq.buffer, buffer, true);
-			buffer.put((byte)0);
-		}
-		infiniteSeq.clear();
-
-		buffer.flip();
-		return buffer;
-	}
-
-	/**
-	 * Returns a buffer containing the lengths of the specified strings.
-	 *
-	 * @param strings
-	 *
-	 * @return the String lengths in an IntBuffer
-	 */
-	static IntBuffer getLengths(final CharSequence[] strings) {
-		IntBuffer buffer = getLengths(strings.length);
-
-		for ( int i = 0; i < strings.length; i++ )
-			buffer.put(strings[i].length());
-
-		buffer.flip();
-		return buffer;
-	}
-
-	/**
-	 * A mutable CharSequence with very large initial length. We can wrap this in a re-usable CharBuffer for decoding.
-	 * We cannot subclass CharBuffer because of {@link CharBuffer#toString(int,int)}.
-	 */
-	private static class InfiniteCharSequence implements CharSequence {
-
-		final CharBuffer buffer;
-
-		CharSequence string;
-
-		InfiniteCharSequence() {
-			buffer = CharBuffer.wrap(this);
-		}
-
-		void setString(final CharSequence string) {
-			this.string = string;
-			this.buffer.position(0);
-			this.buffer.limit(string.length());
-		}
-
-		void clear() {
-			this.string = null;
-		}
-
-		public int length() {
-			return Integer.MAX_VALUE;
-		}
-
-		public char charAt(final int index) {
-			return string.charAt(index);
-		}
-
-		public CharSequence subSequence(final int start, final int end) {
-			return string.subSequence(start, end);
-		}
-	}
-
-	private static class Buffers {
-
-		final ShortBuffer shorts;
-		final IntBuffer ints;
-		final LongBuffer longs;
-
-		final FloatBuffer floats;
-		final DoubleBuffer doubles;
-
-		Buffers() {
-			shorts = BufferUtils.createShortBuffer(BUFFERS_SIZE);
-			ints = BufferUtils.createIntBuffer(BUFFERS_SIZE);
-			longs = BufferUtils.createLongBuffer(BUFFERS_SIZE);
-
-			floats = BufferUtils.createFloatBuffer(BUFFERS_SIZE);
-			doubles = BufferUtils.createDoubleBuffer(BUFFERS_SIZE);
-		}
-
-	}
-
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/opengl/PointerWrapper.java b/src/java/org/lwjgl/opengl/PointerWrapper.java
deleted file mode 100644
index 123c602..0000000
--- a/src/java/org/lwjgl/opengl/PointerWrapper.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.opengl;
-
-/** @author spasi <spasi at users.sourceforge.net> */
-public interface PointerWrapper {
-
-	long getPointer();
-
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/ALTypeMap.java b/src/java/org/lwjgl/util/generator/ALTypeMap.java
deleted file mode 100644
index 69818ad..0000000
--- a/src/java/org/lwjgl/util/generator/ALTypeMap.java
+++ /dev/null
@@ -1,218 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.lwjgl.util.generator;
-
-/**
- *
- * The OpenAL specific generator behaviour
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALTypeMap.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import com.sun.mirror.declaration.*;
-import com.sun.mirror.type.*;
-
-import java.io.*;
-import java.util.*;
-import java.nio.*;
-
-public class ALTypeMap implements TypeMap {
-	private static final Map<Class, PrimitiveType.Kind> native_types_to_primitive;
-
-	static {
-		native_types_to_primitive = new HashMap<Class, PrimitiveType.Kind>();
-		native_types_to_primitive.put(ALboolean.class, PrimitiveType.Kind.BOOLEAN);
-		native_types_to_primitive.put(ALbyte.class, PrimitiveType.Kind.BYTE);
-		native_types_to_primitive.put(ALenum.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(ALfloat.class, PrimitiveType.Kind.FLOAT);
-		native_types_to_primitive.put(ALdouble.class, PrimitiveType.Kind.DOUBLE);
-		native_types_to_primitive.put(ALint.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(ALshort.class, PrimitiveType.Kind.SHORT);
-		native_types_to_primitive.put(ALsizei.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(ALubyte.class, PrimitiveType.Kind.BYTE);
-		native_types_to_primitive.put(ALuint.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(ALvoid.class, PrimitiveType.Kind.BYTE);
-	}
-
-	public PrimitiveType.Kind getPrimitiveTypeFromNativeType(Class native_type) {
-		PrimitiveType.Kind kind = native_types_to_primitive.get(native_type);
-		if (kind == null)
-			throw new RuntimeException("Unsupported type " + native_type);
-		return kind;
-	}
-
-	public Signedness getSignednessFromType(Class type) {
-		if (ALuint.class.equals(type))
-			return Signedness.UNSIGNED;
-		else if (ALint.class.equals(type))
-			return Signedness.SIGNED;
-		else if (ALshort.class.equals(type))
-			return Signedness.SIGNED;
-		else if (ALbyte.class.equals(type))
-			return Signedness.SIGNED;
-		else
-			return Signedness.NONE;
-	}
-
-	public String translateAnnotation(Class annotation_type) {
-		if (annotation_type.equals(ALuint.class))
-			return "i";
-		else if (annotation_type.equals(ALint.class))
-			return "i";
-		else if (annotation_type.equals(ALshort.class))
-			return "s";
-		else if (annotation_type.equals(ALbyte.class))
-			return "b";
-		else if (annotation_type.equals(ALfloat.class))
-			return "f";
-		else if (annotation_type.equals(ALdouble.class))
-			return "d";
-		else if (annotation_type.equals(ALboolean.class) || annotation_type.equals(ALvoid.class))
-			return "";
-		else
-			throw new RuntimeException(annotation_type + " is not allowed");
-	}
-
-	public Class getNativeTypeFromPrimitiveType(PrimitiveType.Kind kind) {
-		Class type;
-		switch (kind) {
-			case INT:
-				type = ALint.class;
-				break;
-			case FLOAT:
-				type = ALfloat.class;
-				break;
-			case DOUBLE:
-				type = ALdouble.class;
-				break;
-			case SHORT:
-				type = ALshort.class;
-				break;
-			case BYTE:
-				type = ALbyte.class;
-				break;
-			case BOOLEAN:
-				type = ALboolean.class;
-				break;
-			default:
-				throw new RuntimeException(kind + " is not allowed");
-		}
-		return type;
-	}
-
-	private static Class[] getValidBufferTypes(Class type) {
-		if (type.equals(IntBuffer.class))
-			return new Class[]{ALenum.class, ALint.class, ALsizei.class, ALuint.class};
-		else if (type.equals(FloatBuffer.class))
-			return new Class[]{ALfloat.class};
-		else if (type.equals(ByteBuffer.class))
-			return new Class[]{ALboolean.class, ALbyte.class, ALvoid.class};
-		else if (type.equals(ShortBuffer.class))
-			return new Class[]{ALshort.class};
-		else if (type.equals(DoubleBuffer.class))
-			return new Class[]{ALdouble.class};
-		else
-			return new Class[]{};
-	}
-
-	private static Class[] getValidPrimitiveTypes(Class type) {
-		if (type.equals(int.class))
-			return new Class[]{ALenum.class, ALint.class, ALsizei.class, ALuint.class};
-		else if (type.equals(double.class))
-			return new Class[]{ALdouble.class};
-		else if (type.equals(float.class))
-			return new Class[]{ALfloat.class};
-		else if (type.equals(short.class))
-			return new Class[]{ALshort.class};
-		else if (type.equals(byte.class))
-			return new Class[]{ALbyte.class};
-		else if (type.equals(boolean.class))
-			return new Class[]{ALboolean.class};
-		else if (type.equals(void.class))
-			return new Class[]{ALvoid.class};
-		else
-			return new Class[]{};
-	}
-
-	public String getErrorCheckMethodName() {
-		return "Util.checkALError()";
-	}
-
-	public String getRegisterNativesFunctionName() {
-		return "extal_InitializeClass";
-	}
-
-	public String getTypedefPrefix() {
-		return "ALAPIENTRY";
-	}
-
-	public void printNativeIncludes(PrintWriter writer) {
-		writer.println("#include \"extal.h\"");
-	}
-
-	public Class getStringElementType()	{
-		return ALubyte.class;
-	}
-
-	public Class[] getValidAnnotationTypes(Class type) {
-		Class[] valid_types;
-		if (Buffer.class.isAssignableFrom(type))
-			valid_types = getValidBufferTypes(type);
-		else if (type.isPrimitive())
-			valid_types = getValidPrimitiveTypes(type);
-		else if (type.equals(String.class))
-			valid_types = new Class[]{ALubyte.class};
-		else
-			valid_types = new Class[]{};
-		return valid_types;
-	}
-
-	public Class getVoidType() {
-		return ALvoid.class;
-	}
-
-	public Class getInverseType(Class type) {
-		if (ALuint.class.equals(type))
-			return ALint.class;
-		else if (ALint.class.equals(type))
-			return ALuint.class;
-		else
-			return null;
-	}
-
-	public String getAutoTypeFromAnnotation(AnnotationMirror annotation) {
-		return null;
-	}
-}
diff --git a/src/java/org/lwjgl/util/generator/ALboolean.java b/src/java/org/lwjgl/util/generator/ALboolean.java
deleted file mode 100644
index 7c554f6..0000000
--- a/src/java/org/lwjgl/util/generator/ALboolean.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALboolean.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALboolean {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALbyte.java b/src/java/org/lwjgl/util/generator/ALbyte.java
deleted file mode 100644
index 0a49ce4..0000000
--- a/src/java/org/lwjgl/util/generator/ALbyte.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALbyte.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALbyte {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALdouble.java b/src/java/org/lwjgl/util/generator/ALdouble.java
deleted file mode 100644
index f1c6e42..0000000
--- a/src/java/org/lwjgl/util/generator/ALdouble.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALdouble.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALdouble {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALenum.java b/src/java/org/lwjgl/util/generator/ALenum.java
deleted file mode 100644
index a50b8df..0000000
--- a/src/java/org/lwjgl/util/generator/ALenum.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALenum.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALenum {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALfloat.java b/src/java/org/lwjgl/util/generator/ALfloat.java
deleted file mode 100644
index dd2e5ca..0000000
--- a/src/java/org/lwjgl/util/generator/ALfloat.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALfloat.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALfloat {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALint.java b/src/java/org/lwjgl/util/generator/ALint.java
deleted file mode 100644
index 2170b5e..0000000
--- a/src/java/org/lwjgl/util/generator/ALint.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALint.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALint {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALshort.java b/src/java/org/lwjgl/util/generator/ALshort.java
deleted file mode 100644
index cd55ec1..0000000
--- a/src/java/org/lwjgl/util/generator/ALshort.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALshort.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALshort {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALsizei.java b/src/java/org/lwjgl/util/generator/ALsizei.java
deleted file mode 100644
index 24b303a..0000000
--- a/src/java/org/lwjgl/util/generator/ALsizei.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALsizei.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALsizei {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALubyte.java b/src/java/org/lwjgl/util/generator/ALubyte.java
deleted file mode 100644
index 1604a83..0000000
--- a/src/java/org/lwjgl/util/generator/ALubyte.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALubyte.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALubyte {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALuint.java b/src/java/org/lwjgl/util/generator/ALuint.java
deleted file mode 100644
index 56e4e35..0000000
--- a/src/java/org/lwjgl/util/generator/ALuint.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALuint.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALuint {
-}
diff --git a/src/java/org/lwjgl/util/generator/ALvoid.java b/src/java/org/lwjgl/util/generator/ALvoid.java
deleted file mode 100644
index 3b9ddfd..0000000
--- a/src/java/org/lwjgl/util/generator/ALvoid.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: ALvoid.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface ALvoid {
-}
diff --git a/src/java/org/lwjgl/util/generator/AutoResultSize.java b/src/java/org/lwjgl/util/generator/AutoResultSize.java
deleted file mode 100644
index ab43e8c..0000000
--- a/src/java/org/lwjgl/util/generator/AutoResultSize.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * AutoResultSize specifies the size of a returned Buffer
- * as an expression.
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: AutoResultSize.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at Target(ElementType.METHOD)
-public @interface AutoResultSize {
-	String value(); // The size as a java expression
-}
diff --git a/src/java/org/lwjgl/util/generator/ContextCapabilitiesGenerator.java b/src/java/org/lwjgl/util/generator/ContextCapabilitiesGenerator.java
deleted file mode 100644
index d762aad..0000000
--- a/src/java/org/lwjgl/util/generator/ContextCapabilitiesGenerator.java
+++ /dev/null
@@ -1,319 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.lwjgl.util.generator;
-
-import java.io.PrintWriter;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.EnumSet;
-import java.util.Iterator;
-
-import com.sun.mirror.declaration.InterfaceDeclaration;
-import com.sun.mirror.declaration.MethodDeclaration;
-import com.sun.mirror.type.InterfaceType;
-
-/**
- * Generator visitor for the context capabilities generator tool
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 3355 $
- *          $Id: ContextCapabilitiesGenerator.java 3355 2010-05-27 22:56:29Z spasi $
- */
-public class ContextCapabilitiesGenerator {
-
-	private static final String STUBS_LOADED_NAME = "loaded_stubs";
-	private static final String ALL_INIT_METHOD_NAME = "initAllStubs";
-	private static final String POINTER_INITIALIZER_POSTFIX = "_initNativeFunctionAddresses";
-	private static final String CACHED_EXTS_VAR_NAME = "supported_extensions";
-	private static final String PROFILE_MASK_VAR_NAME = "profileMask";
-	private static final String EXTENSION_PREFIX = "GL_";
-	private static final String CORE_PREFIX = "Open";
-
-	public static void generateClassPrologue(PrintWriter writer, boolean context_specific, boolean generate_error_checks) {
-		writer.println("public class " + Utils.CONTEXT_CAPS_CLASS_NAME + " {");
-		writer.println("\tstatic final boolean DEBUG = " + Boolean.toString(generate_error_checks) + ";");
-		writer.println("\tfinal StateTracker tracker = new StateTracker();");
-		writer.println();
-		if ( !context_specific ) {
-			writer.println("\tprivate static boolean " + STUBS_LOADED_NAME + " = false;");
-		}
-	}
-
-	public static void generateInitializerPrologue(PrintWriter writer) {
-		writer.println("\t" + Utils.CONTEXT_CAPS_CLASS_NAME + "(boolean forwardCompatible) throws LWJGLException {");
-		writer.println("\t\tSet " + CACHED_EXTS_VAR_NAME + " = " + ALL_INIT_METHOD_NAME + "(forwardCompatible);");
-	}
-
-	private static String translateFieldName(String interface_name) {
-		if ( interface_name.startsWith("GL") )
-			return CORE_PREFIX + interface_name;
-		else
-			return EXTENSION_PREFIX + interface_name;
-	}
-
-	public static void generateSuperClassAdds(PrintWriter writer, InterfaceDeclaration d) {
-		Collection<InterfaceType> super_interfaces = d.getSuperinterfaces();
-		if ( super_interfaces.size() > 1 )
-			throw new RuntimeException(d + " extends more than one other interface");
-		if ( super_interfaces.size() == 1 ) {
-			InterfaceType super_interface = super_interfaces.iterator().next();
-			writer.print("\t\tif (" + CACHED_EXTS_VAR_NAME + ".contains(\"");
-			writer.println(translateFieldName(d.getSimpleName()) + "\"))");
-			writer.print("\t\t\t");
-			generateAddExtension(writer, super_interface.getDeclaration());
-		}
-	}
-
-	public static void generateInitializer(PrintWriter writer, InterfaceDeclaration d) {
-		String translated_field_name = translateFieldName(d.getSimpleName());
-		writer.print("\t\tthis." + translated_field_name + " = ");
-		writer.print(CACHED_EXTS_VAR_NAME + ".contains(\"");
-		writer.print(translated_field_name + "\")");
-		Collection<InterfaceType> super_interfaces = d.getSuperinterfaces();
-		if ( super_interfaces.size() > 1 )
-			throw new RuntimeException(d + " extends more than one other interface");
-		if ( super_interfaces.size() == 1 ) {
-			InterfaceType super_interface = super_interfaces.iterator().next();
-			writer.println();
-			writer.print("\t\t\t&& " + CACHED_EXTS_VAR_NAME + ".contains(\"");
-			writer.print(translateFieldName(super_interface.getDeclaration().getSimpleName()) + "\")");
-		}
-		Alias alias_annotation = d.getAnnotation(Alias.class);
-		if ( alias_annotation != null ) {
-			writer.println();
-			writer.print("\t\t\t|| " + CACHED_EXTS_VAR_NAME + ".contains(\"");
-			writer.print(translateFieldName(alias_annotation.value()) + "\")");
-		}
-		writer.println(";");
-	}
-
-	private static String getAddressesInitializerName(String class_name) {
-		return class_name + POINTER_INITIALIZER_POSTFIX;
-	}
-
-	public static void generateInitStubsPrologue(PrintWriter writer, boolean context_specific) {
-		writer.println("\tprivate Set " + ALL_INIT_METHOD_NAME + "(boolean forwardCompatible) throws LWJGLException {");
-
-		// Load the basic pointers we need to detect OpenGL version and supported extensions.
-		writer.println("\t\tGL11_glGetError_pointer = GLContext.getFunctionAddress(\"glGetError\");");
-		writer.println("\t\tGL11_glGetString_pointer = GLContext.getFunctionAddress(\"glGetString\");");
-
-		// Initialize GL11.glGetIntegerv and GL30.glGetStringi here, in case we have created an OpenGL 3.0 context.
-		// (they will be used in GLContext.getSupportedExtensions)
-		writer.println("\t\tGL11_glGetIntegerv_pointer = GLContext.getFunctionAddress(\"glGetIntegerv\");");
-		writer.println("\t\tGL30_glGetStringi_pointer = GLContext.getFunctionAddress(\"glGetStringi\");");
-
-		// Get the supported extensions set.
-		writer.println("\t\tGLContext.setCapabilities(this);");
-		writer.println("\t\tSet " + CACHED_EXTS_VAR_NAME + " = new HashSet(256);");
-		writer.println("\t\tint " + PROFILE_MASK_VAR_NAME + " = GLContext.getSupportedExtensions(" + CACHED_EXTS_VAR_NAME + ");");
-
-		// Force forward compatible mode when OpenGL version is 3.1 or higher and ARB_compatibility is not available.
-		writer.println("\t\tif ( supported_extensions.contains(\"OpenGL31\") && !(supported_extensions.contains(\"GL_ARB_compatibility\") || (profileMask & GL32.GL_CONTEXT_COMPATIBILITY_PROFILE_BIT) != 0) )");
-		writer.println("\t\t\tforwardCompatible = true;");
-
-		if ( !context_specific ) {
-			writer.println("\t\tif (" + STUBS_LOADED_NAME + ")");
-			writer.println("\t\t\treturn GLContext.getSupportedExtensions();");
-			writer.println("\t\torg.lwjgl.opengl.GL11." + Utils.STUB_INITIALIZER_NAME + "();");
-		} else {
-			writer.println("\t\tif (!" + getAddressesInitializerName("GL11") + "(forwardCompatible))");
-			writer.println("\t\t\tthrow new LWJGLException(\"GL11 not supported\");");
-		}
-	}
-
-	public static void generateInitStubsEpilogue(PrintWriter writer, boolean context_specific) {
-		if ( !context_specific ) {
-			writer.println("\t\t" + STUBS_LOADED_NAME + " = true;");
-		}
-		writer.println("\t\treturn " + CACHED_EXTS_VAR_NAME + ";");
-		writer.println("\t}");
-	}
-
-	public static void generateUnloadStubs(PrintWriter writer, InterfaceDeclaration d) {
-		if ( d.getMethods().size() > 0 ) {
-			writer.print("\t\tGLContext.resetNativeStubs(" + Utils.getSimpleClassName(d));
-			writer.println(".class);");
-		}
-	}
-
-	public static void generateInitStubs(PrintWriter writer, InterfaceDeclaration d, boolean context_specific) {
-		if ( d.getMethods().size() > 0 ) {
-			if ( context_specific ) {
-				final Alias alias_annotation = d.getAnnotation(Alias.class);
-
-				if ( d.getAnnotation(ForceInit.class) != null )
-					writer.println("\t\t" + CACHED_EXTS_VAR_NAME + ".add(\"" + translateFieldName(d.getSimpleName()) + "\");");
-				writer.print("\t\tif (");
-				if ( alias_annotation != null )
-					writer.print("(");
-				writer.print(CACHED_EXTS_VAR_NAME + ".contains(\"");
-				writer.print(translateFieldName(d.getSimpleName()) + "\")");
-				if ( alias_annotation != null ) {
-					writer.print(" || " + CACHED_EXTS_VAR_NAME + ".contains(\"");
-					writer.print(translateFieldName(alias_annotation.value()) + "\"))");
-				}
-				writer.print(" && !" + getAddressesInitializerName(d.getSimpleName()) + "(");
-				if ( d.getAnnotation(DeprecatedGL.class) != null )
-					writer.print("forwardCompatible");
-				if ( d.getAnnotation(Dependent.class) != null ) {
-					if ( d.getAnnotation(DeprecatedGL.class) != null )
-						writer.print(",");
-					writer.print("supported_extensions");
-				}
-				if ( alias_annotation != null ) {
-					writer.println(")) {");
-					writer.print("\t\t\tremove(" + CACHED_EXTS_VAR_NAME + ", \"");
-					writer.println(translateFieldName(alias_annotation.value()) + "\");");
-				} else
-					writer.println("))");
-				writer.print("\t\t\tremove(" + CACHED_EXTS_VAR_NAME + ", \"");
-				writer.println(translateFieldName(d.getSimpleName()) + "\");");
-				if ( alias_annotation != null )
-					writer.println("\t\t}");
-			} else {
-				writer.print("\t\tGLContext." + Utils.STUB_INITIALIZER_NAME + "(" + Utils.getSimpleClassName(d));
-				writer.println(".class, " + CACHED_EXTS_VAR_NAME + ", \"" + translateFieldName(d.getSimpleName()) + "\");");
-			}
-		}
-	}
-
-	private static void generateAddExtension(PrintWriter writer, InterfaceDeclaration d) {
-		writer.print(CACHED_EXTS_VAR_NAME + ".add(\"");
-		writer.println(translateFieldName(d.getSimpleName()) + "\");");
-	}
-
-	public static void generateAddressesInitializers(PrintWriter writer, InterfaceDeclaration d) {
-		Iterator<? extends MethodDeclaration> methods = d.getMethods().iterator();
-		if ( !methods.hasNext() )
-			return;
-
-		writer.print("\tprivate boolean " + getAddressesInitializerName(d.getSimpleName()) + "(");
-
-		boolean optional;
-		boolean deprecated = d.getAnnotation(DeprecatedGL.class) != null;
-		Dependent dependent = d.getAnnotation(Dependent.class);
-		if ( deprecated )
-			writer.print("boolean forwardCompatible");
-		if ( dependent != null ) {
-			if ( deprecated )
-				writer.print(",");
-			writer.print("Set supported_extensions");
-		}
-
-		Alias alias_annotation = d.getAnnotation(Alias.class);
-		boolean aliased = alias_annotation != null && alias_annotation.postfix().length() > 0;
-
-		writer.println(") {");
-		writer.println("\t\treturn ");
-
-		boolean first = true;
-		while ( methods.hasNext() ) {
-			MethodDeclaration method = methods.next();
-			if ( method.getAnnotation(Alternate.class) != null )
-				continue;
-
-			if ( !first )
-				writer.println(" &");
-			else
-				first = false;
-
-			optional = method.getAnnotation(Optional.class) != null;
-			deprecated = method.getAnnotation(DeprecatedGL.class) != null;
-			dependent = method.getAnnotation(Dependent.class);
-
-			writer.print("\t\t\t(");
-			if ( optional )
-				writer.print('(');
-			if ( deprecated )
-				writer.print("forwardCompatible || ");
-			if ( dependent != null ) {
-				if ( dependent.value().indexOf(',') == -1 )
-					writer.print("!supported_extensions.contains(\"" + dependent.value() + "\") || ");
-				else {
-					writer.print("!(false");
-					for ( String extension : dependent.value().split(",") )
-						writer.print(" || supported_extensions.contains(\"" + extension + "\")");
-					writer.print(") || ");
-				}
-			}
-			if ( deprecated || dependent != null )
-				writer.print('(');
-			writer.print(Utils.getFunctionAddressName(d, method) + " = ");
-			PlatformDependent platform_dependent = method.getAnnotation(PlatformDependent.class);
-			if ( platform_dependent != null ) {
-				EnumSet<Platform> platform_set = EnumSet.copyOf(Arrays.asList(platform_dependent.value()));
-				writer.print("GLContext.getPlatformSpecificFunctionAddress(\"");
-				writer.print(Platform.ALL.getPrefix() + "\", ");
-				writer.print("new String[]{");
-				Iterator<Platform> platforms = platform_set.iterator();
-				while ( platforms.hasNext() ) {
-					writer.print("\"" + platforms.next().getOSPrefix() + "\"");
-					if ( platforms.hasNext() )
-						writer.print(", ");
-				}
-				writer.print("}, new String[]{");
-				platforms = platform_set.iterator();
-				while ( platforms.hasNext() ) {
-					writer.print("\"" + platforms.next().getPrefix() + "\"");
-					if ( platforms.hasNext() )
-						writer.print(", ");
-				}
-				writer.print("}, ");
-			} else if ( aliased ) {
-				writer.print("GLContext.getFunctionAddress(new String[] {\"" + method.getSimpleName() + "\",\"" + method.getSimpleName() + alias_annotation.postfix() + "\"})) != 0");
-			} else
-				writer.print("GLContext.getFunctionAddress(");
-			if ( !aliased )
-				writer.print("\"" + method.getSimpleName() + "\")) != 0");
-			if ( deprecated || dependent != null )
-				writer.print(')');
-			if ( optional )
-				writer.print(" || true)");
-		}
-		writer.println(";");
-		writer.println("\t}");
-		writer.println();
-	}
-
-	public static void generateSymbolAddresses(PrintWriter writer, InterfaceDeclaration d) {
-		for ( MethodDeclaration method : d.getMethods() ) {
-			if ( method.getAnnotation(Alternate.class) == null )
-				writer.println("\tlong " + Utils.getFunctionAddressName(d, method) + ";");
-		}
-	}
-
-	public static void generateField(PrintWriter writer, InterfaceDeclaration d) {
-		writer.println("\tpublic final boolean " + translateFieldName(d.getSimpleName()) + ";");
-	}
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/ContextGeneratorProcessorFactory.java b/src/java/org/lwjgl/util/generator/ContextGeneratorProcessorFactory.java
deleted file mode 100644
index a987ca9..0000000
--- a/src/java/org/lwjgl/util/generator/ContextGeneratorProcessorFactory.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.lwjgl.util.generator;
-
-import static java.util.Collections.unmodifiableCollection;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Map;
-import java.util.Set;
-
-import com.sun.mirror.apt.AnnotationProcessor;
-import com.sun.mirror.apt.AnnotationProcessorEnvironment;
-import com.sun.mirror.apt.AnnotationProcessorFactory;
-import com.sun.mirror.apt.AnnotationProcessors;
-import com.sun.mirror.apt.Filer;
-import com.sun.mirror.apt.RoundCompleteEvent;
-import com.sun.mirror.apt.RoundCompleteListener;
-import com.sun.mirror.declaration.AnnotationTypeDeclaration;
-import com.sun.mirror.declaration.InterfaceDeclaration;
-import com.sun.mirror.declaration.TypeDeclaration;
-import com.sun.mirror.util.DeclarationFilter;
-
-/**
- *
- * Generator tool for creating the ContexCapabilities class
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 3316 $
- * $Id: ContextGeneratorProcessorFactory.java 3316 2010-04-09 23:57:40Z spasi $
- */
-public class ContextGeneratorProcessorFactory implements AnnotationProcessorFactory, RoundCompleteListener {
-	private static boolean first_round = true;
-
-	// Process any set of annotations
-	private static final Collection<String> supportedAnnotations =
-		unmodifiableCollection(Arrays.asList("*"));
-
-	public Collection<String> supportedAnnotationTypes() {
-		return supportedAnnotations;
-	}
-
-	public Collection<String> supportedOptions() {
-		return unmodifiableCollection(Arrays.asList("-Acontextspecific", "-Ageneratechecks"));
-	}
-
-	public void roundComplete(RoundCompleteEvent event) {
-		first_round = false;
-	}
-
-	public AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env) {
-		// Only process the initial types, not the generated ones
-		if (first_round) {
-			env.addListener(this);
-			return new GeneratorProcessor(env);
-		} else
-			return AnnotationProcessors.NO_OP;
-	}
-
-	private static class GeneratorProcessor implements AnnotationProcessor {
-		private final AnnotationProcessorEnvironment env;
-
-		GeneratorProcessor(AnnotationProcessorEnvironment env) {
-			this.env = env;
-		}
-
-		public void process() {
-			Map<String, String> options = env.getOptions();
-			boolean generate_error_checks = options.containsKey("-Ageneratechecks");
-			boolean context_specific = options.containsKey("-Acontextspecific");
-			try {
-				generateContextCapabilitiesSource(context_specific, generate_error_checks);
-			} catch (IOException e) {
-				throw new RuntimeException(e);
-			}
-		}
-
-		private void generateContextCapabilitiesSource(boolean context_specific, boolean generate_error_checks) throws IOException {
-			PrintWriter writer = env.getFiler().createTextFile(Filer.Location.SOURCE_TREE, "org.lwjgl.opengl", new File(Utils.CONTEXT_CAPS_CLASS_NAME + ".java"), null);
-			writer.println("/* MACHINE GENERATED FILE, DO NOT EDIT */");
-			writer.println();
-			writer.println("package org.lwjgl.opengl;");
-			writer.println();
-			writer.println("import org.lwjgl.LWJGLException;");
-			writer.println("import org.lwjgl.LWJGLUtil;");
-			writer.println("import org.lwjgl.BufferUtils;");
-			writer.println("import java.util.Set;");
-			writer.println("import java.util.HashSet;");
-			writer.println("import java.nio.IntBuffer;");
-			writer.println();
-			ContextCapabilitiesGenerator.generateClassPrologue(writer, context_specific, generate_error_checks);
-			DeclarationFilter filter = DeclarationFilter.getFilter(InterfaceDeclaration.class);
-			Collection<TypeDeclaration> interface_decls = filter.filter(env.getSpecifiedTypeDeclarations());
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				if (Utils.isFinal(interface_decl))
-					ContextCapabilitiesGenerator.generateField(writer, interface_decl);
-			}
-			writer.println();
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				ContextCapabilitiesGenerator.generateSymbolAddresses(writer, interface_decl);
-			}
-			writer.println();
-			if (context_specific) {
-				for (TypeDeclaration typedecl : interface_decls) {
-					InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-					ContextCapabilitiesGenerator.generateAddressesInitializers(writer, interface_decl);
-				}
-				writer.println();
-			}
-
-			writer.println("\tprivate static void remove(Set supported_extensions, String extension) {");
-			writer.println("\t\tLWJGLUtil.log(extension + \" was reported as available but an entry point is missing\");");
-			writer.println("\t\tsupported_extensions.remove(extension);");
-			writer.println("\t}\n");
-
-			ContextCapabilitiesGenerator.generateInitStubsPrologue(writer, context_specific);
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				ContextCapabilitiesGenerator.generateSuperClassAdds(writer, interface_decl);
-			}
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				String simple_name = interface_decl.getSimpleName();
-				if (simple_name.equals("GL11"))
-					continue;
-				ContextCapabilitiesGenerator.generateInitStubs(writer, interface_decl, context_specific);
-			}
-			ContextCapabilitiesGenerator.generateInitStubsEpilogue(writer, context_specific);
-			writer.println();
-			writer.println("\tstatic void unloadAllStubs() {");
-			if (!context_specific) {
-				writer.println("\t\tif (!loaded_stubs)");
-				writer.println("\t\t\treturn;");
-				for (TypeDeclaration typedecl : interface_decls) {
-					InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-					ContextCapabilitiesGenerator.generateUnloadStubs(writer, interface_decl);
-				}
-				writer.println("\t\tloaded_stubs = false;");
-			}
-			writer.println("\t}");
-			writer.println();
-			ContextCapabilitiesGenerator.generateInitializerPrologue(writer);
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				if (Utils.isFinal(interface_decl))
-					ContextCapabilitiesGenerator.generateInitializer(writer, interface_decl);
-			}
-			writer.println("\t\ttracker.init();");
-			writer.println("\t}");
-			writer.println("}");
-			writer.close();
-		}
-	}
-}
diff --git a/src/java/org/lwjgl/util/generator/GLTypeMap.java b/src/java/org/lwjgl/util/generator/GLTypeMap.java
deleted file mode 100644
index 8e68ee0..0000000
--- a/src/java/org/lwjgl/util/generator/GLTypeMap.java
+++ /dev/null
@@ -1,299 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.lwjgl.util.generator;
-
-/**
- *
- * OpenGL sepcific generator behaviour
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 3287 $
- * $Id: GLTypeMap.java 3287 2010-03-14 23:24:40Z spasi $
- */
-
-import org.lwjgl.opengl.PointerWrapper;
-
-import java.io.PrintWriter;
-import java.nio.*;
-import java.util.HashMap;
-import java.util.Map;
-
-import com.sun.mirror.declaration.AnnotationMirror;
-import com.sun.mirror.type.PrimitiveType;
-
-public class GLTypeMap implements TypeMap {
-
-	private static final Map<Class, PrimitiveType.Kind> native_types_to_primitive;
-
-	static {
-		native_types_to_primitive = new HashMap<Class, PrimitiveType.Kind>();
-		native_types_to_primitive.put(GLbitfield.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(GLcharARB.class, PrimitiveType.Kind.BYTE);
-		native_types_to_primitive.put(GLclampf.class, PrimitiveType.Kind.FLOAT);
-		native_types_to_primitive.put(GLfloat.class, PrimitiveType.Kind.FLOAT);
-		native_types_to_primitive.put(GLint.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(GLshort.class, PrimitiveType.Kind.SHORT);
-		native_types_to_primitive.put(GLsizeiptr.class, PrimitiveType.Kind.LONG);
-		native_types_to_primitive.put(GLuint.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(GLboolean.class, PrimitiveType.Kind.BOOLEAN);
-		native_types_to_primitive.put(GLchar.class, PrimitiveType.Kind.BYTE);
-		native_types_to_primitive.put(GLdouble.class, PrimitiveType.Kind.DOUBLE);
-		native_types_to_primitive.put(GLhalf.class, PrimitiveType.Kind.SHORT);
-		native_types_to_primitive.put(GLintptrARB.class, PrimitiveType.Kind.LONG);
-		native_types_to_primitive.put(GLsizei.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(GLushort.class, PrimitiveType.Kind.SHORT);
-		native_types_to_primitive.put(GLbyte.class, PrimitiveType.Kind.BYTE);
-		native_types_to_primitive.put(GLclampd.class, PrimitiveType.Kind.DOUBLE);
-		native_types_to_primitive.put(GLenum.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(GLhandleARB.class, PrimitiveType.Kind.INT);
-		native_types_to_primitive.put(GLintptr.class, PrimitiveType.Kind.LONG);
-		native_types_to_primitive.put(GLsizeiptrARB.class, PrimitiveType.Kind.LONG);
-		native_types_to_primitive.put(GLubyte.class, PrimitiveType.Kind.BYTE);
-		native_types_to_primitive.put(GLvoid.class, PrimitiveType.Kind.BYTE);
-		native_types_to_primitive.put(GLint64EXT.class, PrimitiveType.Kind.LONG);
-		native_types_to_primitive.put(GLuint64EXT.class, PrimitiveType.Kind.LONG);
-		native_types_to_primitive.put(GLint64.class, PrimitiveType.Kind.LONG);
-		native_types_to_primitive.put(GLuint64.class, PrimitiveType.Kind.LONG);
-	}
-
-	public PrimitiveType.Kind getPrimitiveTypeFromNativeType(Class native_type) {
-		PrimitiveType.Kind kind = native_types_to_primitive.get(native_type);
-		if ( kind == null )
-			throw new RuntimeException("Unsupported type " + native_type);
-		return kind;
-	}
-
-	public String getErrorCheckMethodName() {
-		return "Util.checkGLError()";
-	}
-
-	public String getRegisterNativesFunctionName() {
-		return "extgl_InitializeClass";
-	}
-
-	public Signedness getSignednessFromType(Class type) {
-		if ( GLuint.class.equals(type) )
-			return Signedness.UNSIGNED;
-		else if ( GLint.class.equals(type) )
-			return Signedness.SIGNED;
-		else if ( GLushort.class.equals(type) )
-			return Signedness.UNSIGNED;
-		else if ( GLshort.class.equals(type) )
-			return Signedness.SIGNED;
-		else if ( GLubyte.class.equals(type) )
-			return Signedness.UNSIGNED;
-		else if ( GLbyte.class.equals(type) )
-			return Signedness.SIGNED;
-		else if ( GLuint64EXT.class.equals(type) )
-			return Signedness.UNSIGNED;
-		else if ( GLint64EXT.class.equals(type) )
-			return Signedness.SIGNED;
-		else if ( GLuint64.class.equals(type) )
-			return Signedness.UNSIGNED;
-		else if ( GLint64.class.equals(type) )
-			return Signedness.SIGNED;
-		else
-			return Signedness.NONE;
-	}
-
-	public String translateAnnotation(Class annotation_type) {
-		if ( annotation_type.equals(GLuint.class) || annotation_type.equals(GLint.class) )
-			return "i";
-		else if ( annotation_type.equals(GLushort.class) || annotation_type.equals(GLshort.class) )
-			return "s";
-		else if ( annotation_type.equals(GLubyte.class) || annotation_type.equals(GLbyte.class) )
-			return "b";
-		else if ( annotation_type.equals(GLfloat.class) )
-			return "f";
-		else if ( annotation_type.equals(GLdouble.class) )
-			return "d";
-		else if ( annotation_type.equals(GLhalf.class) )
-			return "h";
-		else if ( annotation_type.equals(GLuint64EXT.class) || annotation_type.equals(GLint64EXT.class) || annotation_type.equals(GLuint64.class) || annotation_type.equals(GLint64.class) )
-			return "i64";
-		else if ( annotation_type.equals(GLboolean.class) || annotation_type.equals(GLvoid.class) )
-			return "";
-		else
-			throw new RuntimeException(annotation_type + " is not allowed");
-	}
-
-	public Class getNativeTypeFromPrimitiveType(PrimitiveType.Kind kind) {
-		Class type;
-		switch ( kind ) {
-			case INT:
-				type = GLint.class;
-				break;
-			case DOUBLE:
-				type = GLdouble.class;
-				break;
-			case FLOAT:
-				type = GLfloat.class;
-				break;
-			case SHORT:
-				type = GLshort.class;
-				break;
-			case BYTE:
-				type = GLbyte.class;
-				break;
-			case LONG:
-				type = GLint64EXT.class;
-				break;
-			case BOOLEAN:
-				type = GLboolean.class;
-				break;
-			default:
-				throw new RuntimeException(kind + " is not allowed");
-		}
-		return type;
-	}
-
-	public Class getVoidType() {
-		return GLvoid.class;
-	}
-
-	public Class getStringElementType() {
-		return GLubyte.class;
-	}
-
-	private static Class[] getValidBufferTypes(Class type) {
-		if ( type.equals(IntBuffer.class) )
-			return new Class[] { GLbitfield.class, GLenum.class, GLhandleARB.class, GLint.class,
-			                     GLsizei.class, GLuint.class, GLvoid.class };
-		else if ( type.equals(FloatBuffer.class) )
-			return new Class[] { GLclampf.class, GLfloat.class };
-		else if ( type.equals(ByteBuffer.class) )
-			return new Class[] { GLboolean.class, GLbyte.class, GLcharARB.class, GLchar.class, GLubyte.class, GLvoid.class };
-		else if ( type.equals(ShortBuffer.class) )
-			return new Class[] { GLhalf.class, GLshort.class, GLushort.class };
-		else if ( type.equals(DoubleBuffer.class) )
-			return new Class[] { GLclampd.class, GLdouble.class };
-		else if ( type.equals(LongBuffer.class) )
-			return new Class[] { GLint64EXT.class, GLuint64EXT.class, GLint64.class, GLuint64.class };
-		else
-			return new Class[] { };
-	}
-
-	private static Class[] getValidPrimitiveTypes(Class type) {
-		if ( type.equals(long.class) )
-			return new Class[] { GLintptrARB.class, GLuint.class, GLintptr.class, GLsizeiptrARB.class, GLsizeiptr.class, GLint64EXT.class, GLuint64EXT.class, GLint64.class, GLuint64.class };
-		else if ( type.equals(int.class) )
-			return new Class[] { GLbitfield.class, GLenum.class, GLhandleARB.class, GLint.class, GLuint.class,
-			                     GLsizei.class };
-		else if ( type.equals(double.class) )
-			return new Class[] { GLclampd.class, GLdouble.class };
-		else if ( type.equals(float.class) )
-			return new Class[] { GLclampf.class, GLfloat.class };
-		else if ( type.equals(short.class) )
-			return new Class[] { GLhalf.class, GLshort.class, GLushort.class };
-		else if ( type.equals(byte.class) )
-			return new Class[] { GLbyte.class, GLcharARB.class, GLchar.class, GLubyte.class };
-		else if ( type.equals(boolean.class) )
-			return new Class[] { GLboolean.class };
-		else if ( type.equals(void.class) )
-			return new Class[] { GLvoid.class, GLreturn.class };
-		else
-			return new Class[] { };
-	}
-
-	public String getTypedefPrefix() {
-		return "APIENTRY";
-	}
-
-	public void printNativeIncludes(PrintWriter writer) {
-		writer.println("#include \"extgl.h\"");
-	}
-
-	public Class[] getValidAnnotationTypes(Class type) {
-		Class[] valid_types;
-		if ( Buffer.class.isAssignableFrom(type) )
-			valid_types = getValidBufferTypes(type);
-		else if ( type.isPrimitive() )
-			valid_types = getValidPrimitiveTypes(type);
-		else if ( String.class.equals(type) )
-			valid_types = new Class[] { GLubyte.class };
-		else if ( PointerWrapper.class.isAssignableFrom(type) )
-			valid_types = new Class[] { GLpointer.class };
-		else if (void.class.equals(type) )
-			valid_types = new Class[] { GLreturn.class };
-		else
-			valid_types = new Class[] { };
-		return valid_types;
-	}
-
-	public Class getInverseType(Class type) {
-		if ( GLuint.class.equals(type) )
-			return GLint.class;
-		else if ( GLint.class.equals(type) )
-			return GLuint.class;
-		else if ( GLushort.class.equals(type) )
-			return GLshort.class;
-		else if ( GLshort.class.equals(type) )
-			return GLushort.class;
-		else if ( GLubyte.class.equals(type) )
-			return GLbyte.class;
-		else if ( GLbyte.class.equals(type) )
-			return GLubyte.class;
-		else if ( GLuint64EXT.class.equals(type) )
-			return GLint64EXT.class;
-		else if ( GLint64EXT.class.equals(type) )
-			return GLuint64EXT.class;
-		else if ( GLuint64.class.equals(type) )
-			return GLint64.class;
-		else if ( GLint64.class.equals(type) )
-			return GLuint64.class;
-		else
-			return null;
-	}
-
-	public String getAutoTypeFromAnnotation(AnnotationMirror annotation) {
-		Class annotation_class = NativeTypeTranslator.getClassFromType(annotation.getAnnotationType());
-		if ( annotation_class.equals(GLint.class) )
-			return "GL11.GL_INT";
-		else if ( annotation_class.equals(GLbyte.class) )
-			return "GL11.GL_BYTE";
-		else if ( annotation_class.equals(GLshort.class) )
-			return "GL11.GL_SHORT";
-		if ( annotation_class.equals(GLuint.class) )
-			return "GL11.GL_UNSIGNED_INT";
-		else if ( annotation_class.equals(GLubyte.class) )
-			return "GL11.GL_UNSIGNED_BYTE";
-		else if ( annotation_class.equals(GLushort.class) )
-			return "GL11.GL_UNSIGNED_SHORT";
-		else if ( annotation_class.equals(GLfloat.class) )
-			return "GL11.GL_FLOAT";
-		else if ( annotation_class.equals(GLdouble.class) )
-			return "GL11.GL_DOUBLE";
-		else
-			return null;
-	}
-}
diff --git a/src/java/org/lwjgl/util/generator/GLbitfield.java b/src/java/org/lwjgl/util/generator/GLbitfield.java
deleted file mode 100644
index 0e20c4d..0000000
--- a/src/java/org/lwjgl/util/generator/GLbitfield.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLbitfield.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLbitfield {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLboolean.java b/src/java/org/lwjgl/util/generator/GLboolean.java
deleted file mode 100644
index 0a850bd..0000000
--- a/src/java/org/lwjgl/util/generator/GLboolean.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLboolean.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLboolean {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLbyte.java b/src/java/org/lwjgl/util/generator/GLbyte.java
deleted file mode 100644
index f8edad6..0000000
--- a/src/java/org/lwjgl/util/generator/GLbyte.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLbyte.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLbyte {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLchar.java b/src/java/org/lwjgl/util/generator/GLchar.java
deleted file mode 100644
index 0b640fb..0000000
--- a/src/java/org/lwjgl/util/generator/GLchar.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLchar.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLchar {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLcharARB.java b/src/java/org/lwjgl/util/generator/GLcharARB.java
deleted file mode 100644
index 5491e8c..0000000
--- a/src/java/org/lwjgl/util/generator/GLcharARB.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLcharARB.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLcharARB {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLclampd.java b/src/java/org/lwjgl/util/generator/GLclampd.java
deleted file mode 100644
index 44c3dad..0000000
--- a/src/java/org/lwjgl/util/generator/GLclampd.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLclampd.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLclampd {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLclampf.java b/src/java/org/lwjgl/util/generator/GLclampf.java
deleted file mode 100644
index 0f05c23..0000000
--- a/src/java/org/lwjgl/util/generator/GLclampf.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLclampf.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLclampf {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLdouble.java b/src/java/org/lwjgl/util/generator/GLdouble.java
deleted file mode 100644
index c274e9d..0000000
--- a/src/java/org/lwjgl/util/generator/GLdouble.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLdouble.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLdouble {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLenum.java b/src/java/org/lwjgl/util/generator/GLenum.java
deleted file mode 100644
index 3d6021c..0000000
--- a/src/java/org/lwjgl/util/generator/GLenum.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLenum.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLenum {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLfloat.java b/src/java/org/lwjgl/util/generator/GLfloat.java
deleted file mode 100644
index de73dc7..0000000
--- a/src/java/org/lwjgl/util/generator/GLfloat.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLfloat.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLfloat {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLhalf.java b/src/java/org/lwjgl/util/generator/GLhalf.java
deleted file mode 100644
index d9ad0e6..0000000
--- a/src/java/org/lwjgl/util/generator/GLhalf.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLhalf.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLhalf {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLhandleARB.java b/src/java/org/lwjgl/util/generator/GLhandleARB.java
deleted file mode 100644
index 76322e9..0000000
--- a/src/java/org/lwjgl/util/generator/GLhandleARB.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLhandleARB.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLhandleARB {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLint.java b/src/java/org/lwjgl/util/generator/GLint.java
deleted file mode 100644
index 83febca..0000000
--- a/src/java/org/lwjgl/util/generator/GLint.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLint.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLint {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLint64.java b/src/java/org/lwjgl/util/generator/GLint64.java
deleted file mode 100644
index 564f620..0000000
--- a/src/java/org/lwjgl/util/generator/GLint64.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLint64 {
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/GLint64EXT.java b/src/java/org/lwjgl/util/generator/GLint64EXT.java
deleted file mode 100644
index ea24038..0000000
--- a/src/java/org/lwjgl/util/generator/GLint64EXT.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLint64EXT {
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/GLintptr.java b/src/java/org/lwjgl/util/generator/GLintptr.java
deleted file mode 100644
index 864d71a..0000000
--- a/src/java/org/lwjgl/util/generator/GLintptr.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLintptr.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLintptr {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLintptrARB.java b/src/java/org/lwjgl/util/generator/GLintptrARB.java
deleted file mode 100644
index 02da8f6..0000000
--- a/src/java/org/lwjgl/util/generator/GLintptrARB.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLintptrARB.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLintptrARB {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLpointer.java b/src/java/org/lwjgl/util/generator/GLpointer.java
deleted file mode 100644
index a961fdf..0000000
--- a/src/java/org/lwjgl/util/generator/GLpointer.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- * @author spasi <spasi at users.sourceforge.net>
- */
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLpointer {
-	String value(); // The native pointer type.
-	boolean canBeNull() default false; // Whether the pointer may be null.
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/GLreturn.java b/src/java/org/lwjgl/util/generator/GLreturn.java
deleted file mode 100644
index 3db89bc..0000000
--- a/src/java/org/lwjgl/util/generator/GLreturn.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- * When a method is annonated with @GLreturn, the specified output Buffer parameter
- * will be used to return a single value. The primitive type will match the Buffer type.
- * String will be returned if the Buffer is a ByteBuffer annotated with @GLchar.
- *
- * @author spasi
- */
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-
- at NativeType
- at Target({ ElementType.METHOD })
-public @interface GLreturn {
-	/** The Buffer parameter to use as the method result. */
-	String value();
-	/** The argument that specifies the maximum number of bytes that may be read (String results only). */
-	String maxLength() default "";
-	/** If true, the maxLength value is going to be used when creating the String. */
-	boolean forceMaxLength() default false;
-	///** If we use the byte buffer for another parameter, an offset must be used. */
-	//String offset() default "";
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/GLshort.java b/src/java/org/lwjgl/util/generator/GLshort.java
deleted file mode 100644
index a23c01d..0000000
--- a/src/java/org/lwjgl/util/generator/GLshort.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLshort.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLshort {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLsizei.java b/src/java/org/lwjgl/util/generator/GLsizei.java
deleted file mode 100644
index 74f5e9c..0000000
--- a/src/java/org/lwjgl/util/generator/GLsizei.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLsizei.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLsizei {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLsizeiptr.java b/src/java/org/lwjgl/util/generator/GLsizeiptr.java
deleted file mode 100644
index 294caf1..0000000
--- a/src/java/org/lwjgl/util/generator/GLsizeiptr.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLsizeiptr.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLsizeiptr {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLsizeiptrARB.java b/src/java/org/lwjgl/util/generator/GLsizeiptrARB.java
deleted file mode 100644
index 6ae767b..0000000
--- a/src/java/org/lwjgl/util/generator/GLsizeiptrARB.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLsizeiptrARB.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLsizeiptrARB {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLtime.java b/src/java/org/lwjgl/util/generator/GLtime.java
deleted file mode 100644
index 039deb6..0000000
--- a/src/java/org/lwjgl/util/generator/GLtime.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- * Unsigned binary representing an absolute absolute or relative time interval.
- * Precision is nanoseconds but accuracy is implementation-dependent.
- *
- * @author spasi <spasi at users.sourceforge.net>
- */
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLtime {
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/GLubyte.java b/src/java/org/lwjgl/util/generator/GLubyte.java
deleted file mode 100644
index 9f613cd..0000000
--- a/src/java/org/lwjgl/util/generator/GLubyte.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLubyte.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLubyte {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLuint.java b/src/java/org/lwjgl/util/generator/GLuint.java
deleted file mode 100644
index 707c394..0000000
--- a/src/java/org/lwjgl/util/generator/GLuint.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLuint.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLuint {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLuint64.java b/src/java/org/lwjgl/util/generator/GLuint64.java
deleted file mode 100644
index 925986a..0000000
--- a/src/java/org/lwjgl/util/generator/GLuint64.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLuint64 {
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/GLuint64EXT.java b/src/java/org/lwjgl/util/generator/GLuint64EXT.java
deleted file mode 100644
index 9c61898..0000000
--- a/src/java/org/lwjgl/util/generator/GLuint64EXT.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLuint64EXT {
-}
\ No newline at end of file
diff --git a/src/java/org/lwjgl/util/generator/GLushort.java b/src/java/org/lwjgl/util/generator/GLushort.java
deleted file mode 100644
index 77b0fba..0000000
--- a/src/java/org/lwjgl/util/generator/GLushort.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 2983 $
- * $Id: GLushort.java 2983 2008-04-07 18:36:09Z matzon $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLushort {
-}
diff --git a/src/java/org/lwjgl/util/generator/GLvoid.java b/src/java/org/lwjgl/util/generator/GLvoid.java
deleted file mode 100644
index 6fe6bde..0000000
--- a/src/java/org/lwjgl/util/generator/GLvoid.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 3279 $
- * $Id: GLvoid.java 3279 2010-03-11 21:06:49Z spasi $
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
-import com.sun.mirror.type.PrimitiveType;
-
- at NativeType
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface GLvoid {
-	PrimitiveType.Kind value() default PrimitiveType.Kind.BYTE; 
-}
diff --git a/src/java/org/lwjgl/util/generator/ReferencesGeneratorProcessorFactory.java b/src/java/org/lwjgl/util/generator/ReferencesGeneratorProcessorFactory.java
deleted file mode 100644
index 9f7999f..0000000
--- a/src/java/org/lwjgl/util/generator/ReferencesGeneratorProcessorFactory.java
+++ /dev/null
@@ -1,205 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package org.lwjgl.util.generator;
-
-import static java.util.Collections.emptyList;
-import static java.util.Collections.unmodifiableCollection;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Set;
-
-import com.sun.mirror.apt.AnnotationProcessor;
-import com.sun.mirror.apt.AnnotationProcessorEnvironment;
-import com.sun.mirror.apt.AnnotationProcessorFactory;
-import com.sun.mirror.apt.AnnotationProcessors;
-import com.sun.mirror.apt.Filer;
-import com.sun.mirror.apt.RoundCompleteEvent;
-import com.sun.mirror.apt.RoundCompleteListener;
-import com.sun.mirror.declaration.AnnotationTypeDeclaration;
-import com.sun.mirror.declaration.InterfaceDeclaration;
-import com.sun.mirror.declaration.MethodDeclaration;
-import com.sun.mirror.declaration.ParameterDeclaration;
-import com.sun.mirror.declaration.TypeDeclaration;
-import com.sun.mirror.util.DeclarationFilter;
-
-/**
- *
- * Generator tool for creating the References class
- *
- * @author elias_naur <elias_naur at users.sourceforge.net>
- * @version $Revision: 3237 $
- * $Id: ReferencesGeneratorProcessorFactory.java 3237 2009-09-08 15:07:15Z spasi $
- */
-public class ReferencesGeneratorProcessorFactory implements AnnotationProcessorFactory, RoundCompleteListener {
-	private final static String REFERENCES_CLASS_NAME = "References";
-	private final static String REFERENCES_PARAMETER_NAME = "references";
-
-	private static boolean first_round = true;
-
-	// Process any set of annotations
-	private static final Collection<String> supportedAnnotations =
-		unmodifiableCollection(Arrays.asList("*"));
-
-	public Collection<String> supportedAnnotationTypes() {
-		return supportedAnnotations;
-	}
-
-	public Collection<String> supportedOptions() {
-		return emptyList();
-	}
-
-	public void roundComplete(RoundCompleteEvent event) {
-		first_round = false;
-	}
-
-	public AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env) {
-		// Only process the initial types, not the generated ones
-		if (first_round) {
-			env.addListener(this);
-			return new GeneratorProcessor(env);
-		} else
-			return AnnotationProcessors.NO_OP;
-	}
-
-	private static class GeneratorProcessor implements AnnotationProcessor {
-		private final AnnotationProcessorEnvironment env;
-
-		GeneratorProcessor(AnnotationProcessorEnvironment env) {
-			this.env = env;
-		}
-
-		public void process() {
-			try {
-				generateReferencesSource();
-			} catch (IOException e) {
-				throw new RuntimeException(e);
-			}
-		}
-
-		private static void generateClearsFromParameters(PrintWriter writer, InterfaceDeclaration interface_decl, MethodDeclaration method) {
-			for (ParameterDeclaration param : method.getParameters()) {
-				CachedReference cached_reference_annotation = param.getAnnotation(CachedReference.class);
-				if (cached_reference_annotation != null && cached_reference_annotation.name().length() == 0) {
-					Class nio_type = Utils.getNIOBufferType(param.getType());
-					String reference_name = Utils.getReferenceName(interface_decl, method, param);
-					writer.println("\t\tthis." + reference_name + " = null;");
-				}
-			}
-		}
-
-		private static void generateCopiesFromParameters(PrintWriter writer, InterfaceDeclaration interface_decl, MethodDeclaration method) {
-			for (ParameterDeclaration param : method.getParameters()) {
-				CachedReference cached_reference_annotation = param.getAnnotation(CachedReference.class);
-				if (cached_reference_annotation != null && cached_reference_annotation.name().length() == 0) {
-					Class nio_type = Utils.getNIOBufferType(param.getType());
-					String reference_name = Utils.getReferenceName(interface_decl, method, param);
-					writer.print("\t\t\tthis." + reference_name + " = ");
-					writer.println(REFERENCES_PARAMETER_NAME + "." + reference_name + ";");
-				}
-			}
-		}
-
-		private static void generateClearsFromMethods(PrintWriter writer, InterfaceDeclaration interface_decl) {
-			for (MethodDeclaration method : interface_decl.getMethods()) {
-				generateClearsFromParameters(writer, interface_decl, method);
-			}
-		}
-
-		private static void generateCopiesFromMethods(PrintWriter writer, InterfaceDeclaration interface_decl) {
-			for (MethodDeclaration method : interface_decl.getMethods()) {
-				generateCopiesFromParameters(writer, interface_decl, method);
-			}
-		}
-
-		private static void generateReferencesFromParameters(PrintWriter writer, InterfaceDeclaration interface_decl, MethodDeclaration method) {
-			for (ParameterDeclaration param : method.getParameters()) {
-				CachedReference cached_reference_annotation = param.getAnnotation(CachedReference.class);
-				if (cached_reference_annotation != null && cached_reference_annotation.name().length() == 0) {
-					Class nio_type = Utils.getNIOBufferType(param.getType());
-					if (nio_type == null)
-						throw new RuntimeException(param + " in method " + method + " in " + interface_decl + " is annotated with "
-								+ cached_reference_annotation.annotationType().getSimpleName() + " but the parameter is not a NIO buffer");
-					writer.print("\t" + nio_type.getName() + " " + Utils.getReferenceName(interface_decl, method, param));
-					writer.println(";");
-				}
-			}
-		}
-
-		private static void generateReferencesFromMethods(PrintWriter writer, InterfaceDeclaration interface_decl) {
-			for (MethodDeclaration method : interface_decl.getMethods()) {
-				generateReferencesFromParameters(writer, interface_decl, method);
-			}
-		}
-
-		private void generateReferencesSource() throws IOException {
-			PrintWriter writer = env.getFiler().createTextFile(Filer.Location.SOURCE_TREE, "org.lwjgl.opengl", new File(REFERENCES_CLASS_NAME + ".java"), null);
-			writer.println("/* MACHINE GENERATED FILE, DO NOT EDIT */");
-			writer.println();
-			writer.println("package org.lwjgl.opengl;");
-			writer.println();
-			writer.println("class " + REFERENCES_CLASS_NAME + " extends BaseReferences {");
-                        writer.println("\t" + REFERENCES_CLASS_NAME + "(ContextCapabilities caps) {");
-                        writer.println("\t\tsuper(caps);");
-                        writer.println("\t}");
-			DeclarationFilter filter = DeclarationFilter.getFilter(InterfaceDeclaration.class);
-			Collection<TypeDeclaration> interface_decls = filter.filter(env.getSpecifiedTypeDeclarations());
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				generateReferencesFromMethods(writer, interface_decl);
-			}
-			writer.println();
-			writer.println("\tvoid copy(" + REFERENCES_CLASS_NAME + " " + REFERENCES_PARAMETER_NAME + ", int mask) {");
-			writer.println("\t\tsuper.copy(" + REFERENCES_PARAMETER_NAME + ", mask);");
-			writer.println("\t\tif ( (mask & GL11.GL_CLIENT_VERTEX_ARRAY_BIT) != 0 ) {");
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				generateCopiesFromMethods(writer, interface_decl);
-			}
-			writer.println("\t\t}");
-			writer.println("\t}");
-			writer.println("\tvoid clear() {");
-			writer.println("\t\tsuper.clear();");
-			for (TypeDeclaration typedecl : interface_decls) {
-				InterfaceDeclaration interface_decl = (InterfaceDeclaration)typedecl;
-				generateClearsFromMethods(writer, interface_decl);
-			}
-			writer.println("\t}");
-			writer.println("}");
-			writer.close();
-		}
-	}
-}
diff --git a/src/java/org/lwjgl/util/generator/StringList.java b/src/java/org/lwjgl/util/generator/StringList.java
deleted file mode 100644
index 91f1091..0000000
--- a/src/java/org/lwjgl/util/generator/StringList.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-package org.lwjgl.util.generator;
-
-/**
- *
- * @author spasi <spasi at users.sourceforge.net>
- */
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
-
- at Target({ElementType.PARAMETER, ElementType.METHOD})
-public @interface StringList {
-	/** Number of values in the string list (name of native-side parameter) */
-	String value();
-	/** List of string lengths (name of native-side parameter) */
-	String lengths() default "";
-}
\ No newline at end of file
diff --git a/src/native/common/org_lwjgl_opengl_AMDDebugOutputCallback.c b/src/native/common/org_lwjgl_opengl_AMDDebugOutputCallback.c
deleted file mode 100644
index 231b4bd..0000000
--- a/src/native/common/org_lwjgl_opengl_AMDDebugOutputCallback.c
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2002-2008 LWJGL Project
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- *   notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- *   notice, this list of conditions and the following disclaimer in the
- *   documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'LWJGL' nor the names of
- *   its contributors may be used to endorse or promote products derived
- *   from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * JNI implementation of the AMD_debug_output function callback.
- *
- * @author Spasi
- */
-
-#include <jni.h>
-#include "common_tools.h"
-#include "extgl.h"
-#include "org_lwjgl_opengl_AMDDebugOutputCallback.h"
-
-static void APIENTRY debugOutputCallback(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam) {
-    jclass callback_class;
-	jmethodID callback_method;
-	JNIEnv *env = getThreadEnv();
-	if (env != NULL && !(*env)->ExceptionOccurred(env)) {
-		callback_class = (*env)->FindClass(env, "org/lwjgl/opengl/AMDDebugOutputUtil");
-		if ( callback_class != NULL ) {
-			callback_method = (*env)->GetStaticMethodID(env, callback_class, "messageCallback", "(IIILjava/lang/String;Ljava/nio/ByteBuffer;)V");
-			if ( callback_method != NULL ) {
-				(*env)->CallStaticVoidMethod(env, callback_class, callback_method,
-                            (jint)id,
-				            (jint)category,
-				            (jint)severity,
-                            NewStringNativeWithLength(env, message, length),
-				            NULL
-                );
-			}
-		}
-	}
-}
-
-JNIEXPORT jlong JNICALL Java_org_lwjgl_opengl_AMDDebugOutputCallback_getFunctionPointer(JNIEnv *env, jclass clazz) {
-    return (jlong)(intptr_t)&debugOutputCallback;
-}


hooks/post-receive
-- 
lwjgl - Lightweight Java Game Library



More information about the pkg-java-commits mailing list