Added ATI_text_fragment_shader extension

This commit is contained in:
Ioannis Tsakpinis 2006-05-15 13:09:47 +00:00
parent 6f184075d9
commit cbbac62c30
3 changed files with 73 additions and 0 deletions

View File

@ -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 ATITextFragmentShader {
/**
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
* and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev, and by the <target> parameter of ProgramStringARB,
* BindProgramARB, ProgramEnvParameter4{d,dv,f,fv}ARB,
* ProgramLocalParameter4{d,dv,f,fv}ARB,
* GetProgramEnvParameter{dv,fv}ARB, GetProgramLocalParameter{dv,fv}ARB,
* GetProgramivARB, GetProgramfvATI, and GetProgramStringARB.
*/
public static final int GL_TEXT_FRAGMENT_SHADER_ATI = 0x8200;
private ATITextFragmentShader() {
}
}

View File

@ -55,6 +55,7 @@ public class ContextCapabilities {
public final boolean GL_ATI_pn_triangles;
public final boolean GL_ATI_separate_stencil;
public final boolean GL_ATI_shader_texture_lod;
public final boolean GL_ATI_text_fragment_shader;
public final boolean GL_ATI_texture_compression_3dc;
public final boolean GL_ATI_texture_float;
public final boolean GL_ATI_texture_mirror_once;
@ -2294,6 +2295,7 @@ public class ContextCapabilities {
this.GL_ATI_pn_triangles = supported_extensions.contains("GL_ATI_pn_triangles");
this.GL_ATI_separate_stencil = supported_extensions.contains("GL_ATI_separate_stencil");
this.GL_ATI_shader_texture_lod = supported_extensions.contains("GL_ATI_shader_texture_lod");
this.GL_ATI_text_fragment_shader = supported_extensions.contains("GL_ATI_text_fragment_shader");
this.GL_ATI_texture_compression_3dc = supported_extensions.contains("GL_ATI_texture_compression_3dc");
this.GL_ATI_texture_float = supported_extensions.contains("GL_ATI_texture_float");
this.GL_ATI_texture_mirror_once = supported_extensions.contains("GL_ATI_texture_mirror_once");

View File

@ -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;
public interface ATI_text_fragment_shader {
/**
* Accepted by the <cap> parameter of Disable, Enable, and IsEnabled,
* and by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv,
* and GetDoublev, and by the <target> parameter of ProgramStringARB,
* BindProgramARB, ProgramEnvParameter4{d,dv,f,fv}ARB,
* ProgramLocalParameter4{d,dv,f,fv}ARB,
* GetProgramEnvParameter{dv,fv}ARB, GetProgramLocalParameter{dv,fv}ARB,
* GetProgramivARB, GetProgramfvATI, and GetProgramStringARB.
*/
int GL_TEXT_FRAGMENT_SHADER_ATI = 0x8200;
}