Added SGIS_generate_mipmap & SGIS_texture_lod extensions
This commit is contained in:
parent
4c9edffc85
commit
84600dffdb
|
@ -15,7 +15,7 @@
|
||||||
<property name="lwjgl.res" location="res" />
|
<property name="lwjgl.res" location="res" />
|
||||||
<property name="lwjgl.version" value="1.0beta2" />
|
<property name="lwjgl.version" value="1.0beta2" />
|
||||||
|
|
||||||
<property name="opengl-template-pattern" value="org/lwjgl/opengl/GL*.java,org/lwjgl/opengl/ARB*.java,org/lwjgl/opengl/ATI*.java,org/lwjgl/opengl/EXT*.java,org/lwjgl/opengl/NV*.java,org/lwjgl/opengl/HP*.java,org/lwjgl/opengl/IBM*.java,org/lwjgl/opengl/SUN*.java"/>
|
<property name="opengl-template-pattern" value="org/lwjgl/opengl/GL*.java,org/lwjgl/opengl/ARB*.java,org/lwjgl/opengl/ATI*.java,org/lwjgl/opengl/EXT*.java,org/lwjgl/opengl/NV*.java,org/lwjgl/opengl/HP*.java,org/lwjgl/opengl/IBM*.java,org/lwjgl/opengl/SUN*.java,org/lwjgl/opengl/SGIS*.java"/>
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<!-- Filesets used for targets -->
|
<!-- Filesets used for targets -->
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
|
|
|
@ -144,6 +144,8 @@ public class ContextCapabilities {
|
||||||
public final boolean GL_NV_vertex_program2;
|
public final boolean GL_NV_vertex_program2;
|
||||||
public final boolean GL_NV_vertex_program2_option;
|
public final boolean GL_NV_vertex_program2_option;
|
||||||
public final boolean GL_NV_vertex_program3;
|
public final boolean GL_NV_vertex_program3;
|
||||||
|
public final boolean GL_SGIS_generate_mipmap;
|
||||||
|
public final boolean GL_SGIS_texture_lod;
|
||||||
public final boolean GL_SUN_slice_accum;
|
public final boolean GL_SUN_slice_accum;
|
||||||
|
|
||||||
long ARB_buffer_object_glBindBufferARB_pointer;
|
long ARB_buffer_object_glBindBufferARB_pointer;
|
||||||
|
@ -2398,6 +2400,8 @@ public class ContextCapabilities {
|
||||||
this.GL_NV_vertex_program2 = supported_extensions.contains("GL_NV_vertex_program2");
|
this.GL_NV_vertex_program2 = supported_extensions.contains("GL_NV_vertex_program2");
|
||||||
this.GL_NV_vertex_program2_option = supported_extensions.contains("GL_NV_vertex_program2_option");
|
this.GL_NV_vertex_program2_option = supported_extensions.contains("GL_NV_vertex_program2_option");
|
||||||
this.GL_NV_vertex_program3 = supported_extensions.contains("GL_NV_vertex_program3");
|
this.GL_NV_vertex_program3 = supported_extensions.contains("GL_NV_vertex_program3");
|
||||||
|
this.GL_SGIS_generate_mipmap = supported_extensions.contains("GL_SGIS_generate_mipmap");
|
||||||
|
this.GL_SGIS_texture_lod = supported_extensions.contains("GL_SGIS_texture_lod");
|
||||||
this.GL_SUN_slice_accum = supported_extensions.contains("GL_SUN_slice_accum");
|
this.GL_SUN_slice_accum = supported_extensions.contains("GL_SUN_slice_accum");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
import org.lwjgl.LWJGLException;
|
||||||
|
import org.lwjgl.BufferChecks;
|
||||||
|
import java.nio.*;
|
||||||
|
|
||||||
|
public final class SGISGenerateMipmap {
|
||||||
|
/**
|
||||||
|
* Accepted by the <pname> parameter of TexParameteri, TexParameterf,
|
||||||
|
* TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
|
||||||
|
*/
|
||||||
|
public static final int GL_GENERATE_MIPMAP_SGIS = 0x8191;
|
||||||
|
/**
|
||||||
|
* Accepted by the <target> parameter of Hint, and by the <pname>
|
||||||
|
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
|
||||||
|
*/
|
||||||
|
public static final int GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192;
|
||||||
|
|
||||||
|
private SGISGenerateMipmap() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
import org.lwjgl.LWJGLException;
|
||||||
|
import org.lwjgl.BufferChecks;
|
||||||
|
import java.nio.*;
|
||||||
|
|
||||||
|
public final class SGISTextureLOD {
|
||||||
|
/**
|
||||||
|
* Accepted by the <pname> parameter of TexParameteri, TexParameterf,
|
||||||
|
* TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
|
||||||
|
*/
|
||||||
|
public static final int GL_TEXTURE_MIN_LOD_SGIS = 0x813a;
|
||||||
|
public static final int GL_TEXTURE_MAX_LOD_SGIS = 0x813b;
|
||||||
|
public static final int GL_TEXTURE_BASE_LEVEL_SGIS = 0x813c;
|
||||||
|
public static final int GL_TEXTURE_MAX_LEVEL_SGIS = 0x813d;
|
||||||
|
|
||||||
|
private SGISTextureLOD() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,50 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002-2004 LWJGL Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'LWJGL' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
import org.lwjgl.util.generator.*;
|
||||||
|
|
||||||
|
public interface SGIS_generate_mipmap {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accepted by the <pname> parameter of TexParameteri, TexParameterf,
|
||||||
|
* TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
|
||||||
|
*/
|
||||||
|
int GL_GENERATE_MIPMAP_SGIS = 0x8191;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accepted by the <target> parameter of Hint, and by the <pname>
|
||||||
|
* parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
|
||||||
|
*/
|
||||||
|
int GL_GENERATE_MIPMAP_HINT_SGIS = 0x8192;
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,47 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002-2004 LWJGL Project
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are
|
||||||
|
* met:
|
||||||
|
*
|
||||||
|
* * Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
*
|
||||||
|
* * Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
*
|
||||||
|
* * Neither the name of 'LWJGL' nor the names of
|
||||||
|
* its contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||||
|
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||||
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||||
|
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||||
|
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||||
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||||
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
import org.lwjgl.util.generator.*;
|
||||||
|
|
||||||
|
@Extension(postfix = "SGIS", className = "SGISTextureLOD")
|
||||||
|
public interface SGIS_texture_lod {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accepted by the <pname> parameter of TexParameteri, TexParameterf,
|
||||||
|
* TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
|
||||||
|
*/
|
||||||
|
int GL_TEXTURE_MIN_LOD_SGIS = 0x813A;
|
||||||
|
int GL_TEXTURE_MAX_LOD_SGIS = 0x813B;
|
||||||
|
int GL_TEXTURE_BASE_LEVEL_SGIS = 0x813C;
|
||||||
|
int GL_TEXTURE_MAX_LEVEL_SGIS = 0x813D;
|
||||||
|
}
|
Loading…
Reference in New Issue