|
From: <eli...@pr...> - 2004-01-31 03:03:42
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/nv In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3287/src/java/org/lwjgl/opengl/nv Modified Files: NVRegisterCombiners.java NVRegisterCombiners2.java Log Message: Split extgl functions into separate cpp files. Added some extensions Index: NVRegisterCombiners.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- NVRegisterCombiners.java 20 Jan 2004 08:37:16 -0000 1.6 +++ NVRegisterCombiners.java 29 Jan 2004 22:07:03 -0000 1.7 @@ -158,12 +158,4 @@ nglGetFinalCombinerInputParameterivNV(variable, pname, piParams, piParams.position()); } private static native void nglGetFinalCombinerInputParameterivNV(int variable, int pname, IntBuffer piParams, int piParams_offset); - public static void glCombinerStageParameterNV(int stage, int pname, FloatBuffer pfParams) { - nglCombinerStageParameterfvNV(stage, pname, pfParams, pfParams.position()); - } - private static native void nglCombinerStageParameterfvNV(int stage, int pname, FloatBuffer pfParams, int pfParams_offset); - public static void glGetCombinerStageParameterNV(int stage, int pname, FloatBuffer pfParams) { - nglGetCombinerStageParameterfvNV(stage, pname, pfParams, pfParams.position()); - } - private static native void nglGetCombinerStageParameterfvNV(int stage, int pname, FloatBuffer pfParams, int pfParams_offset); } Index: NVRegisterCombiners2.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/nv/NVRegisterCombiners2.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- NVRegisterCombiners2.java 20 Jan 2004 08:37:16 -0000 1.6 +++ NVRegisterCombiners2.java 29 Jan 2004 22:07:03 -0000 1.7 @@ -39,7 +39,18 @@ */ package org.lwjgl.opengl.nv; +import java.nio.FloatBuffer; + public class NVRegisterCombiners2 { public static final int GL_PER_STAGE_CONSTANTS_NV = 0x8535; + + public static void glCombinerStageParameterNV(int stage, int pname, FloatBuffer pfParams) { + nglCombinerStageParameterfvNV(stage, pname, pfParams, pfParams.position()); + } + private static native void nglCombinerStageParameterfvNV(int stage, int pname, FloatBuffer pfParams, int pfParams_offset); + public static void glGetCombinerStageParameterNV(int stage, int pname, FloatBuffer pfParams) { + nglGetCombinerStageParameterfvNV(stage, pname, pfParams, pfParams.position()); + } + private static native void nglGetCombinerStageParameterfvNV(int stage, int pname, FloatBuffer pfParams, int pfParams_offset); } |