Added some new extensions
This commit is contained in:
parent
3e4eac8e66
commit
ed903530f1
|
@ -0,0 +1,52 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library 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 'Light Weight Java Game Library' 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.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Created by LWJGL.
|
||||||
|
* User: spasi
|
||||||
|
* Date: 04-05-18
|
||||||
|
* Time: 9:39:43 pm
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
public final class EXTBlendEquationSeparate {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
|
||||||
|
* GetFloatv, and GetDoublev:
|
||||||
|
*/
|
||||||
|
public static final int GL_BLEND_EQUATION_RGB_EXT = 0x8009;
|
||||||
|
public static final int GL_BLEND_EQUATION_ALPHA_EXT = 0x883D;
|
||||||
|
|
||||||
|
public static native void glBlendEquationSeparateEXT(int modeRGB, int modeAlpha);
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,53 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library 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 'Light Weight Java Game Library' 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.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Created by LWJGL.
|
||||||
|
* User: spasi
|
||||||
|
* Date: 18 Ìáú 2004
|
||||||
|
* Time: 10:22:39 ìì
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
public final class EXTTextureMirrorClamp {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Accepted by the <param> parameter of TexParameteri and TexParameterf,
|
||||||
|
* and by the <params> parameter of TexParameteriv and TexParameterfv,
|
||||||
|
* when their <pname> parameter is TEXTURE_WRAP_S, TEXTURE_WRAP_T,
|
||||||
|
* or TEXTURE_WRAP_R:
|
||||||
|
*/
|
||||||
|
public static final int GL_MIRROR_CLAMP_EXT = 0x8742;
|
||||||
|
public static final int GL_MIRROR_CLAMP_TO_EDGE_EXT = 0x8743;
|
||||||
|
public static final int GL_MIRROR_CLAMP_TO_BORDER_EXT = 0x8912;
|
||||||
|
|
||||||
|
}
|
|
@ -91,6 +91,7 @@ public final class GLContext {
|
||||||
|
|
||||||
public static boolean GL_EXT_abgr;
|
public static boolean GL_EXT_abgr;
|
||||||
public static boolean GL_EXT_bgra;
|
public static boolean GL_EXT_bgra;
|
||||||
|
public static boolean GL_EXT_blend_equation_separate;
|
||||||
public static boolean GL_EXT_blend_func_separate;
|
public static boolean GL_EXT_blend_func_separate;
|
||||||
public static boolean GL_EXT_blend_subtract;
|
public static boolean GL_EXT_blend_subtract;
|
||||||
public static boolean GL_EXT_Cg_shader;
|
public static boolean GL_EXT_Cg_shader;
|
||||||
|
@ -114,6 +115,7 @@ public final class GLContext {
|
||||||
public static boolean GL_EXT_texture_env_dot3;
|
public static boolean GL_EXT_texture_env_dot3;
|
||||||
public static boolean GL_EXT_texture_filter_anisotropic;
|
public static boolean GL_EXT_texture_filter_anisotropic;
|
||||||
public static boolean GL_EXT_texture_lod_bias;
|
public static boolean GL_EXT_texture_lod_bias;
|
||||||
|
public static boolean GL_EXT_texture_mirror_clamp;
|
||||||
public static boolean GL_EXT_texture_rectangle;
|
public static boolean GL_EXT_texture_rectangle;
|
||||||
public static boolean GL_EXT_vertex_shader;
|
public static boolean GL_EXT_vertex_shader;
|
||||||
public static boolean GL_EXT_vertex_weighting;
|
public static boolean GL_EXT_vertex_weighting;
|
||||||
|
@ -139,6 +141,7 @@ public final class GLContext {
|
||||||
public static boolean GL_NV_float_buffer;
|
public static boolean GL_NV_float_buffer;
|
||||||
public static boolean GL_NV_fog_distance;
|
public static boolean GL_NV_fog_distance;
|
||||||
public static boolean GL_NV_fragment_program;
|
public static boolean GL_NV_fragment_program;
|
||||||
|
public static boolean GL_NV_fragment_program2;
|
||||||
public static boolean GL_NV_fragment_program_option;
|
public static boolean GL_NV_fragment_program_option;
|
||||||
public static boolean GL_NV_half_float;
|
public static boolean GL_NV_half_float;
|
||||||
public static boolean GL_NV_light_max_exponent;
|
public static boolean GL_NV_light_max_exponent;
|
||||||
|
@ -164,6 +167,7 @@ public final class GLContext {
|
||||||
public static boolean GL_NV_vertex_program1_1;
|
public static boolean GL_NV_vertex_program1_1;
|
||||||
public static boolean GL_NV_vertex_program2;
|
public static boolean GL_NV_vertex_program2;
|
||||||
public static boolean GL_NV_vertex_program2_option;
|
public static boolean GL_NV_vertex_program2_option;
|
||||||
|
public static boolean GL_NV_vertex_program3;
|
||||||
|
|
||||||
public static boolean OpenGL11;
|
public static boolean OpenGL11;
|
||||||
public static boolean OpenGL12;
|
public static boolean OpenGL12;
|
||||||
|
|
|
@ -0,0 +1,52 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library 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 'Light Weight Java Game Library' 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.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Created by LWJGL.
|
||||||
|
* User: spasi
|
||||||
|
* Date: 18 Ìáú 2004
|
||||||
|
* Time: 10:25:56 ìì
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
public final class NVFragmentProgram2 {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Accepted by the <pname> parameter of GetProgramivARB:
|
||||||
|
*/
|
||||||
|
public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
|
||||||
|
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
|
||||||
|
public static final int GL_MAX_PROGRAM_IF_DEPTH_NV = 0x88F6;
|
||||||
|
public static final int GL_MAX_PROGRAM_LOOP_DEPTH_NV = 0x88F7;
|
||||||
|
public static final int GL_MAX_PROGRAM_LOOP_COUNT_NV = 0x88F8;
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,49 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library 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 'Light Weight Java Game Library' 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.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Created by LWJGL.
|
||||||
|
* User: spasi
|
||||||
|
* Date: 18 Ìáú 2004
|
||||||
|
* Time: 10:28:18 ìì
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
public final class NVVertexProgram2Option {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Accepted by the <pname> parameter of GetProgramivARB:
|
||||||
|
*/
|
||||||
|
public static final int GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV = 0x88F4;
|
||||||
|
public static final int GL_MAX_PROGRAM_CALL_DEPTH_NV = 0x88F5;
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,49 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library 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 'Light Weight Java Game Library' 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.
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Created by LWJGL.
|
||||||
|
* User: spasi
|
||||||
|
* Date: 18 Ìáú 2004
|
||||||
|
* Time: 10:29:43 ìì
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.lwjgl.opengl;
|
||||||
|
|
||||||
|
public final class NVVertexProgram3 {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
|
||||||
|
* GetFloatv, and GetDoublev:
|
||||||
|
*/
|
||||||
|
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB = 0x8B4C;
|
||||||
|
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,8 @@ noinst_LTLIBRARIES = libext.la
|
||||||
|
|
||||||
libext_la_SOURCES = $(SRC)
|
libext_la_SOURCES = $(SRC)
|
||||||
INCLUDES=-I..
|
INCLUDES=-I..
|
||||||
SRC=org_lwjgl_opengl_EXTBlendFuncSeparate.cpp \
|
SRC=org_lwjgl_opengl_EXTBlendEquationSeparate.cpp \
|
||||||
|
org_lwjgl_opengl_EXTBlendFuncSeparate.cpp \
|
||||||
org_lwjgl_opengl_EXTCompiledVertexArray.cpp \
|
org_lwjgl_opengl_EXTCompiledVertexArray.cpp \
|
||||||
org_lwjgl_opengl_EXTDepthBoundsTest.cpp \
|
org_lwjgl_opengl_EXTDepthBoundsTest.cpp \
|
||||||
org_lwjgl_opengl_EXTDrawRangeElements.cpp \
|
org_lwjgl_opengl_EXTDrawRangeElements.cpp \
|
||||||
|
|
|
@ -0,0 +1,62 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2002 Lightweight Java Game Library 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 'Light Weight Java Game Library' 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// ----------------------------------
|
||||||
|
// IMPLEMENTATION OF NATIVE METHODS FOR CLASS: org.lwjgl.opengl.EXTBlendEquationSeparate
|
||||||
|
// ----------------------------------
|
||||||
|
|
||||||
|
#include "extgl.h"
|
||||||
|
|
||||||
|
typedef void (APIENTRY * glBlendEquationSeparateEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
|
||||||
|
|
||||||
|
static glBlendEquationSeparateEXTPROC glBlendEquationSeparateEXT;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org.lwjgl.opengl.EXTBlendEquationSeparate
|
||||||
|
* Method: glBlendEquationSeparateEXT
|
||||||
|
*/
|
||||||
|
static void JNICALL Java_org_lwjgl_opengl_EXTBlendEquationSeparate_glBlendEquationSeparateEXT
|
||||||
|
(JNIEnv * env, jclass clazz, jint modeRGB, jint modeAlpha)
|
||||||
|
{
|
||||||
|
glBlendEquationSeparateEXT(modeRGB, modeAlpha);
|
||||||
|
}
|
||||||
|
|
||||||
|
void extgl_InitEXTBlendEquationSeparate(JNIEnv *env, jobject ext_set)
|
||||||
|
{
|
||||||
|
JavaMethodAndExtFunction functions[] = {
|
||||||
|
{"glBlendEquationSeparateEXT", "(II)V", (void*)&Java_org_lwjgl_opengl_EXTBlendEquationSeparate_glBlendEquationSeparateEXT, "glBlendEquationSeparateEXT", (void**)&glBlendEquationSeparateEXT}
|
||||||
|
};
|
||||||
|
int num_functions = NUMFUNCTIONS(functions);
|
||||||
|
jclass clazz = ext_ResetClass(env, "org/lwjgl/opengl/EXTBlendEquationSeparate");
|
||||||
|
if (extgl_Extensions.GL_EXT_blend_equation_separate)
|
||||||
|
extgl_InitializeClass(env, clazz, ext_set, "GL_EXT_blend_equation_separate", num_functions, functions);
|
||||||
|
}
|
|
@ -578,6 +578,7 @@ static void extgl_InitSupportedExtensions(JNIEnv *env, jobject ext_set)
|
||||||
|
|
||||||
extgl_Extensions.GL_EXT_abgr = GLQueryExtension(env, ext_set, "GL_EXT_abgr");
|
extgl_Extensions.GL_EXT_abgr = GLQueryExtension(env, ext_set, "GL_EXT_abgr");
|
||||||
extgl_Extensions.GL_EXT_bgra = GLQueryExtension(env, ext_set, "GL_EXT_bgra");
|
extgl_Extensions.GL_EXT_bgra = GLQueryExtension(env, ext_set, "GL_EXT_bgra");
|
||||||
|
extgl_Extensions.GL_EXT_blend_equation_separate = GLQueryExtension(env, ext_set, "GL_EXT_blend_equation_separate");
|
||||||
extgl_Extensions.GL_EXT_blend_func_separate = GLQueryExtension(env, ext_set, "GL_EXT_blend_func_separate");
|
extgl_Extensions.GL_EXT_blend_func_separate = GLQueryExtension(env, ext_set, "GL_EXT_blend_func_separate");
|
||||||
extgl_Extensions.GL_EXT_blend_subtract = GLQueryExtension(env, ext_set, "GL_EXT_blend_subtract");
|
extgl_Extensions.GL_EXT_blend_subtract = GLQueryExtension(env, ext_set, "GL_EXT_blend_subtract");
|
||||||
extgl_Extensions.GL_EXT_Cg_shader = GLQueryExtension(env, ext_set, "GL_EXT_Cg_shader");
|
extgl_Extensions.GL_EXT_Cg_shader = GLQueryExtension(env, ext_set, "GL_EXT_Cg_shader");
|
||||||
|
@ -671,6 +672,7 @@ extern void extgl_InitARBVertexProgram(JNIEnv *env, jobject ext_set);
|
||||||
extern void extgl_InitARBVertexShader(JNIEnv *env, jobject ext_set);
|
extern void extgl_InitARBVertexShader(JNIEnv *env, jobject ext_set);
|
||||||
extern void extgl_InitARBWindowPos(JNIEnv *env, jobject ext_set);
|
extern void extgl_InitARBWindowPos(JNIEnv *env, jobject ext_set);
|
||||||
|
|
||||||
|
extern void extgl_InitEXTBlendEquationSeparate(JNIEnv *env, jobject ext_set);
|
||||||
extern void extgl_InitEXTBlendFuncSeparate(JNIEnv *env, jobject ext_set);
|
extern void extgl_InitEXTBlendFuncSeparate(JNIEnv *env, jobject ext_set);
|
||||||
extern void extgl_InitEXTCompiledVertexArray(JNIEnv *env, jobject ext_set);
|
extern void extgl_InitEXTCompiledVertexArray(JNIEnv *env, jobject ext_set);
|
||||||
extern void extgl_InitEXTDepthBoundsTest(JNIEnv *env, jobject ext_set);
|
extern void extgl_InitEXTDepthBoundsTest(JNIEnv *env, jobject ext_set);
|
||||||
|
@ -742,6 +744,7 @@ bool extgl_Initialize(JNIEnv *env, jobject ext_set)
|
||||||
extgl_InitARBVertexShader(env, ext_set);
|
extgl_InitARBVertexShader(env, ext_set);
|
||||||
extgl_InitARBWindowPos(env, ext_set);
|
extgl_InitARBWindowPos(env, ext_set);
|
||||||
|
|
||||||
|
extgl_InitEXTBlendEquationSeparate(env, ext_set);
|
||||||
extgl_InitEXTBlendFuncSeparate(env, ext_set);
|
extgl_InitEXTBlendFuncSeparate(env, ext_set);
|
||||||
extgl_InitEXTCompiledVertexArray(env, ext_set);
|
extgl_InitEXTCompiledVertexArray(env, ext_set);
|
||||||
extgl_InitEXTDepthBoundsTest(env, ext_set);
|
extgl_InitEXTDepthBoundsTest(env, ext_set);
|
||||||
|
|
|
@ -2086,6 +2086,7 @@ struct ExtensionTypes
|
||||||
|
|
||||||
bool GL_EXT_abgr;
|
bool GL_EXT_abgr;
|
||||||
bool GL_EXT_bgra;
|
bool GL_EXT_bgra;
|
||||||
|
bool GL_EXT_blend_equation_separate;
|
||||||
bool GL_EXT_blend_func_separate;
|
bool GL_EXT_blend_func_separate;
|
||||||
bool GL_EXT_blend_subtract;
|
bool GL_EXT_blend_subtract;
|
||||||
bool GL_EXT_Cg_shader;
|
bool GL_EXT_Cg_shader;
|
||||||
|
|
Loading…
Reference in New Issue