Removed duplicate constants.

This commit is contained in:
Ioannis Tsakpinis 2014-08-06 12:29:16 +03:00
parent cb759158e7
commit 5d094b5763
10 changed files with 3 additions and 54 deletions

View File

@ -41,12 +41,6 @@ public interface AMD_stencil_operation_extended {
* and StencilOpSeparate:
*/
int GL_SET_AMD = 0x874A,
GL_AND = 0x1501,
GL_XOR = 0x1506,
GL_OR = 0x1507,
GL_NOR = 0x1508,
GL_EQUIV = 0x1509,
GL_NAND = 0x150E,
GL_REPLACE_VALUE_AMD = 0x874B;
/**

View File

@ -45,7 +45,6 @@ public interface ARB_gpu_shader_fp64 {
* Returned in the <type> parameter of GetActiveUniform, and
* GetTransformFeedbackVarying:
*/
int GL_DOUBLE = GL11.GL_DOUBLE;
int GL_DOUBLE_VEC2 = 0x8FFC;
int GL_DOUBLE_VEC3 = 0x8FFD;
int GL_DOUBLE_VEC4 = 0x8FFE;

View File

@ -49,10 +49,6 @@ import java.nio.*;
@DeprecatedGL
public interface ARB_imaging {
int GL_CONSTANT_COLOR = 0x8001;
int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002;
int GL_CONSTANT_ALPHA = 0x8003;
int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004;
int GL_BLEND_COLOR = 0x8005;
int GL_FUNC_ADD = 0x8006;
int GL_MIN = 0x8007;

View File

@ -46,12 +46,8 @@ public interface ARB_internalformat_query2 {
* Accepted by the <target> parameter of GetInternalformativ
* and GetInternalformati64v:
*/
int GL_TEXTURE_1D = 0x0DE0,
GL_TEXTURE_1D_ARRAY = 0x8C18,
GL_TEXTURE_2D = 0x0DE1,
int GL_TEXTURE_1D_ARRAY = 0x8C18,
GL_TEXTURE_2D_ARRAY = 0x8C1A,
GL_TEXTURE_3D = 0x806F,
GL_TEXTURE_CUBE_MAP = 0x8513,
GL_TEXTURE_CUBE_MAP_ARRAY = 0x9009,
GL_TEXTURE_RECTANGLE = 0x84F5,
GL_TEXTURE_BUFFER = 0x8C2A,
@ -63,8 +59,7 @@ public interface ARB_internalformat_query2 {
* Accepted by the <pname> parameter of GetInternalformativ
* and GetInternalformati64v:
*/
int GL_SAMPLES = 0x80A9,
GL_NUM_SAMPLE_COUNTS = 0x9380,
int GL_NUM_SAMPLE_COUNTS = 0x9380,
GL_INTERNALFORMAT_SUPPORTED = 0x826F,
GL_INTERNALFORMAT_PREFERRED = 0x8270,
GL_INTERNALFORMAT_RED_SIZE = 0x8271,
@ -130,7 +125,6 @@ public interface ARB_internalformat_query2 {
GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST = 0x82AD,
GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE = 0x82AE,
GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE = 0x82AF,
GL_TEXTURE_COMPRESSED = 0x86A1,
GL_TEXTURE_COMPRESSED_BLOCK_WIDTH = 0x82B1,
GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT = 0x82B2,
GL_TEXTURE_COMPRESSED_BLOCK_SIZE = 0x82B3,

View File

@ -41,8 +41,7 @@ import java.nio.*;
public interface ARB_robustness {
/** Returned by GetGraphicsResetStatusARB: */
int GL_NO_ERROR = 0x0000,
GL_GUILTY_CONTEXT_RESET_ARB = 0x8253,
int GL_GUILTY_CONTEXT_RESET_ARB = 0x8253,
GL_INNOCENT_CONTEXT_RESET_ARB = 0x8254,
GL_UNKNOWN_CONTEXT_RESET_ARB = 0x8255;

View File

@ -58,8 +58,6 @@ public interface ARB_shader_subroutine {
/** Accepted by the <pname> parameter of GetActiveSubroutineUniformiv: */
int GL_NUM_COMPATIBLE_SUBROUTINES = 0x8E4A;
int GL_COMPATIBLE_SUBROUTINES = 0x8E4B;
int GL_UNIFORM_SIZE = GL31.GL_UNIFORM_SIZE;
int GL_UNIFORM_NAME_LENGTH = GL31.GL_UNIFORM_NAME_LENGTH;
@Reuse("GL40")
int glGetSubroutineUniformLocation(@GLuint int program, @GLenum int shadertype, @Const @NullTerminated ByteBuffer name);

View File

@ -66,23 +66,12 @@ public interface ARB_tessellation_shader {
int GL_TESS_GEN_POINT_MODE = 0x8E79;
/** Returned by GetProgramiv when <pname> is TESS_GEN_MODE: */
int GL_TRIANGLES = GL11.GL_TRIANGLES;
int GL_QUADS = GL11.GL_QUADS;
int GL_ISOLINES = 0x8E7A;
/** Returned by GetProgramiv when <pname> is TESS_GEN_SPACING: */
int GL_EQUAL = GL11.GL_EQUAL;
int GL_FRACTIONAL_ODD = 0x8E7B;
int GL_FRACTIONAL_EVEN = 0x8E7C;
/** Returned by GetProgramiv when <pname> is TESS_GEN_VERTEX_ORDER: */
int GL_CCW = GL11.GL_CCW;
int GL_CW = GL11.GL_CW;
/** Returned by GetProgramiv when <pname> is TESS_GEN_POINT_MODE: */
int GL_FALSE = GL11.GL_FALSE;
int GL_TRUE = GL11.GL_TRUE;
/**
* Accepted by the <pname> parameter of GetBooleanv, GetDoublev, GetFloatv,
* GetIntegerv, and GetInteger64v:

View File

@ -52,18 +52,6 @@ public interface ARB_viewport_array {
GL_LAYER_PROVOKING_VERTEX = 0x825E,
GL_VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F;
/** Accepted by the <pname> parameter of GetIntegeri_v: */
int GL_SCISSOR_BOX = 0x0C10;
/** Accepted by the <pname> parameter of GetFloati_v: */
int GL_VIEWPORT = 0x0BA2;
/** Accepted by the <pname> parameter of GetDoublei_v: */
int GL_DEPTH_RANGE = 0x0B70;
/** Accepted by the <pname> parameter of Enablei, Disablei, and IsEnabledi: */
int GL_SCISSOR_TEST = 0x0C11;
/**
* Returned in the <data> parameter from a Get query with a <pname> of
* LAYER_PROVOKING_VERTEX or VIEWPORT_INDEX_PROVOKING_VERTEX:

View File

@ -108,10 +108,6 @@ public interface KHR_debug {
GL_DEBUG_SEVERITY_LOW = 0x9148,
GL_DEBUG_SEVERITY_NOTIFICATION = 0x826B;
/** Returned by GetError: */
int GL_STACK_UNDERFLOW = 0x0504,
GL_STACK_OVERFLOW = 0x0503;
/**
* Tokens accepted or provided by the <identifier> parameters of
* ObjectLabel and GetObjectLabel:

View File

@ -36,8 +36,4 @@ public interface NV_shader_buffer_store {
/** Accepted by the <barriers> parameter of MemoryBarrierNV: */
int GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV = 0x00000010;
/** Accepted by the <access> parameter of MakeBufferResidentNV: */
int GL_READ_WRITE = GL15.GL_READ_WRITE;
int GL_WRITE_ONLY = GL15.GL_WRITE_ONLY;
}