Removed redundant class heirarchy
This commit is contained in:
parent
a972863064
commit
ebeb7b4b04
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL11.java Created on Aug 1, 2002 by foo
|
||||
* CoreGL.java Created on Aug 1, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
|
@ -12,16 +12,16 @@ import org.lwjgl.Sys;
|
|||
*
|
||||
* @author foo
|
||||
*/
|
||||
public class CoreGL11 extends BaseGL implements CoreGL11Constants {
|
||||
public class CoreGL extends BaseGL implements CoreGLConstants {
|
||||
|
||||
static {
|
||||
System.loadLibrary(Sys.LIBRARY_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for CoreGL11.
|
||||
* Constructor for CoreGL.
|
||||
*/
|
||||
public CoreGL11(
|
||||
public CoreGL(
|
||||
int colorBits,
|
||||
int alphaBits,
|
||||
int depthBits,
|
|
@ -1,35 +0,0 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL12.java Created on Aug 9, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author foo
|
||||
*/
|
||||
public class CoreGL12 extends CoreGL11 implements CoreGL12Constants {
|
||||
|
||||
static {
|
||||
System.loadLibrary(Sys.LIBRARY_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for CoreGL12.
|
||||
* @param colorBits
|
||||
* @param alphaBits
|
||||
* @param depthBits
|
||||
* @param stencilBits
|
||||
*/
|
||||
public CoreGL12(
|
||||
int colorBits,
|
||||
int alphaBits,
|
||||
int depthBits,
|
||||
int stencilBits) {
|
||||
super(colorBits, alphaBits, depthBits, stencilBits);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL12Constants.java Created on Aug 9, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
/**
|
||||
* Core OpenGL 1.2 constants.
|
||||
*
|
||||
* @author foo
|
||||
*/
|
||||
public interface CoreGL12Constants extends CoreGL11Constants {
|
||||
|
||||
public static final int GL_UNSIGNED_BYTE_3_3_2 = 0x8032;
|
||||
public static final int GL_UNSIGNED_SHORT_4_4_4_4 = 0x8033;
|
||||
public static final int GL_UNSIGNED_SHORT_5_5_5_1 = 0x8034;
|
||||
public static final int GL_UNSIGNED_INT_8_8_8_8 = 0x8035;
|
||||
public static final int GL_UNSIGNED_INT_10_10_10_2 = 0x8036;
|
||||
public static final int GL_RESCALE_NORMAL = 0x803A;
|
||||
public static final int GL_UNSIGNED_BYTE_2_3_3_REV = 0x8362;
|
||||
public static final int GL_UNSIGNED_SHORT_5_6_5 = 0x8363;
|
||||
public static final int GL_UNSIGNED_SHORT_5_6_5_REV = 0x8364;
|
||||
public static final int GL_UNSIGNED_SHORT_4_4_4_4_REV = 0x8365;
|
||||
public static final int GL_UNSIGNED_SHORT_1_5_5_5_REV = 0x8366;
|
||||
public static final int GL_UNSIGNED_INT_8_8_8_8_REV = 0x8367;
|
||||
public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368;
|
||||
public static final int GL_BGR = 0x80E0;
|
||||
public static final int GL_BGRA = 0x80E1;
|
||||
public static final int GL_MAX_ELEMENTS_VERTICES = 0x80E8;
|
||||
public static final int GL_MAX_ELEMENTS_INDICES = 0x80E9;
|
||||
public static final int GL_CLAMP_TO_EDGE = 0x812F;
|
||||
public static final int GL_TEXTURE_MIN_LOD = 0x813A;
|
||||
public static final int GL_TEXTURE_MAX_LOD = 0x813B;
|
||||
public static final int GL_TEXTURE_BASE_LEVEL = 0x813C;
|
||||
public static final int GL_TEXTURE_MAX_LEVEL = 0x813D;
|
||||
public static final int GL_LIGHT_MODEL_COLOR_CONTROL = 0x81F8;
|
||||
public static final int GL_SINGLE_COLOR = 0x81F9;
|
||||
public static final int GL_SEPARATE_SPECULAR_COLOR = 0x81FA;
|
||||
public static final int GL_SMOOTH_POINT_SIZE_RANGE = 0x0B12;
|
||||
public static final int GL_SMOOTH_POINT_SIZE_GRANULARITY = 0x0B13;
|
||||
public static final int GL_SMOOTH_LINE_WIDTH_RANGE = 0x0B22;
|
||||
public static final int GL_SMOOTH_LINE_WIDTH_GRANULARITY = 0x0B23;
|
||||
public static final int GL_ALIASED_POINT_SIZE_RANGE = 0x846D;
|
||||
public static final int GL_ALIASED_LINE_WIDTH_RANGE = 0x846E;
|
||||
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL13.java Created on Aug 9, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author foo
|
||||
*/
|
||||
public class CoreGL13 extends CoreGL12 implements CoreGL13Constants {
|
||||
|
||||
static {
|
||||
System.loadLibrary(Sys.LIBRARY_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for CoreGL13.
|
||||
* @param colorBits
|
||||
* @param alphaBits
|
||||
* @param depthBits
|
||||
* @param stencilBits
|
||||
*/
|
||||
public CoreGL13(
|
||||
int colorBits,
|
||||
int alphaBits,
|
||||
int depthBits,
|
||||
int stencilBits) {
|
||||
super(colorBits, alphaBits, depthBits, stencilBits);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL13Constants.java Created on Aug 9, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
/**
|
||||
* Core OpenGL 1.3 constants.
|
||||
*
|
||||
* @author foo
|
||||
*/
|
||||
public interface CoreGL13Constants extends CoreGL12Constants {
|
||||
public static final int GL_TEXTURE0 = 0x84C0;
|
||||
public static final int GL_TEXTURE1 = 0x84C1;
|
||||
public static final int GL_TEXTURE2 = 0x84C2;
|
||||
public static final int GL_TEXTURE3 = 0x84C3;
|
||||
public static final int GL_TEXTURE4 = 0x84C4;
|
||||
public static final int GL_TEXTURE5 = 0x84C5;
|
||||
public static final int GL_TEXTURE6 = 0x84C6;
|
||||
public static final int GL_TEXTURE7 = 0x84C7;
|
||||
public static final int GL_TEXTURE8 = 0x84C8;
|
||||
public static final int GL_TEXTURE9 = 0x84C9;
|
||||
public static final int GL_TEXTURE10 = 0x84CA;
|
||||
public static final int GL_TEXTURE11 = 0x84CB;
|
||||
public static final int GL_TEXTURE12 = 0x84CC;
|
||||
public static final int GL_TEXTURE13 = 0x84CD;
|
||||
public static final int GL_TEXTURE14 = 0x84CE;
|
||||
public static final int GL_TEXTURE15 = 0x84CF;
|
||||
public static final int GL_TEXTURE16 = 0x84D0;
|
||||
public static final int GL_TEXTURE17 = 0x84D1;
|
||||
public static final int GL_TEXTURE18 = 0x84D2;
|
||||
public static final int GL_TEXTURE19 = 0x84D3;
|
||||
public static final int GL_TEXTURE20 = 0x84D4;
|
||||
public static final int GL_TEXTURE21 = 0x84D5;
|
||||
public static final int GL_TEXTURE22 = 0x84D6;
|
||||
public static final int GL_TEXTURE23 = 0x84D7;
|
||||
public static final int GL_TEXTURE24 = 0x84D8;
|
||||
public static final int GL_TEXTURE25 = 0x84D9;
|
||||
public static final int GL_TEXTURE26 = 0x84DA;
|
||||
public static final int GL_TEXTURE27 = 0x84DB;
|
||||
public static final int GL_TEXTURE28 = 0x84DC;
|
||||
public static final int GL_TEXTURE29 = 0x84DD;
|
||||
public static final int GL_TEXTURE30 = 0x84DE;
|
||||
public static final int GL_TEXTURE31 = 0x84DF;
|
||||
public static final int GL_ACTIVE_TEXTURE = 0x84E0;
|
||||
public static final int GL_CLIENT_ACTIVE_TEXTURE = 0x84E1;
|
||||
public static final int GL_MAX_TEXTURE_UNITS = 0x84E2;
|
||||
public static final int GL_TRANSPOSE_MODELVIEW_MATRIX = 0x84E3;
|
||||
public static final int GL_TRANSPOSE_PROJECTION_MATRIX = 0x84E4;
|
||||
public static final int GL_TRANSPOSE_TEXTURE_MATRIX = 0x84E5;
|
||||
public static final int GL_TRANSPOSE_COLOR_MATRIX = 0x84E6;
|
||||
public static final int GL_MULTISAMPLE = 0x809D;
|
||||
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
|
||||
public static final int GL_SAMPLE_ALPHA_TO_ONE = 0x809F;
|
||||
public static final int GL_SAMPLE_COVERAGE = 0x80A0;
|
||||
public static final int GL_SAMPLE_BUFFERS = 0x80A8;
|
||||
public static final int GL_SAMPLES = 0x80A9;
|
||||
public static final int GL_SAMPLE_COVERAGE_VALUE = 0x80AA;
|
||||
public static final int GL_SAMPLE_COVERAGE_INVERT = 0x80AB;
|
||||
public static final int GL_MULTISAMPLE_BIT = 0x20000000;
|
||||
public static final int GL_NORMAL_MAP = 0x8511;
|
||||
public static final int GL_REFLECTION_MAP = 0x8512;
|
||||
public static final int GL_TEXTURE_CUBE_MAP = 0x8513;
|
||||
public static final int GL_TEXTURE_BINDING_CUBE_MAP = 0x8514;
|
||||
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
|
||||
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
|
||||
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
|
||||
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
|
||||
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
|
||||
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
|
||||
public static final int GL_PROXY_TEXTURE_CUBE_MAP = 0x851B;
|
||||
public static final int GL_MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
|
||||
public static final int GL_COMPRESSED_ALPHA = 0x84E9;
|
||||
public static final int GL_COMPRESSED_LUMINANCE = 0x84EA;
|
||||
public static final int GL_COMPRESSED_LUMINANCE_ALPHA = 0x84EB;
|
||||
public static final int GL_COMPRESSED_INTENSITY = 0x84EC;
|
||||
public static final int GL_COMPRESSED_RGB = 0x84ED;
|
||||
public static final int GL_COMPRESSED_RGBA = 0x84EE;
|
||||
public static final int GL_TEXTURE_COMPRESSION_HINT = 0x84EF;
|
||||
public static final int GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86A0;
|
||||
public static final int GL_TEXTURE_COMPRESSED = 0x86A1;
|
||||
public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2;
|
||||
public static final int GL_COMPRESSED_TEXTURE_FORMATS = 0x86A3;
|
||||
public static final int GL_CLAMP_TO_BORDER = 0x812D;
|
||||
public static final int GL_CLAMP_TO_BORDER_SGIS = 0x812D;
|
||||
public static final int GL_COMBINE = 0x8570;
|
||||
public static final int GL_COMBINE_RGB = 0x8571;
|
||||
public static final int GL_COMBINE_ALPHA = 0x8572;
|
||||
public static final int GL_SOURCE0_RGB = 0x8580;
|
||||
public static final int GL_SOURCE1_RGB = 0x8581;
|
||||
public static final int GL_SOURCE2_RGB = 0x8582;
|
||||
public static final int GL_SOURCE0_ALPHA = 0x8588;
|
||||
public static final int GL_SOURCE1_ALPHA = 0x8589;
|
||||
public static final int GL_SOURCE2_ALPHA = 0x858A;
|
||||
public static final int GL_OPERAND0_RGB = 0x8590;
|
||||
public static final int GL_OPERAND1_RGB = 0x8591;
|
||||
public static final int GL_OPERAND2_RGB = 0x8592;
|
||||
public static final int GL_OPERAND0_ALPHA = 0x8598;
|
||||
public static final int GL_OPERAND1_ALPHA = 0x8599;
|
||||
public static final int GL_OPERAND2_ALPHA = 0x859A;
|
||||
public static final int GL_RGB_SCALE = 0x8573;
|
||||
public static final int GL_ADD_SIGNED = 0x8574;
|
||||
public static final int GL_INTERPOLATE = 0x8575;
|
||||
public static final int GL_SUBTRACT = 0x84E7;
|
||||
public static final int GL_CONSTANT = 0x8576;
|
||||
public static final int GL_PRIMARY_COLOR = 0x8577;
|
||||
public static final int GL_PREVIOUS = 0x8578;
|
||||
public static final int GL_DOT3_RGB = 0x86AE;
|
||||
public static final int GL_DOT3_RGBA = 0x86AF;
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL14.java Created on Aug 9, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
import org.lwjgl.Sys;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author foo
|
||||
*/
|
||||
public class CoreGL14 extends CoreGL13 implements CoreGL14Constants {
|
||||
|
||||
static {
|
||||
System.loadLibrary(Sys.LIBRARY_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for CoreGL14.
|
||||
* @param colorBits
|
||||
* @param alphaBits
|
||||
* @param depthBits
|
||||
* @param stencilBits
|
||||
*/
|
||||
public CoreGL14(
|
||||
int colorBits,
|
||||
int alphaBits,
|
||||
int depthBits,
|
||||
int stencilBits) {
|
||||
super(colorBits, alphaBits, depthBits, stencilBits);
|
||||
}
|
||||
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* BaseGLConstants.java Created on Aug 1, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL14Constants.java Created on Aug 1, 2002 by foo
|
||||
*/
|
||||
/**
|
||||
* Defines the core constants for OpenGL 1.4
|
||||
* @author foo
|
||||
*/
|
||||
public interface CoreGL14Constants extends CoreGL13Constants {
|
||||
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* CoreGL11Constants.java Created on Aug 9, 2002 by foo
|
||||
* CoreGLConstants.java Created on Aug 9, 2002 by foo
|
||||
*/
|
||||
package org.lwjgl.opengl;
|
||||
|
||||
|
@ -10,7 +10,7 @@ package org.lwjgl.opengl;
|
|||
*
|
||||
* @author foo
|
||||
*/
|
||||
public interface CoreGL11Constants {
|
||||
public interface CoreGLConstants {
|
||||
/* AccumOp */
|
||||
public static final int GL_ACCUM = 0x0100;
|
||||
public static final int GL_LOAD = 0x0101;
|
|
@ -17,7 +17,7 @@ import org.lwjgl.Sys;
|
|||
*
|
||||
* @author foo
|
||||
*/
|
||||
public class GL extends CoreGL14 implements GLConstants {
|
||||
public class GL extends CoreGL implements GLConstants {
|
||||
|
||||
static {
|
||||
System.loadLibrary(Sys.LIBRARY_NAME);
|
||||
|
|
|
@ -15,6 +15,6 @@ package org.lwjgl.opengl;
|
|||
*
|
||||
* @author foo
|
||||
*/
|
||||
public interface GLConstants extends CoreGL14Constants {
|
||||
public interface GLConstants extends CoreGLConstants {
|
||||
|
||||
}
|
||||
|
|
|
@ -22,8 +22,8 @@ public interface GLUConstants {
|
|||
public static final int GLU_EXTENSIONS = 100801;
|
||||
|
||||
/* Boolean */
|
||||
public static final int GLU_TRUE = CoreGL11Constants.GL_TRUE;
|
||||
public static final int GLU_FALSE = CoreGL11Constants.GL_FALSE;
|
||||
public static final int GLU_TRUE = CoreGLConstants.GL_TRUE;
|
||||
public static final int GLU_FALSE = CoreGLConstants.GL_FALSE;
|
||||
|
||||
|
||||
/**** Quadric constants ****/
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,16 +0,0 @@
|
|||
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||
#include <jni.h>
|
||||
/* Header for class org_lwjgl_opengl_CoreGL12 */
|
||||
|
||||
#ifndef _Included_org_lwjgl_opengl_CoreGL12
|
||||
#define _Included_org_lwjgl_opengl_CoreGL12
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* Inaccessible static: _00024assertionsDisabled */
|
||||
/* Inaccessible static: currentContext */
|
||||
/* Inaccessible static: class_000240 */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
|
@ -1,16 +0,0 @@
|
|||
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||
#include <jni.h>
|
||||
/* Header for class org_lwjgl_opengl_CoreGL13 */
|
||||
|
||||
#ifndef _Included_org_lwjgl_opengl_CoreGL13
|
||||
#define _Included_org_lwjgl_opengl_CoreGL13
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* Inaccessible static: _00024assertionsDisabled */
|
||||
/* Inaccessible static: currentContext */
|
||||
/* Inaccessible static: class_000240 */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
|
@ -1,16 +0,0 @@
|
|||
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||
#include <jni.h>
|
||||
/* Header for class org_lwjgl_opengl_CoreGL14 */
|
||||
|
||||
#ifndef _Included_org_lwjgl_opengl_CoreGL14
|
||||
#define _Included_org_lwjgl_opengl_CoreGL14
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* Inaccessible static: _00024assertionsDisabled */
|
||||
/* Inaccessible static: currentContext */
|
||||
/* Inaccessible static: class_000240 */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* org_lwjgl_opengl_CoreGL12.cpp
|
||||
*
|
||||
* Win32 specific library
|
||||
*
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* Created 10 August 2002 by foo
|
||||
*
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "org_lwjgl_opengl_CoreGL12.h"
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* org_lwjgl_opengl_CoreGL13.cpp
|
||||
*
|
||||
* Win32 specific library
|
||||
*
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* Created 10 August 2002 by foo
|
||||
*
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "org_lwjgl_opengl_CoreGL13.h"
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* org_lwjgl_opengl_CoreGL14.cpp
|
||||
*
|
||||
* Win32 specific library
|
||||
*
|
||||
* (C) 2002 Shaven Puppy Ltd
|
||||
*
|
||||
* Created 10 August 2002 by foo
|
||||
*
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "org_lwjgl_opengl_CoreGL14.h"
|
Loading…
Reference in New Issue