applied patch to move ID tag
This commit is contained in:
parent
0c539252b4
commit
8a3bee6b1c
|
@ -39,7 +39,6 @@ import java.nio.IntBuffer;
|
|||
import java.nio.ShortBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>A class to check buffer boundaries in general. If there is unsufficient space
|
||||
* in the buffer when the call is made then a buffer overflow would otherwise
|
||||
* occur and cause unexpected behaviour, a crash, or worse, a security risk.
|
||||
|
@ -47,6 +46,7 @@ import java.nio.ShortBuffer;
|
|||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class BufferChecks {
|
||||
/** Static methods only! */
|
||||
|
|
|
@ -42,12 +42,11 @@ import java.nio.LongBuffer;
|
|||
import java.nio.ShortBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Some often-used Buffer code for creating native buffers of the appropriate size.
|
||||
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public final class BufferUtils {
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl;
|
|||
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
abstract class DefaultSysImplementation implements SysImplementation {
|
||||
/** The native library name */
|
||||
|
|
|
@ -35,11 +35,11 @@ import javax.swing.JOptionPane;
|
|||
import javax.swing.UIManager;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A SysImplementation which delegates as much as it can to J2SE.
|
||||
* <p>
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
abstract class J2SESysImplementation extends DefaultSysImplementation {
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* This exception is supplied to make exception handling more generic for LWJGL
|
||||
* specific exceptions
|
||||
|
@ -40,6 +39,7 @@ package org.lwjgl;
|
|||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class LWJGLException extends Exception {
|
||||
|
||||
|
|
|
@ -43,13 +43,13 @@ import java.util.List;
|
|||
import java.util.StringTokenizer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* Internal library methods
|
||||
* </p>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class LWJGLUtil {
|
||||
public static final int PLATFORM_LINUX = 1;
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.security.PrivilegedActionException;
|
|||
import java.security.PrivilegedExceptionAction;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
class LinuxSysImplementation extends J2SESysImplementation {
|
||||
static {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.security.AccessController;
|
|||
import java.security.PrivilegedExceptionAction;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
class MacOSXSysImplementation extends J2SESysImplementation {
|
||||
public String[] getNativeLibraryNames() {
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
package org.lwjgl;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A SysImplementation that uses native calls only.
|
||||
* <p>
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
class NativeSysImplementation extends DefaultSysImplementation {
|
||||
|
||||
|
|
|
@ -41,12 +41,12 @@ import java.security.PrivilegedExceptionAction;
|
|||
import org.lwjgl.input.Mouse;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* System class (named Sys so as not to conflict with java.lang.System)
|
||||
* </p>
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class Sys {
|
||||
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* System class platform specific method interface
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
interface SysImplementation {
|
||||
/**
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* Win32 SysImplementation. This is just a straightforward NativsSysImplementation.
|
||||
* </p>
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
class Win32SysImplementation extends NativeSysImplementation {
|
||||
}
|
||||
|
|
|
@ -43,7 +43,6 @@ import org.lwjgl.BufferChecks;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* The core DevIL API.
|
||||
* </p>
|
||||
|
@ -51,6 +50,7 @@ import org.lwjgl.LWJGLException;
|
|||
* @author captainjester <captainjester@users.sourceforge.net>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class IL {
|
||||
|
||||
|
|
|
@ -35,13 +35,13 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.LWJGLUtil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* Native interface for DevIL
|
||||
* </p>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
class ILNative {
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ import org.lwjgl.BufferChecks;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* The DevIL ILU API.
|
||||
* </p>
|
||||
|
@ -45,6 +44,7 @@ import org.lwjgl.LWJGLException;
|
|||
* @author captainjester <captainjester@users.sourceforge.net>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ILU {
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ import java.nio.IntBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* The DevIL ILUT API.
|
||||
* </p>
|
||||
|
@ -45,6 +44,7 @@ import org.lwjgl.LWJGLException;
|
|||
* @author captainjester <captainjester@users.sourceforge.net>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ILUT {
|
||||
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.devil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* ILinfo information holding class.
|
||||
*
|
||||
* @author captainjester <captainjester@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ILinfo {
|
||||
public int id; // the image's id
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.devil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* ILpointf information holding class.
|
||||
*
|
||||
* @author captainjester <captainjester@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ILpointf {
|
||||
public float x;
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.devil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* ILpointi information holding class.
|
||||
*
|
||||
* @author captainjester <captainjester@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ILpointi {
|
||||
public int x;
|
||||
|
|
|
@ -38,12 +38,12 @@ import org.lwjgl.opengl.Display;
|
|||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This is a <em>very basic</em> skeleton to init a game and run it.
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Game {
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ import org.lwjgl.util.WaveData;
|
|||
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* Simple sound manager for OpenAL using n sources accessed in
|
||||
* a round robin schedule. Source n is reserved for a single buffer and checking for
|
||||
|
@ -49,6 +48,7 @@ import org.lwjgl.util.WaveData;
|
|||
* </p>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class SoundManager {
|
||||
|
||||
|
|
|
@ -40,10 +40,10 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.LWJGLUtil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FMOD {
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ import org.lwjgl.LWJGLException;
|
|||
|
||||
/**
|
||||
* FMOD Exception specific for FMOD exceptions (duh!)
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FMODException extends LWJGLException {
|
||||
|
||||
|
|
|
@ -39,10 +39,10 @@ import java.util.ArrayList;
|
|||
import org.lwjgl.fmod3.callbacks.FMusicCallback;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FMusic {
|
||||
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3;
|
|||
|
||||
/**
|
||||
* This class is a representation of a Module in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FMusicModule {
|
||||
/** Handle to module */
|
||||
|
|
|
@ -48,10 +48,10 @@ import org.lwjgl.fmod3.callbacks.FSoundStreamCallback;
|
|||
import org.lwjgl.fmod3.callbacks.FSoundTellCallback;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSound {
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* This class is a representation of a DSPUnit in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundDSPUnit {
|
||||
/** Opaque handle to dsp unit */
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3;
|
|||
|
||||
/**
|
||||
* This class is a representation of a Reverb channel property object in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundReverbChannelProperties {
|
||||
/** Handle to stream */
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3;
|
|||
|
||||
/**
|
||||
* This class is a representation of a Reverb property object in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundReverbProperties {
|
||||
/** Handle to stream */
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3;
|
|||
|
||||
/**
|
||||
* This class is a representation of a Sound Sample in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundSample {
|
||||
/** Handle to sample */
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.fmod3;
|
|||
import java.nio.ByteBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundSampleLock {
|
||||
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3;
|
|||
|
||||
/**
|
||||
* This class is a representation of a Sound stream in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundStream {
|
||||
/** Handle to stream */
|
||||
|
|
|
@ -35,10 +35,10 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* This class is a representation of a SyncPoint in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundSyncPoint {
|
||||
/** Opaque handle to syncpoint */
|
||||
|
|
|
@ -35,10 +35,10 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* This class defines attributes in a tag field
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundTagField {
|
||||
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3;
|
|||
|
||||
/**
|
||||
* This class is a representation of a FSOUND_TOC_TAG property object in FMod.
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FSoundTocTag {
|
||||
/** Handle to toc */
|
||||
|
|
|
@ -35,10 +35,10 @@ import org.lwjgl.fmod3.FMusicModule;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FMusicCallback {
|
||||
public void FMUSIC_CALLBACK(FMusicModule module, int param);
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3.callbacks;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundCloseCallback {
|
||||
public void FSOUND_CLOSECALLBACK(int handle);
|
||||
|
|
|
@ -35,10 +35,10 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundDSPCallback {
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundMetaDataCallback {
|
||||
public void FSOUND_METADATACALLBACK(ByteBuffer name, ByteBuffer value);
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3.callbacks;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundOpenCallback {
|
||||
public int FSOUND_OPENCALLBACK(String name);
|
||||
|
|
|
@ -35,10 +35,10 @@ import java.nio.ByteBuffer;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundReadCallback {
|
||||
public int FSOUND_READCALLBACK(ByteBuffer buffer, int size, int handle);
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3.callbacks;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundSeekCallback {
|
||||
public int FSOUND_SEEKCALLBACK(int handle, int pos, int mode);
|
||||
|
|
|
@ -37,10 +37,10 @@ import org.lwjgl.fmod3.FSoundStream;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundStreamCallback {
|
||||
public void FSOUND_STREAMCALLBACK(FSoundStream stream, ByteBuffer buff, int len);
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.fmod3.callbacks;
|
|||
|
||||
/**
|
||||
* This interface describes a callback interface to Fmod music
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FSoundTellCallback {
|
||||
public int FSOUND_TELLCALLBACK(int handle);
|
||||
|
|
|
@ -41,13 +41,13 @@ import org.lwjgl.Sys;
|
|||
import org.lwjgl.opengl.Display;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A class representing a native cursor. Instances of this
|
||||
* class can be used with Mouse.setCursor(), if available.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public class Cursor {
|
||||
|
|
|
@ -44,7 +44,6 @@ import org.lwjgl.Sys;
|
|||
import org.lwjgl.opengl.Display;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* A raw Keyboard interface. This can be used to poll the current state of the
|
||||
* keys, or read all the keyboard presses / releases since the last read.
|
||||
|
@ -53,6 +52,7 @@ import org.lwjgl.opengl.Display;
|
|||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Keyboard {
|
||||
/**
|
||||
|
|
|
@ -43,7 +43,6 @@ import org.lwjgl.Sys;
|
|||
import org.lwjgl.opengl.Display;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* A raw Mouse interface. This can be used to poll the current state of the
|
||||
* mouse buttons, and determine the mouse movement delta since the last poll.
|
||||
|
@ -57,6 +56,7 @@ import org.lwjgl.opengl.Display;
|
|||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Mouse {
|
||||
/** Has the mouse been created? */
|
||||
|
|
|
@ -38,12 +38,12 @@ import org.lwjgl.LWJGLUtil;
|
|||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* This is the OpenAL class. It extends the latest core.
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class AL {
|
||||
/** ALCdevice instance. */
|
||||
|
|
|
@ -39,7 +39,6 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* <p>
|
||||
* This is the context class for OpenAL. This class implements functions
|
||||
|
@ -66,6 +65,7 @@ import org.lwjgl.Sys;
|
|||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class ALC {
|
||||
/** Bad value */
|
||||
|
|
|
@ -36,12 +36,12 @@ import java.nio.IntBuffer;
|
|||
import org.lwjgl.BufferUtils;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Wrapper class, to make ALC contexts behave like the orginal api.
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class ALCcontext {
|
||||
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.openal;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Wrapper class, to make ALC devices behave like the orginal api.
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class ALCdevice {
|
||||
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.openal;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Thrown by the debug build library of the LWJGL if any OpenAL operation
|
||||
* causes an error.
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class OpenALException extends RuntimeException {
|
||||
|
||||
|
|
|
@ -37,10 +37,10 @@ import java.awt.GraphicsDevice;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
interface AWTCanvasImplementation {
|
||||
/**
|
||||
|
|
|
@ -47,12 +47,12 @@ import org.lwjgl.LWJGLUtil;
|
|||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* An AWT rendering context.
|
||||
* <p>
|
||||
* @version $Revision$
|
||||
* @author $Author$
|
||||
* $Id$
|
||||
*/
|
||||
public class AWTGLCanvas extends Canvas implements Drawable, ComponentListener, HierarchyListener {
|
||||
private final static AWTCanvasImplementation implementation;
|
||||
|
|
|
@ -41,10 +41,10 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.LWJGLUtil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class AWTSurfaceLock {
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ import org.lwjgl.LWJGLUtil;
|
|||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* Context encapsulates an OpenGL context.
|
||||
* <p/>
|
||||
|
@ -47,6 +46,7 @@ import org.lwjgl.Sys;
|
|||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class Context {
|
||||
/**
|
||||
|
|
|
@ -36,13 +36,13 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* Context implementation interface.
|
||||
* <p/>
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
interface ContextImplementation {
|
||||
/**
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This class encapsulates the properties for a given display mode.
|
||||
* This class is not instantiable, and is aquired from the <code>Display.
|
||||
|
@ -40,6 +39,7 @@ package org.lwjgl.opengl;
|
|||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public final class DisplayMode {
|
||||
|
|
|
@ -37,7 +37,7 @@ import java.nio.IntBuffer;
|
|||
import org.lwjgl.BufferUtils;
|
||||
|
||||
/**
|
||||
* $Id$ A class to check buffer boundaries in GL methods. Many GL
|
||||
* A class to check buffer boundaries in GL methods. Many GL
|
||||
* methods read data from the GL into a native Buffer at its current position. If there is unsufficient space in the buffer when
|
||||
* the call is made then a buffer overflow would otherwise occur and cause unexpected behaviour, a crash, or worse, a security
|
||||
* risk. Therefore in those methods where GL reads data back into a buffer, we will call a bounds check method from this class
|
||||
|
@ -47,6 +47,7 @@ import org.lwjgl.BufferUtils;
|
|||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
class GLChecks {
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ import org.lwjgl.LWJGLUtil;
|
|||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* Manages GL contexts. Before any rendering is done by a LWJGL system, a call should be made to GLContext.useContext() with a
|
||||
* context. This will ensure that GLContext has an accurate reflection of the current context's capabilities and function
|
||||
|
@ -58,6 +57,7 @@ import org.lwjgl.Sys;
|
|||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class GLContext {
|
||||
/**
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.opengl;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* GLU constants.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface GLUConstants {
|
||||
|
||||
|
|
|
@ -37,10 +37,10 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.LWJGLUtil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class LinuxAWTGLCanvasPeerInfo extends LinuxPeerInfo {
|
||||
private final AWTGLCanvas canvas;
|
||||
|
|
|
@ -41,10 +41,10 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.LWJGLUtil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class LinuxCanvasImplementation implements AWTCanvasImplementation {
|
||||
static int getScreenFromDevice(final GraphicsDevice device) throws LWJGLException {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class LinuxContextImplementation implements ContextImplementation {
|
||||
public ByteBuffer create(PeerInfo peer_info, ByteBuffer shared_context_handle) throws LWJGLException {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class LinuxDisplayPeerInfo extends LinuxPeerInfo {
|
||||
public LinuxDisplayPeerInfo(PixelFormat pixel_format) throws LWJGLException {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class LinuxPbufferPeerInfo extends LinuxPeerInfo {
|
||||
public LinuxPbufferPeerInfo(int width, int height, PixelFormat pixel_format) throws LWJGLException {
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.opengl;
|
|||
import java.nio.ByteBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
abstract class LinuxPeerInfo extends PeerInfo {
|
||||
public LinuxPeerInfo() {
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.opengl;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class MacOSXAWTGLCanvasPeerInfo extends MacOSXCanvasPeerInfo {
|
||||
private final AWTGLCanvas canvas;
|
||||
|
|
|
@ -37,10 +37,10 @@ import java.awt.GraphicsDevice;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class MacOSXCanvasImplementation implements AWTCanvasImplementation {
|
||||
public PeerInfo createPeerInfo(AWTGLCanvas canvas, PixelFormat pixel_format) throws LWJGLException {
|
||||
|
|
|
@ -37,10 +37,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
abstract class MacOSXCanvasPeerInfo extends MacOSXPeerInfo {
|
||||
private final AWTSurfaceLock awt_surface = new AWTSurfaceLock();
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class MacOSXContextImplementation implements ContextImplementation {
|
||||
public ByteBuffer create(PeerInfo peer_info, ByteBuffer shared_context_handle) throws LWJGLException {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.awt.Canvas;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class MacOSXDisplayPeerInfo extends MacOSXCanvasPeerInfo {
|
||||
private boolean locked = false;
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class MacOSXPbufferPeerInfo extends MacOSXPeerInfo {
|
||||
public MacOSXPbufferPeerInfo(int width, int height, PixelFormat pixel_format) throws LWJGLException {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
abstract class MacOSXPeerInfo extends PeerInfo {
|
||||
public MacOSXPeerInfo(PixelFormat pixel_format, boolean use_display_bpp, boolean support_window, boolean support_pbuffer, boolean double_buffered) throws LWJGLException {
|
||||
|
|
|
@ -34,12 +34,12 @@ package org.lwjgl.opengl;
|
|||
import org.lwjgl.opengl.glu.GLU;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* Thrown by the debug build library of the LWJGL if any OpenGL operation causes an error.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class OpenGLException extends RuntimeException {
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ import org.lwjgl.LWJGLUtil;
|
|||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* Pbuffer encapsulates an OpenGL pbuffer.
|
||||
* <p/>
|
||||
|
@ -48,6 +47,7 @@ import org.lwjgl.Sys;
|
|||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class Pbuffer implements Drawable {
|
||||
/**
|
||||
|
|
|
@ -37,10 +37,10 @@ import org.lwjgl.LWJGLException;
|
|||
import org.lwjgl.LWJGLUtil;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
abstract class PeerInfo {
|
||||
private final ByteBuffer handle;
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class Win32AWTGLCanvasPeerInfo extends Win32PeerInfo {
|
||||
private final AWTGLCanvas canvas;
|
||||
|
|
|
@ -37,10 +37,10 @@ import java.awt.GraphicsDevice;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class Win32CanvasImplementation implements AWTCanvasImplementation {
|
||||
static {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class Win32ContextImplementation implements ContextImplementation {
|
||||
public ByteBuffer create(PeerInfo peer_info, ByteBuffer shared_context_handle) throws LWJGLException {
|
||||
|
|
|
@ -36,10 +36,10 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class Win32DisplayPeerInfo extends Win32PeerInfo {
|
||||
public Win32DisplayPeerInfo(PixelFormat pixel_format) throws LWJGLException {
|
||||
|
|
|
@ -37,10 +37,10 @@ import java.nio.IntBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
final class Win32PbufferPeerInfo extends Win32PeerInfo {
|
||||
public Win32PbufferPeerInfo(int width, int height, PixelFormat pixel_format, IntBuffer pixelFormatCaps, IntBuffer pBufferAttribs) throws LWJGLException {
|
||||
|
|
|
@ -37,10 +37,10 @@ import java.nio.IntBuffer;
|
|||
import org.lwjgl.LWJGLException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
abstract class Win32PeerInfo extends PeerInfo {
|
||||
public Win32PeerInfo() {
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.lwjgl.opengl.Display;
|
|||
import org.lwjgl.opengl.DisplayMode;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Test class for Display & DisplayMode
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class DisplayTest {
|
||||
|
||||
|
|
|
@ -37,12 +37,12 @@ import org.lwjgl.Sys;
|
|||
import org.lwjgl.opengl.Display;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Test class for Sys
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class SysTest {
|
||||
|
||||
|
|
|
@ -42,11 +42,11 @@ import org.lwjgl.devil.ILUT;
|
|||
import org.lwjgl.devil.ILinfo;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>The core DevIL and ILU API.</p>
|
||||
*
|
||||
* @author Mark Bernard <captainjester@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class BasicTest {
|
||||
|
||||
|
|
|
@ -41,10 +41,10 @@ import org.lwjgl.fmod3.FSound;
|
|||
import org.lwjgl.fmod3.FSoundStream;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class CDDAPlayer {
|
||||
|
||||
|
|
|
@ -40,10 +40,10 @@ import org.lwjgl.fmod3.FMODException;
|
|||
import org.lwjgl.fmod3.FSound;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class CDPlayer {
|
||||
|
||||
|
|
|
@ -44,10 +44,10 @@ import org.lwjgl.fmod3.callbacks.FSoundDSPCallback;
|
|||
import org.lwjgl.fmod3.callbacks.FSoundStreamCallback;
|
||||
|
||||
/**
|
||||
* $Id$ <br>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$ <br>
|
||||
*/
|
||||
public class DSPTest {
|
||||
|
||||
|
|
|
@ -41,10 +41,10 @@ import org.lwjgl.fmod3.FMusicModule;
|
|||
import org.lwjgl.fmod3.FSound;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class MusicPlayer {
|
||||
|
||||
|
|
|
@ -61,10 +61,10 @@ import org.lwjgl.fmod3.FSound;
|
|||
import org.lwjgl.fmod3.FSoundStream;
|
||||
|
||||
/**
|
||||
* $Id$ <br>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$ <br>
|
||||
*/
|
||||
public class NetTest {
|
||||
|
||||
|
|
|
@ -40,10 +40,10 @@ import org.lwjgl.fmod3.FSound;
|
|||
import org.lwjgl.fmod3.FSoundStream;
|
||||
|
||||
/**
|
||||
* $Id$ <br>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$ <br>
|
||||
*/
|
||||
public class StreamPlayer {
|
||||
|
||||
|
|
|
@ -42,10 +42,10 @@ import org.lwjgl.fmod3.FSound;
|
|||
import org.lwjgl.fmod3.FSoundStream;
|
||||
|
||||
/**
|
||||
* $Id$ <br>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$ <br>
|
||||
*/
|
||||
public class StreamPlayerMemory {
|
||||
|
||||
|
|
|
@ -39,10 +39,10 @@ import org.lwjgl.fmod3.FMODException;
|
|||
import org.lwjgl.fmod3.FSound;
|
||||
|
||||
/**
|
||||
* $Id$ <br>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$ <br>
|
||||
*/
|
||||
public class StreamTest {
|
||||
|
||||
|
|
|
@ -44,10 +44,10 @@ import org.lwjgl.fmod3.FSound;
|
|||
import org.lwjgl.fmod3.callbacks.FMusicCallback;
|
||||
|
||||
/**
|
||||
* $Id$ <br>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$ <br>
|
||||
*/
|
||||
public class SyncTest {
|
||||
|
||||
|
|
|
@ -42,10 +42,10 @@ import org.lwjgl.fmod3.FSoundStream;
|
|||
import org.lwjgl.fmod3.FSoundTagField;
|
||||
|
||||
/**
|
||||
* $Id$ <br>
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$ <br>
|
||||
*/
|
||||
public class TagFieldTest {
|
||||
|
||||
|
|
|
@ -44,12 +44,12 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.opengl.glu.GLU;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Tests switching between windowed and fullscreen - including hardware cursor test
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class HWCursorTest {
|
||||
|
||||
|
|
|
@ -39,12 +39,12 @@ import org.lwjgl.opengl.glu.GLU;
|
|||
import org.lwjgl.util.vector.Vector2f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Keyboard test
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class KeyboardTest {
|
||||
|
||||
|
|
|
@ -39,12 +39,12 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.util.vector.Vector2f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Mouse test
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class MouseCreationTest {
|
||||
/** position of quad to draw */
|
||||
|
|
|
@ -40,12 +40,12 @@ import org.lwjgl.util.vector.Vector2f;
|
|||
import org.lwjgl.util.vector.Vector3f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Mouse test
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class MouseTest {
|
||||
/** Direction mouse has moved */
|
||||
|
|
|
@ -37,12 +37,12 @@ import org.lwjgl.BufferUtils;
|
|||
import org.lwjgl.openal.ALC;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This is a test for the ALC part of OpenAL
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ALCTest extends BasicTest {
|
||||
|
||||
|
|
|
@ -39,12 +39,12 @@ import org.lwjgl.openal.AL10;
|
|||
import org.lwjgl.opengl.DisplayMode;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This is a basic test, which contains the most used stuff
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public abstract class BasicTest {
|
||||
|
||||
|
|
|
@ -41,13 +41,13 @@ import org.lwjgl.util.WaveData;
|
|||
import org.lwjgl.util.vector.Vector3f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This test simulates a listener positioned in the center, and
|
||||
* a source moving around the listener using the keyboard
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class MovingSoundTest extends BasicTest {
|
||||
|
||||
|
|
|
@ -40,13 +40,13 @@ import org.lwjgl.openal.AL10;
|
|||
import org.lwjgl.util.WaveData;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* Performs a creation test, by creating and destroying OpenAL twice.
|
||||
* We cannot inherit from BasicTest since it follows another structure.
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class OpenALCreationTest {
|
||||
|
||||
|
|
|
@ -42,13 +42,13 @@ import org.lwjgl.openal.AL10;
|
|||
import org.lwjgl.util.WaveData;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This is a basic play test
|
||||
* Yes, over zealous use of getError ;)
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class PlayTest extends BasicTest {
|
||||
|
||||
|
|
|
@ -42,13 +42,13 @@ import org.lwjgl.openal.AL10;
|
|||
import org.lwjgl.util.WaveData;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This is a basic play test
|
||||
* Yes, over zealous use of getError ;)
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class PlayTestMemory extends BasicTest {
|
||||
|
||||
|
|
|
@ -46,13 +46,13 @@ import org.lwjgl.opengl.glu.GLU;
|
|||
import org.lwjgl.util.WaveData;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* This test demonstrates OpenAL positioning Based on the example by Chad Armstrong
|
||||
* (http://www.edenwaith.com/products/pige/tutorials/openal.php)
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class PositionTest extends BasicTest {
|
||||
|
||||
|
|
|
@ -38,12 +38,12 @@ import org.lwjgl.openal.AL10;
|
|||
import org.lwjgl.openal.OpenALException;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Simple test for testing the number of available sources
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class SourceLimitTest extends BasicTest {
|
||||
|
||||
|
|
|
@ -38,12 +38,12 @@ import org.lwjgl.openal.AL10;
|
|||
import org.lwjgl.util.WaveData;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Simple test for stresstesting OpenAL playing random samples ad nausea
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class StressTest extends BasicTest {
|
||||
|
||||
|
|
|
@ -40,12 +40,12 @@ import org.lwjgl.opengl.glu.GLU;
|
|||
import org.lwjgl.util.vector.Vector2f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Tests switching between windowed and fullscreen
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class FullScreenWindowedTest {
|
||||
/** Intended deiplay mode */
|
||||
|
|
|
@ -46,12 +46,12 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.opengl.GLContext;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* This is the OpenGL "standard" Gears demo, originally by Brian Paul
|
||||
* </p>
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Gears {
|
||||
|
||||
|
|
|
@ -46,12 +46,12 @@ import org.lwjgl.opengl.glu.GLU;
|
|||
import org.lwjgl.util.vector.Vector2f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Tests Pbuffers
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class PbufferTest {
|
||||
|
||||
|
|
|
@ -44,12 +44,12 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.opengl.GLContext;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* AWT version of the gears demo
|
||||
* <p>
|
||||
* @version $Revision$
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* $Id$
|
||||
*/
|
||||
public class AWTGears extends Frame {
|
||||
|
||||
|
|
|
@ -41,12 +41,12 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.opengl.glu.GLU;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* Tests AWTGLCanvas functionality
|
||||
* <p>
|
||||
* @version $Revision$
|
||||
* @author $Author$
|
||||
* $Id$
|
||||
*/
|
||||
public class AWTTest extends Frame {
|
||||
|
||||
|
|
|
@ -57,11 +57,11 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.opengl.GLContext;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* </p>
|
||||
* @version $Revision$
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* $Id$
|
||||
*/
|
||||
public class DemoBox extends Frame {
|
||||
|
||||
|
|
|
@ -45,12 +45,12 @@ import org.lwjgl.opengl.glu.GLU;
|
|||
import org.lwjgl.util.vector.Vector2f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* Tests Pbuffers
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class PbufferTest {
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ import java.io.Serializable;
|
|||
import java.nio.ByteBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A mutable Color class
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class Color implements ReadableColor, Serializable, WritableColor {
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.util;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A 2D integer Dimension class, which looks remarkably like an AWT one.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class Dimension implements Serializable, ReadableDimension, WritableDimension {
|
||||
|
||||
|
|
|
@ -40,11 +40,11 @@ import org.lwjgl.LWJGLUtil;
|
|||
import org.lwjgl.opengl.DisplayMode;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Display initialization utility, that can be used to find display modes and pick
|
||||
* one for you based on your criteria.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class Display {
|
||||
|
||||
|
|
|
@ -72,12 +72,12 @@ import org.lwjgl.opengl.GL15;
|
|||
import org.lwjgl.opengl.GL20;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* An extensible GL class that contains all the GL11 through GL15 methods, and all the ARB and EXT extension methods.
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class GL {
|
||||
|
||||
|
|
|
@ -38,13 +38,13 @@ import java.nio.IntBuffer;
|
|||
import java.nio.ShortBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* An extensible GL class that contains all the GL11 through GL15 methods, and all the ARB and EXT extension methods - but this
|
||||
* time as instance methods, like JOGL, Magician, and GL4Java.
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class GLImpl implements IGL {
|
||||
|
||||
|
|
|
@ -38,12 +38,12 @@ import java.nio.IntBuffer;
|
|||
import java.nio.ShortBuffer;
|
||||
|
||||
/**
|
||||
* $Id$ This is an interface describing an Object that can render using
|
||||
* OpenGL1.1, 1.2, 1.3, 1.4, 1.5, and all the EXT and ARB extensions in the LWJGL library. Its main purpose is to stop
|
||||
* object-oriented zealots annoying us any more.
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$ This is an interface describing an Object that can render using
|
||||
*/
|
||||
public interface IGL {
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.util;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A 2D integer point class, which looks remarkably like an AWT one.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public final class Point implements ReadablePoint, WritablePoint, Serializable {
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.util;
|
|||
import java.nio.ByteBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Readonly interface for Colors
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface ReadableColor {
|
||||
|
||||
|
|
|
@ -32,11 +32,10 @@
|
|||
package org.lwjgl.util;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Readonly interface for Dimensions
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
|
||||
* $Id$
|
||||
*/
|
||||
public interface ReadableDimension {
|
||||
|
||||
|
|
|
@ -32,11 +32,10 @@
|
|||
package org.lwjgl.util;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Readonly interface for Points
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
|
||||
* $Id$
|
||||
*/
|
||||
public interface ReadablePoint {
|
||||
|
||||
|
|
|
@ -32,11 +32,10 @@
|
|||
package org.lwjgl.util;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Readonly interface for Rectangles
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
|
||||
* $Id$
|
||||
*/
|
||||
public interface ReadableRectangle extends ReadableDimension, ReadablePoint {
|
||||
|
||||
|
|
|
@ -34,11 +34,10 @@ package org.lwjgl.util;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A 2D integer Rectangle class which looks remarkably like an AWT one.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
|
||||
* $Id$
|
||||
*/
|
||||
public final class Rectangle implements ReadableRectangle, WritableRectangle, Serializable {
|
||||
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.util;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Simple interface to things that can be Rendered.
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface Renderable {
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ package org.lwjgl.util;
|
|||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A hires timer. This measures time in seconds as floating point values.
|
||||
* All Timers created are updated simultaneously by calling the static method
|
||||
|
@ -43,6 +42,7 @@ import org.lwjgl.Sys;
|
|||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Timer {
|
||||
|
||||
|
|
|
@ -47,12 +47,12 @@ import javax.sound.sampled.AudioSystem;
|
|||
import org.lwjgl.openal.AL10;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Utitlity class for loading wavefiles.
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class WaveData {
|
||||
/** actual wave data */
|
||||
|
|
|
@ -34,11 +34,10 @@ package org.lwjgl.util;
|
|||
import java.nio.ByteBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Write interface for Colors
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
|
||||
* $Id$
|
||||
*/
|
||||
public interface WritableColor {
|
||||
/**
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Write interface for Dimensions
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
|
||||
*/
|
||||
public interface WritableDimension {
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Write interface for Points
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface WritablePoint {
|
||||
public void setLocation(int x, int y);
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Write interface for Rectangles
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface WritableRectangle extends WritablePoint, WritableDimension {
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ import java.util.HashMap;
|
|||
import java.util.StringTokenizer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p>
|
||||
* NOTE: This simple XPM reader does not support extensions nor hotspots
|
||||
* </p>
|
||||
|
@ -20,6 +19,7 @@ import java.util.StringTokenizer;
|
|||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @author Jos Hirth
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public class XPMFile {
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* The OpenAL specific generator behaviour
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* AutoType and AutoSize is annotated with @Auto.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* AutoResultSize specifies that a parameter should determine
|
||||
* the size of a Buffer result.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* AutoSize specifies that a parameter should be pre-computed
|
||||
* according to the remaining() of a Buffer parameter.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Indicates that a parameter should be pre-computed according
|
||||
* to the type of a Buffer parameter.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public enum BufferKind {
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation implies that a Buffer parameter can be an
|
||||
* integer VBO/PBO offset.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation indicates that a buffer parameter is cached by
|
||||
* OpenGL.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -47,12 +47,12 @@ import java.nio.*;
|
|||
import java.lang.annotation.Annotation;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Generator visitor for the context capabilities generator tool
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ContextCapabilitiesGenerator {
|
||||
private final static String STUBS_LOADED_NAME = "loaded_stubs";
|
||||
|
|
|
@ -52,12 +52,12 @@ import static java.util.Collections.*;
|
|||
import static com.sun.mirror.util.DeclarationVisitors.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Generator tool for creating the ContexCapabilities class
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ContextGeneratorProcessorFactory implements AnnotationProcessorFactory, RoundCompleteListener {
|
||||
private static boolean first_round = true;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* OpenGL sepcific generator behaviour
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -44,13 +44,13 @@ import static java.util.Collections.*;
|
|||
import static com.sun.mirror.util.DeclarationVisitors.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Generator tool for creating the java classes and native code
|
||||
* from an annotated template java interface.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class GeneratorProcessorFactory implements AnnotationProcessorFactory, RoundCompleteListener {
|
||||
private static boolean first_round = true;
|
||||
|
|
|
@ -46,12 +46,12 @@ import java.io.File;
|
|||
import java.nio.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Generator visitor for the generator tool
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class GeneratorVisitor extends SimpleDeclarationVisitor {
|
||||
private final AnnotationProcessorEnvironment env;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Implies that a parameter is indirect, and forces the native
|
||||
* stub to use the indirection operator '&' on it.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -36,13 +36,13 @@ import com.sun.mirror.type.*;
|
|||
import com.sun.mirror.util.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A TypeVisitor that translates TypeMirrors to JNI
|
||||
* type strings.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class JNITypeTranslator implements TypeVisitor {
|
||||
private final StringBuilder signature = new StringBuilder();
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This class generates the methods in the generated java source files.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.apt.*;
|
||||
|
|
|
@ -36,13 +36,13 @@ import com.sun.mirror.type.*;
|
|||
import com.sun.mirror.util.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A TypeVisitor that translates (annotated) TypeMirrors to
|
||||
* java types (represented by a Class)
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class JavaTypeTranslator implements TypeVisitor {
|
||||
private Class type;
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This class generates the functions in the native source files.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.apt.*;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation indicates that another annotation is
|
||||
* a native type.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -33,13 +33,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A TypeVisitor that translates types (and optional native type
|
||||
* annotations) to the native type string.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation implies that a method should not include
|
||||
* error checking even if it is enabled.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation implies that a Buffer argument should be
|
||||
* checked for a trailing '\0'
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.io.PrintWriter;
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation implies that the corresponding native
|
||||
* function symbol is named after the platform specific
|
||||
|
@ -40,6 +39,7 @@ package org.lwjgl.util.generator;
|
|||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -33,13 +33,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A TypeVisitor that translates (annotated) TypeMirrors to
|
||||
* postfixes.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -52,12 +52,12 @@ import static java.util.Collections.*;
|
|||
import static com.sun.mirror.util.DeclarationVisitors.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Generator tool for creating the References class
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ReferencesGeneratorProcessorFactory implements AnnotationProcessorFactory, RoundCompleteListener {
|
||||
private final static String REFERENCES_CLASS_NAME = "References";
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This class generates the initNatives native function.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation indicates that the method result is in the
|
||||
* specified parameter.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A TypeVisitor that translates types to JNI signatures.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.type.*;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public enum Signedness {
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This annotation implies that a method have its postfix stripped
|
||||
* according to a specified Buffer parameter.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.lang.annotation.Target;
|
||||
|
|
|
@ -32,13 +32,13 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* This class represent a parameter configuration. There are multiple
|
||||
* TypeInfos in case of multityped parameters.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* The interface to the OpenAL/OpenGL specific generator behaviour
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A TypeVisitor that generates the native typedefs.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.declaration.*;
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.util.generator;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Various utility methods to the generator.
|
||||
*
|
||||
* @author elias_naur <elias_naur@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import com.sun.mirror.type.*;
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.util.model;
|
|||
import org.lwjgl.util.vector.Matrix4f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A BoneFrame describes a set of new positions for Bones in an animation.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class BoneFrame extends Frame {
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ import org.lwjgl.util.vector.Vector2f;
|
|||
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A simple animated, skinned, boned 3D model, consisting of a single mesh
|
||||
* with a single material. The model's internal format is optimised for RAM storage;
|
||||
|
@ -47,6 +46,7 @@ import org.lwjgl.util.vector.Vector2f;
|
|||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class BonedModel extends Model {
|
||||
|
||||
|
|
|
@ -34,12 +34,12 @@ package org.lwjgl.util.model;
|
|||
import org.lwjgl.util.vector.ReadableVector3f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A BonedVerex is a Vertex influenced by bone Weights
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class BonedVertex extends Vertex {
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.util.model;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* The base class for animation frames.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public abstract class Frame implements Serializable, Comparable {
|
||||
|
||||
|
|
|
@ -33,10 +33,10 @@ package org.lwjgl.util.model;
|
|||
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A MeshFrame describes a set of new positions for Vertices in an animation.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class MeshFrame extends Frame {
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ import org.lwjgl.util.vector.Vector2f;
|
|||
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A simple animated 3d mesh, consisting of multiple vertex positions.
|
||||
* with a single material. The model's internal format is optimised for RAM storage;
|
||||
|
@ -47,6 +46,7 @@ import org.lwjgl.util.vector.Vector2f;
|
|||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class MeshedModel extends Model {
|
||||
|
||||
|
|
|
@ -39,13 +39,13 @@ import org.lwjgl.util.vector.Vector2f;
|
|||
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Base class for the two kinds of model supported. A Model has a single "material"
|
||||
* and a single triangular mesh with a single skin, and any number of animations.
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public abstract class Model implements Serializable {
|
||||
|
||||
|
|
|
@ -34,9 +34,9 @@ package org.lwjgl.util.model;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Triangle implements Serializable {
|
||||
|
||||
|
|
|
@ -36,12 +36,12 @@ import java.io.Serializable;
|
|||
import org.lwjgl.util.vector.ReadableVector3f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* A single vertex in a mesh.
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Vertex implements Serializable {
|
||||
|
||||
|
|
|
@ -34,10 +34,10 @@ package org.lwjgl.util.model;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Describes how a bone influences a vertex.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Weight implements Serializable {
|
||||
|
||||
|
|
|
@ -54,13 +54,13 @@ import org.w3c.dom.Document;
|
|||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Loads a Model from an XML document. Construct with an XML Document as the argument,
|
||||
* and then retrieve the Model by calling load().
|
||||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class XMLLoader {
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.model.renderer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Listens out for events that occur in animations and takes appropriate actions
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface AnimationEventListener {
|
||||
/**
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.lwjgl.util.model.Frame;
|
|||
import org.lwjgl.util.model.Model;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* The interface for processing individual frames of rendered models.
|
||||
* Typically the processor will process the frame of animation, and store
|
||||
* the processed results in some data structure that make it easy to render.
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface FrameProcessor extends Renderable {
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ import org.lwjgl.util.model.Frame;
|
|||
import org.lwjgl.util.model.Model;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Pluggable model renderer
|
||||
* <p>
|
||||
|
@ -55,6 +54,7 @@ import org.lwjgl.util.model.Model;
|
|||
*
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class ModelRenderer implements Renderable {
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.util.vector.Vector3f;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* A 3D sprite!
|
||||
* @author $Author$
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public class Sprite3D extends ModelRenderer {
|
||||
|
||||
|
|
|
@ -35,13 +35,13 @@ import java.io.Serializable;
|
|||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Base class for matrices. When a matrix is constructed it will be the identity
|
||||
* matrix unless otherwise stated.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public abstract class Matrix implements Serializable {
|
||||
|
||||
|
|
|
@ -35,12 +35,12 @@ import java.io.Serializable;
|
|||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Holds a 2x2 matrix
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public class Matrix2f extends Matrix implements Serializable {
|
||||
|
|
|
@ -35,12 +35,12 @@ import java.io.Serializable;
|
|||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Holds a 3x3 matrix.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public class Matrix3f extends Matrix implements Serializable {
|
||||
|
|
|
@ -32,12 +32,12 @@
|
|||
package org.lwjgl.util.vector;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Quaternions for LWJGL!
|
||||
*
|
||||
* @author fbi
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
import java.nio.FloatBuffer;
|
||||
|
|
|
@ -35,12 +35,12 @@ import java.io.Serializable;
|
|||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Base class for vectors.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public abstract class Vector implements Serializable, ReadableVector {
|
||||
|
||||
|
|
|
@ -35,12 +35,12 @@ import java.io.Serializable;
|
|||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Holds a 2-tuple vector.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public class Vector2f extends Vector implements Serializable, ReadableVector2f, WritableVector2f {
|
||||
|
|
|
@ -35,12 +35,12 @@ import java.io.Serializable;
|
|||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Holds a 3-tuple vector.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public class Vector3f extends Vector implements Serializable, ReadableVector3f, WritableVector3f {
|
||||
|
|
|
@ -35,12 +35,12 @@ import java.io.Serializable;
|
|||
import java.nio.FloatBuffer;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* Holds a 4-tuple vector.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public class Vector4f extends Vector implements Serializable, ReadableVector4f, WritableVector4f {
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.vector;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Writable interface to Vector2fs
|
||||
* @author $author$
|
||||
* @version $revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface WritableVector2f {
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.vector;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Writable interface to Vector3fs
|
||||
* @author $author$
|
||||
* @version $revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface WritableVector3f extends WritableVector2f {
|
||||
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
package org.lwjgl.util.vector;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* Writable interface to Vector4fs
|
||||
* @author $author$
|
||||
* @version $revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface WritableVector4f extends WritableVector3f {
|
||||
|
||||
|
|
|
@ -39,13 +39,13 @@ import java.nio.DoubleBuffer;
|
|||
import org.lwjgl.util.generator.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <br>
|
||||
* This is the core OpenAL class. This class implements
|
||||
* AL.h version 1.0
|
||||
*
|
||||
* @author Brian Matzon <brian@matzon.dk>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface AL10 {
|
||||
/** Bad value */
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.lwjgl.util.generator.*;
|
|||
import java.nio.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* The GL12 imaging subset extension.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
@Extension(postfix = "")
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.lwjgl.util.generator.*;
|
|||
import java.nio.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
*
|
||||
* The core OpenGL1.1 API.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public interface GL11 {
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.lwjgl.util.generator.*;
|
|||
import java.nio.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* The core OpenGL1.2.1 API, with the imaging subset.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
public interface GL12 {
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.lwjgl.util.generator.*;
|
|||
import java.nio.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* The core OpenGL1.3 API.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface GL13 {
|
||||
int GL_TEXTURE0 = 0x84C0;
|
||||
|
|
|
@ -36,12 +36,12 @@ import org.lwjgl.util.generator.*;
|
|||
import java.nio.*;
|
||||
|
||||
/**
|
||||
* $Id$
|
||||
* <p/>
|
||||
* The core OpenGL1.4 API.
|
||||
*
|
||||
* @author cix_foo <cix_foo@users.sourceforge.net>
|
||||
* @version $Revision$
|
||||
* $Id$
|
||||
*/
|
||||
public interface GL14 {
|
||||
int GL_GENERATE_MIPMAP = 0x8191;
|
||||
|
|
Loading…
Reference in New Issue