Update of /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13117/src/generated/org/lwjgl/opengl Modified Files: ARBBufferObject.java ARBImaging.java ARBMatrixPalette.java ARBTextureCompression.java ARBVertexBlend.java ARBVertexProgram.java ARBVertexShader.java ATIElementArray.java EXTDrawRangeElements.java EXTFogCoord.java EXTSecondaryColor.java EXTVertexShader.java EXTVertexWeighting.java GL11.java GL12.java GL13.java GL14.java GL15.java GL20.java NVVertexProgram.java Log Message: Widened VBO/PBO buffer offsets and sizes to long to better match the GLsizeiptr and GLintptr native types Index: EXTVertexShader.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/EXTVertexShader.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- EXTVertexShader.java 2 Nov 2005 09:28:10 -0000 1.2 +++ EXTVertexShader.java 26 Feb 2006 11:44:33 -0000 1.3 @@ -384,13 +384,13 @@ nglVariantPointerEXT(id, unsigned ? GL11.GL_UNSIGNED_SHORT : GL11.GL_SHORT, stride, pAddr, pAddr.position() << 1, function_pointer); } private static native void nglVariantPointerEXT(int id, int type, int stride, Buffer pAddr, int pAddr_position, long function_pointer); - public static void glVariantPointerEXT(int id, int type, int stride, int pAddr_buffer_offset) { + public static void glVariantPointerEXT(int id, int type, int stride, long pAddr_buffer_offset) { long function_pointer = GLContext.getCapabilities().EXT_vertex_shader_glVariantPointerEXT_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglVariantPointerEXTBO(id, type, stride, pAddr_buffer_offset, function_pointer); } - private static native void nglVariantPointerEXTBO(int id, int type, int stride, int pAddr_buffer_offset, long function_pointer); + private static native void nglVariantPointerEXTBO(int id, int type, int stride, long pAddr_buffer_offset, long function_pointer); public static void glEnableVariantClientStateEXT(int id) { long function_pointer = GLContext.getCapabilities().EXT_vertex_shader_glEnableVariantClientStateEXT_pointer; Index: GL13.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/GL13.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- GL13.java 2 Nov 2005 09:28:10 -0000 1.2 +++ GL13.java 26 Feb 2006 11:44:33 -0000 1.3 @@ -158,13 +158,13 @@ nglCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data, data.position() << 1, function_pointer); } private static native void nglCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, Buffer data, int data_position, long function_pointer); - public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, int data_buffer_offset) { + public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexImage1D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglCompressedTexImage1DBO(target, level, internalformat, width, border, imageSize, data_buffer_offset, function_pointer); } - private static native void nglCompressedTexImage1DBO(int target, int level, int internalformat, int width, int border, int imageSize, int data_buffer_offset, long function_pointer); + private static native void nglCompressedTexImage1DBO(int target, int level, int internalformat, int width, int border, int imageSize, long data_buffer_offset, long function_pointer); public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, ByteBuffer data) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexImage2D_pointer; @@ -202,13 +202,13 @@ nglCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data, data.position() << 1, function_pointer); } private static native void nglCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data, int data_position, long function_pointer); - public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, int data_buffer_offset) { + public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexImage2D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglCompressedTexImage2DBO(target, level, internalformat, width, height, border, imageSize, data_buffer_offset, function_pointer); } - private static native void nglCompressedTexImage2DBO(int target, int level, int internalformat, int width, int height, int border, int imageSize, int data_buffer_offset, long function_pointer); + private static native void nglCompressedTexImage2DBO(int target, int level, int internalformat, int width, int height, int border, int imageSize, long data_buffer_offset, long function_pointer); public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, ByteBuffer data) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexImage3D_pointer; @@ -246,13 +246,13 @@ nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data, data.position() << 1, function_pointer); } private static native void nglCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, Buffer data, int data_position, long function_pointer); - public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, int data_buffer_offset) { + public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexImage3D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglCompressedTexImage3DBO(target, level, internalformat, width, height, depth, border, imageSize, data_buffer_offset, function_pointer); } - private static native void nglCompressedTexImage3DBO(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, int data_buffer_offset, long function_pointer); + private static native void nglCompressedTexImage3DBO(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long data_buffer_offset, long function_pointer); public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, ByteBuffer data) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexSubImage1D_pointer; @@ -290,13 +290,13 @@ nglCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data, data.position() << 1, function_pointer); } private static native void nglCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, Buffer data, int data_position, long function_pointer); - public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, int data_buffer_offset) { + public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexSubImage1D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglCompressedTexSubImage1DBO(target, level, xoffset, width, format, imageSize, data_buffer_offset, function_pointer); } - private static native void nglCompressedTexSubImage1DBO(int target, int level, int xoffset, int width, int format, int imageSize, int data_buffer_offset, long function_pointer); + private static native void nglCompressedTexSubImage1DBO(int target, int level, int xoffset, int width, int format, int imageSize, long data_buffer_offset, long function_pointer); public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, ByteBuffer data) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexSubImage2D_pointer; @@ -334,13 +334,13 @@ nglCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data, data.position() << 1, function_pointer); } private static native void nglCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data, int data_position, long function_pointer); - public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, int data_buffer_offset) { + public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexSubImage2D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglCompressedTexSubImage2DBO(target, level, xoffset, yoffset, width, height, format, imageSize, data_buffer_offset, function_pointer); } - private static native void nglCompressedTexSubImage2DBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, int data_buffer_offset, long function_pointer); + private static native void nglCompressedTexSubImage2DBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long data_buffer_offset, long function_pointer); public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, ByteBuffer data) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexSubImage3D_pointer; @@ -378,13 +378,13 @@ nglCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data, data.position() << 1, function_pointer); } private static native void nglCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, Buffer data, int data_position, long function_pointer); - public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, int data_buffer_offset) { + public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL13_glCompressedTexSubImage3D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglCompressedTexSubImage3DBO(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data_buffer_offset, function_pointer); } - private static native void nglCompressedTexSubImage3DBO(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, int data_buffer_offset, long function_pointer); + private static native void nglCompressedTexSubImage3DBO(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data_buffer_offset, long function_pointer); public static void glGetCompressedTexImage(int target, int lod, ByteBuffer img) { long function_pointer = GLContext.getCapabilities().GL13_glGetCompressedTexImage_pointer; @@ -408,13 +408,13 @@ nglGetCompressedTexImage(target, lod, img, img.position() << 1, function_pointer); } private static native void nglGetCompressedTexImage(int target, int lod, Buffer img, int img_position, long function_pointer); - public static void glGetCompressedTexImage(int target, int lod, int img_buffer_offset) { + public static void glGetCompressedTexImage(int target, int lod, long img_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL13_glGetCompressedTexImage_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(); nglGetCompressedTexImageBO(target, lod, img_buffer_offset, function_pointer); } - private static native void nglGetCompressedTexImageBO(int target, int lod, int img_buffer_offset, long function_pointer); + private static native void nglGetCompressedTexImageBO(int target, int lod, long img_buffer_offset, long function_pointer); public static void glMultiTexCoord1f(int target, float s) { long function_pointer = GLContext.getCapabilities().GL13_glMultiTexCoord1f_pointer; Index: GL15.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/GL15.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- GL15.java 27 Dec 2005 14:46:42 -0000 1.4 +++ GL15.java 26 Feb 2006 11:44:33 -0000 1.5 @@ -90,7 +90,7 @@ } private static native boolean nglIsBuffer(int buffer, long function_pointer); - public static void glBufferData(int target, int size, int usage) { + public static void glBufferData(int target, long size, int usage) { long function_pointer = GLContext.getCapabilities().GL15_glBufferData_pointer; BufferChecks.checkFunctionAddress(function_pointer); nglBufferData(target, size, null, 0, usage, function_pointer); @@ -125,71 +125,71 @@ BufferChecks.checkDirect(data); nglBufferData(target, (data.remaining() << 1), data, data.position() << 1, usage, function_pointer); } - private static native void nglBufferData(int target, int size, Buffer data, int data_position, int usage, long function_pointer); + private static native void nglBufferData(int target, long size, Buffer data, int data_position, int usage, long function_pointer); - public static void glBufferSubData(int target, int offset, ByteBuffer data) { + public static void glBufferSubData(int target, long offset, ByteBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglBufferSubData(target, offset, (data.remaining()), data, data.position(), function_pointer); } - public static void glBufferSubData(int target, int offset, DoubleBuffer data) { + public static void glBufferSubData(int target, long offset, DoubleBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglBufferSubData(target, offset, (data.remaining() << 3), data, data.position() << 3, function_pointer); } - public static void glBufferSubData(int target, int offset, FloatBuffer data) { + public static void glBufferSubData(int target, long offset, FloatBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglBufferSubData(target, offset, (data.remaining() << 2), data, data.position() << 2, function_pointer); } - public static void glBufferSubData(int target, int offset, IntBuffer data) { + public static void glBufferSubData(int target, long offset, IntBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglBufferSubData(target, offset, (data.remaining() << 2), data, data.position() << 2, function_pointer); } - public static void glBufferSubData(int target, int offset, ShortBuffer data) { + public static void glBufferSubData(int target, long offset, ShortBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglBufferSubData(target, offset, (data.remaining() << 1), data, data.position() << 1, function_pointer); } - private static native void nglBufferSubData(int target, int offset, int size, Buffer data, int data_position, long function_pointer); + private static native void nglBufferSubData(int target, long offset, long size, Buffer data, int data_position, long function_pointer); - public static void glGetBufferSubData(int target, int offset, ByteBuffer data) { + public static void glGetBufferSubData(int target, long offset, ByteBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glGetBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglGetBufferSubData(target, offset, (data.remaining()), data, data.position(), function_pointer); } - public static void glGetBufferSubData(int target, int offset, DoubleBuffer data) { + public static void glGetBufferSubData(int target, long offset, DoubleBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glGetBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglGetBufferSubData(target, offset, (data.remaining() << 3), data, data.position() << 3, function_pointer); } - public static void glGetBufferSubData(int target, int offset, FloatBuffer data) { + public static void glGetBufferSubData(int target, long offset, FloatBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glGetBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglGetBufferSubData(target, offset, (data.remaining() << 2), data, data.position() << 2, function_pointer); } - public static void glGetBufferSubData(int target, int offset, IntBuffer data) { + public static void glGetBufferSubData(int target, long offset, IntBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glGetBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglGetBufferSubData(target, offset, (data.remaining() << 2), data, data.position() << 2, function_pointer); } - public static void glGetBufferSubData(int target, int offset, ShortBuffer data) { + public static void glGetBufferSubData(int target, long offset, ShortBuffer data) { long function_pointer = GLContext.getCapabilities().GL15_glGetBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglGetBufferSubData(target, offset, (data.remaining() << 1), data, data.position() << 1, function_pointer); } - private static native void nglGetBufferSubData(int target, int offset, int size, Buffer data, int data_position, long function_pointer); + private static native void nglGetBufferSubData(int target, long offset, long size, Buffer data, int data_position, long function_pointer); /** * glMapBuffer maps a gl vertex buffer buffer to a ByteBuffer. The oldBuffer argument can be null, in which case a new Index: EXTSecondaryColor.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/EXTSecondaryColor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- EXTSecondaryColor.java 2 Nov 2005 09:28:10 -0000 1.2 +++ EXTSecondaryColor.java 26 Feb 2006 11:44:33 -0000 1.3 @@ -72,11 +72,11 @@ nglSecondaryColorPointerEXT(size, unsigned ? GL11.GL_UNSIGNED_BYTE : GL11.GL_BYTE, stride, pPointer, pPointer.position(), function_pointer); } private static native void nglSecondaryColorPointerEXT(int size, int type, int stride, Buffer pPointer, int pPointer_position, long function_pointer); - public static void glSecondaryColorPointerEXT(int size, int type, int stride, int pPointer_buffer_offset) { + public static void glSecondaryColorPointerEXT(int size, int type, int stride, long pPointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().EXT_secondary_color_glSecondaryColorPointerEXT_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglSecondaryColorPointerEXTBO(size, type, stride, pPointer_buffer_offset, function_pointer); } - private static native void nglSecondaryColorPointerEXTBO(int size, int type, int stride, int pPointer_buffer_offset, long function_pointer); + private static native void nglSecondaryColorPointerEXTBO(int size, int type, int stride, long pPointer_buffer_offset, long function_pointer); } Index: ARBVertexBlend.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/ARBVertexBlend.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ARBVertexBlend.java 2 Nov 2005 09:28:09 -0000 1.2 +++ ARBVertexBlend.java 26 Feb 2006 11:44:33 -0000 1.3 @@ -159,13 +159,13 @@ nglWeightPointerARB(size, unsigned ? GL11.GL_UNSIGNED_SHORT : GL11.GL_SHORT, stride, pPointer, pPointer.position() << 1, function_pointer); } private static native void nglWeightPointerARB(int size, int type, int stride, Buffer pPointer, int pPointer_position, long function_pointer); - public static void glWeightPointerARB(int size, int type, int stride, int pPointer_buffer_offset) { + public static void glWeightPointerARB(int size, int type, int stride, long pPointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().ARB_vertex_blend_glWeightPointerARB_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglWeightPointerARBBO(size, type, stride, pPointer_buffer_offset, function_pointer); } - private static native void nglWeightPointerARBBO(int size, int type, int stride, int pPointer_buffer_offset, long function_pointer); + private static native void nglWeightPointerARBBO(int size, int type, int stride, long pPointer_buffer_offset, long function_pointer); public static void glVertexBlendARB(int count) { long function_pointer = GLContext.getCapabilities().ARB_vertex_blend_glVertexBlendARB_pointer; Index: GL14.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/GL14.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- GL14.java 2 Nov 2005 09:28:10 -0000 1.2 +++ GL14.java 26 Feb 2006 11:44:33 -0000 1.3 @@ -96,13 +96,13 @@ nglFogCoordPointer(GL11.GL_FLOAT, stride, data, data.position() << 2, function_pointer); } private static native void nglFogCoordPointer(int type, int stride, Buffer data, int data_position, long function_pointer); - public static void glFogCoordPointer(int type, int stride, int data_buffer_offset) { + public static void glFogCoordPointer(int type, int stride, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL14_glFogCoordPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglFogCoordPointerBO(type, stride, data_buffer_offset, function_pointer); } - private static native void nglFogCoordPointerBO(int type, int stride, int data_buffer_offset, long function_pointer); + private static native void nglFogCoordPointerBO(int type, int stride, long data_buffer_offset, long function_pointer); public static void glMultiDrawArrays(int mode, IntBuffer piFirst, IntBuffer piCount) { if (piFirst.remaining() != piCount.remaining()) { @@ -196,13 +196,13 @@ nglSecondaryColorPointer(size, unsigned ? GL11.GL_UNSIGNED_BYTE : GL11.GL_BYTE, stride, data, data.position(), function_pointer); } private static native void nglSecondaryColorPointer(int size, int type, int stride, Buffer data, int data_position, long function_pointer); - public static void glSecondaryColorPointer(int size, int type, int stride, int data_buffer_offset) { + public static void glSecondaryColorPointer(int size, int type, int stride, long data_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL14_glSecondaryColorPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglSecondaryColorPointerBO(size, type, stride, data_buffer_offset, function_pointer); } - private static native void nglSecondaryColorPointerBO(int size, int type, int stride, int data_buffer_offset, long function_pointer); + private static native void nglSecondaryColorPointerBO(int size, int type, int stride, long data_buffer_offset, long function_pointer); public static void glBlendFuncSeparate(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha) { long function_pointer = GLContext.getCapabilities().GL14_glBlendFuncSeparate_pointer; Index: ARBMatrixPalette.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/ARBMatrixPalette.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ARBMatrixPalette.java 29 Sep 2005 17:13:36 -0000 1.1 +++ ARBMatrixPalette.java 26 Feb 2006 11:44:33 -0000 1.2 @@ -54,13 +54,13 @@ nglMatrixIndexPointerARB(size, GL11.GL_UNSIGNED_SHORT, stride, pPointer, pPointer.position() << 1, function_pointer); } private static native void nglMatrixIndexPointerARB(int size, int type, int stride, Buffer pPointer, int pPointer_position, long function_pointer); - public static void glMatrixIndexPointerARB(int size, int type, int stride, int pPointer_buffer_offset) { + public static void glMatrixIndexPointerARB(int size, int type, int stride, long pPointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().ARB_matrix_palette_glMatrixIndexPointerARB_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglMatrixIndexPointerARBBO(size, type, stride, pPointer_buffer_offset, function_pointer); } - private static native void nglMatrixIndexPointerARBBO(int size, int type, int stride, int pPointer_buffer_offset, long function_pointer); + private static native void nglMatrixIndexPointerARBBO(int size, int type, int stride, long pPointer_buffer_offset, long function_pointer); public static void glMatrixIndexuARB(ByteBuffer pIndices) { long function_pointer = GLContext.getCapabilities().ARB_matrix_palette_glMatrixIndexubvARB_pointer; Index: GL20.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/GL20.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- GL20.java 24 Dec 2005 19:28:13 -0000 1.3 +++ GL20.java 26 Feb 2006 11:44:33 -0000 1.4 @@ -645,13 +645,13 @@ nglVertexAttribPointer(index, size, unsigned ? GL11.GL_UNSIGNED_SHORT : GL11.GL_SHORT, normalized, stride, buffer, buffer.position() << 1, function_pointer); } private static native void nglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, Buffer buffer, int buffer_position, long function_pointer); - public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, int buffer_buffer_offset) { + public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long buffer_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL20_glVertexAttribPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglVertexAttribPointerBO(index, size, type, normalized, stride, buffer_buffer_offset, function_pointer); } - private static native void nglVertexAttribPointerBO(int index, int size, int type, boolean normalized, int stride, int buffer_buffer_offset, long function_pointer); + private static native void nglVertexAttribPointerBO(int index, int size, int type, boolean normalized, int stride, long buffer_buffer_offset, long function_pointer); public static void glEnableVertexAttribArray(int index) { long function_pointer = GLContext.getCapabilities().GL20_glEnableVertexAttribArray_pointer; Index: GL11.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/GL11.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- GL11.java 2 Nov 2005 09:28:10 -0000 1.4 +++ GL11.java 26 Feb 2006 11:44:33 -0000 1.5 @@ -621,13 +621,13 @@ nglBitmap(width, height, xorig, yorig, xmove, ymove, bitmap, bitmap.position(), function_pointer); } private static native void nglBitmap(int width, int height, float xorig, float yorig, float xmove, float ymove, ByteBuffer bitmap, int bitmap_position, long function_pointer); - public static void glBitmap(int width, int height, float xorig, float yorig, float xmove, float ymove, int bitmap_buffer_offset) { + public static void glBitmap(int width, int height, float xorig, float yorig, float xmove, float ymove, long bitmap_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glBitmap_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglBitmapBO(width, height, xorig, yorig, xmove, ymove, bitmap_buffer_offset, function_pointer); } - private static native void nglBitmapBO(int width, int height, float xorig, float yorig, float xmove, float ymove, int bitmap_buffer_offset, long function_pointer); + private static native void nglBitmapBO(int width, int height, float xorig, float yorig, float xmove, float ymove, long bitmap_buffer_offset, long function_pointer); public static void glBindTexture(int target, int texture) { long function_pointer = GLContext.getCapabilities().GL11_glBindTexture_pointer; @@ -746,13 +746,13 @@ nglColorPointer(size, unsigned ? GL11.GL_UNSIGNED_BYTE : GL11.GL_BYTE, stride, pointer, pointer.position(), function_pointer); } private static native void nglColorPointer(int size, int type, int stride, Buffer pointer, int pointer_position, long function_pointer); - public static void glColorPointer(int size, int type, int stride, int pointer_buffer_offset) { + public static void glColorPointer(int size, int type, int stride, long pointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glColorPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglColorPointerBO(size, type, stride, pointer_buffer_offset, function_pointer); } - private static native void nglColorPointerBO(int size, int type, int stride, int pointer_buffer_offset, long function_pointer); + private static native void nglColorPointerBO(int size, int type, int stride, long pointer_buffer_offset, long function_pointer); public static void glColorMaterial(int face, int mode) { long function_pointer = GLContext.getCapabilities().GL11_glColorMaterial_pointer; @@ -932,13 +932,13 @@ nglEdgeFlagPointer(stride, pointer, pointer.position(), function_pointer); } private static native void nglEdgeFlagPointer(int stride, Buffer pointer, int pointer_position, long function_pointer); - public static void glEdgeFlagPointer(int stride, int pointer_buffer_offset) { + public static void glEdgeFlagPointer(int stride, long pointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glEdgeFlagPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglEdgeFlagPointerBO(stride, pointer_buffer_offset, function_pointer); } - private static native void nglEdgeFlagPointerBO(int stride, int pointer_buffer_offset, long function_pointer); + private static native void nglEdgeFlagPointerBO(int stride, long pointer_buffer_offset, long function_pointer); public static void glEdgeFlag(boolean flag) { long function_pointer = GLContext.getCapabilities().GL11_glEdgeFlag_pointer; @@ -969,13 +969,13 @@ nglDrawPixels(width, height, format, type, pixels, pixels.position() << 1, function_pointer); } private static native void nglDrawPixels(int width, int height, int format, int type, Buffer pixels, int pixels_position, long function_pointer); - public static void glDrawPixels(int width, int height, int format, int type, int pixels_buffer_offset) { + public static void glDrawPixels(int width, int height, int format, int type, long pixels_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glDrawPixels_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglDrawPixelsBO(width, height, format, type, pixels_buffer_offset, function_pointer); } - private static native void nglDrawPixelsBO(int width, int height, int format, int type, int pixels_buffer_offset, long function_pointer); + private static native void nglDrawPixelsBO(int width, int height, int format, int type, long pixels_buffer_offset, long function_pointer); public static void glDrawElements(int mode, ByteBuffer indices) { long function_pointer = GLContext.getCapabilities().GL11_glDrawElements_pointer; @@ -999,13 +999,13 @@ nglDrawElements(mode, (indices.remaining()), GL11.GL_UNSIGNED_SHORT, indices, indices.position() << 1, function_pointer); } private static native void nglDrawElements(int mode, int count, int type, Buffer indices, int indices_position, long function_pointer); - public static void glDrawElements(int mode, int count, int type, int indices_buffer_offset) { + public static void glDrawElements(int mode, int count, int type, long indices_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glDrawElements_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureElementVBOenabled(); nglDrawElementsBO(mode, count, type, indices_buffer_offset, function_pointer); } - private static native void nglDrawElementsBO(int mode, int count, int type, int indices_buffer_offset, long function_pointer); + private static native void nglDrawElementsBO(int mode, int count, int type, long indices_buffer_offset, long function_pointer); public static void glDrawBuffer(int mode) { long function_pointer = GLContext.getCapabilities().GL11_glDrawBuffer_pointer; @@ -1058,13 +1058,13 @@ nglGetPixelMapfv(map, values, values.position(), function_pointer); } private static native void nglGetPixelMapfv(int map, FloatBuffer values, int values_position, long function_pointer); - public static void glGetPixelMapfv(int map, int values_buffer_offset) { + public static void glGetPixelMapfv(int map, long values_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glGetPixelMapfv_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(); nglGetPixelMapfvBO(map, values_buffer_offset, function_pointer); } - private static native void nglGetPixelMapfvBO(int map, int values_buffer_offset, long function_pointer); + private static native void nglGetPixelMapfvBO(int map, long values_buffer_offset, long function_pointer); public static void glGetPixelMapu(int map, IntBuffer values) { long function_pointer = GLContext.getCapabilities().GL11_glGetPixelMapuiv_pointer; @@ -1074,13 +1074,13 @@ nglGetPixelMapuiv(map, values, values.position(), function_pointer); } private static native void nglGetPixelMapuiv(int map, IntBuffer values, int values_position, long function_pointer); - public static void glGetPixelMapuiv(int map, int values_buffer_offset) { + public static void glGetPixelMapuiv(int map, long values_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glGetPixelMapuiv_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(); nglGetPixelMapuivBO(map, values_buffer_offset, function_pointer); } - private static native void nglGetPixelMapuivBO(int map, int values_buffer_offset, long function_pointer); + private static native void nglGetPixelMapuivBO(int map, long values_buffer_offset, long function_pointer); public static void glGetPixelMapu(int map, ShortBuffer values) { long function_pointer = GLContext.getCapabilities().GL11_glGetPixelMapusv_pointer; @@ -1090,13 +1090,13 @@ nglGetPixelMapusv(map, values, values.position(), function_pointer); } private static native void nglGetPixelMapusv(int map, ShortBuffer values, int values_position, long function_pointer); - public static void glGetPixelMapusv(int map, int values_buffer_offset) { + public static void glGetPixelMapusv(int map, long values_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glGetPixelMapusv_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(); nglGetPixelMapusvBO(map, values_buffer_offset, function_pointer); } - private static native void nglGetPixelMapusvBO(int map, int values_buffer_offset, long function_pointer); + private static native void nglGetPixelMapusvBO(int map, long values_buffer_offset, long function_pointer); public static void glGetMaterial(int face, int pname, FloatBuffer params) { long function_pointer = GLContext.getCapabilities().GL11_glGetMaterialfv_pointer; @@ -1328,13 +1328,13 @@ nglInterleavedArrays(format, stride, pointer, pointer.position() << 1, function_pointer); } private static native void nglInterleavedArrays(int format, int stride, Buffer pointer, int pointer_position, long function_pointer); - public static void glInterleavedArrays(int format, int stride, int pointer_buffer_offset) { + public static void glInterleavedArrays(int format, int stride, long pointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glInterleavedArrays_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglInterleavedArraysBO(format, stride, pointer_buffer_offset, function_pointer); } - private static native void nglInterleavedArraysBO(int format, int stride, int pointer_buffer_offset, long function_pointer); + private static native void nglInterleavedArraysBO(int format, int stride, long pointer_buffer_offset, long function_pointer); public static void glInitNames() { long function_pointer = GLContext.getCapabilities().GL11_glInitNames_pointer; @@ -1418,13 +1418,13 @@ nglGetTexImage(target, level, format, type, pixels, pixels.position() << 1, function_pointer); } private static native void nglGetTexImage(int target, int level, int format, int type, Buffer pixels, int pixels_position, long function_pointer); - public static void glGetTexImage(int target, int level, int format, int type, int pixels_buffer_offset) { + public static void glGetTexImage(int target, int level, int format, int type, long pixels_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glGetTexImage_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(); nglGetTexImageBO(target, level, format, type, pixels_buffer_offset, function_pointer); } - private static native void nglGetTexImageBO(int target, int level, int format, int type, int pixels_buffer_offset, long function_pointer); + private static native void nglGetTexImageBO(int target, int level, int format, int type, long pixels_buffer_offset, long function_pointer); public static void glGetTexGen(int coord, int pname, IntBuffer params) { long function_pointer = GLContext.getCapabilities().GL11_glGetTexGeniv_pointer; @@ -1482,13 +1482,13 @@ nglGetPolygonStipple(mask, mask.position(), function_pointer); } private static native void nglGetPolygonStipple(ByteBuffer mask, int mask_position, long function_pointer); - public static void glGetPolygonStipple(int mask_buffer_offset) { + public static void glGetPolygonStipple(long mask_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glGetPolygonStipple_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(); nglGetPolygonStippleBO(mask_buffer_offset, function_pointer); } - private static native void nglGetPolygonStippleBO(int mask_buffer_offset, long function_pointer); + private static native void nglGetPolygonStippleBO(long mask_buffer_offset, long function_pointer); public static boolean glIsList(int list) { long function_pointer = GLContext.getCapabilities().GL11_glIsList_pointer; @@ -1729,13 +1729,13 @@ nglPolygonStipple(mask, mask.position(), function_pointer); } private static native void nglPolygonStipple(ByteBuffer mask, int mask_position, long function_pointer); - public static void glPolygonStipple(int mask_buffer_offset) { + public static void glPolygonStipple(long mask_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glPolygonStipple_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglPolygonStippleBO(mask_buffer_offset, function_pointer); } - private static native void nglPolygonStippleBO(int mask_buffer_offset, long function_pointer); + private static native void nglPolygonStippleBO(long mask_buffer_offset, long function_pointer); public static void glPolygonOffset(float factor, float units) { long function_pointer = GLContext.getCapabilities().GL11_glPolygonOffset_pointer; @@ -1801,13 +1801,13 @@ nglPixelMapfv(map, (values.remaining()), values, values.position(), function_pointer); } private static native void nglPixelMapfv(int map, int mapsize, FloatBuffer values, int values_position, long function_pointer); - public static void glPixelMapfv(int map, int mapsize, int values_buffer_offset) { + public static void glPixelMapfv(int map, int mapsize, long values_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glPixelMapfv_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglPixelMapfvBO(map, mapsize, values_buffer_offset, function_pointer); } - private static native void nglPixelMapfvBO(int map, int mapsize, int values_buffer_offset, long function_pointer); + private static native void nglPixelMapfvBO(int map, int mapsize, long values_buffer_offset, long function_pointer); public static void glPixelMapu(int map, IntBuffer values) { long function_pointer = GLContext.getCapabilities().GL11_glPixelMapuiv_pointer; @@ -1817,13 +1817,13 @@ nglPixelMapuiv(map, (values.remaining()), values, values.position(), function_pointer); } private static native void nglPixelMapuiv(int map, int mapsize, IntBuffer values, int values_position, long function_pointer); - public static void glPixelMapuiv(int map, int mapsize, int values_buffer_offset) { + public static void glPixelMapuiv(int map, int mapsize, long values_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glPixelMapuiv_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglPixelMapuivBO(map, mapsize, values_buffer_offset, function_pointer); } - private static native void nglPixelMapuivBO(int map, int mapsize, int values_buffer_offset, long function_pointer); + private static native void nglPixelMapuivBO(int map, int mapsize, long values_buffer_offset, long function_pointer); public static void glPixelMapu(int map, ShortBuffer values) { long function_pointer = GLContext.getCapabilities().GL11_glPixelMapusv_pointer; @@ -1833,13 +1833,13 @@ nglPixelMapusv(map, (values.remaining()), values, values.position(), function_pointer); } private static native void nglPixelMapusv(int map, int mapsize, ShortBuffer values, int values_position, long function_pointer); - public static void glPixelMapusv(int map, int mapsize, int values_buffer_offset) { + public static void glPixelMapusv(int map, int mapsize, long values_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glPixelMapusv_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglPixelMapusvBO(map, mapsize, values_buffer_offset, function_pointer); } - private static native void nglPixelMapusvBO(int map, int mapsize, int values_buffer_offset, long function_pointer); + private static native void nglPixelMapusvBO(int map, int mapsize, long values_buffer_offset, long function_pointer); public static void glPassThrough(float token) { long function_pointer = GLContext.getCapabilities().GL11_glPassThrough_pointer; @@ -1888,13 +1888,13 @@ nglNormalPointer(GL11.GL_INT, stride, pointer, pointer.position() << 2, function_pointer); } private static native void nglNormalPointer(int type, int stride, Buffer pointer, int pointer_position, long function_pointer); - public static void glNormalPointer(int type, int stride, int pointer_buffer_offset) { + public static void glNormalPointer(int type, int stride, long pointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glNormalPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglNormalPointerBO(type, stride, pointer_buffer_offset, function_pointer); } - private static native void nglNormalPointerBO(int type, int stride, int pointer_buffer_offset, long function_pointer); + private static native void nglNormalPointerBO(int type, int stride, long pointer_buffer_offset, long function_pointer); public static void glNormal3b(byte nx, byte ny, byte nz) { long function_pointer = GLContext.getCapabilities().GL11_glNormal3b_pointer; @@ -2063,13 +2063,13 @@ nglReadPixels(x, y, width, height, format, type, pixels, pixels.position() << 1, function_pointer); } private static native void nglReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels, int pixels_position, long function_pointer); - public static void glReadPixels(int x, int y, int width, int height, int format, int type, int pixels_buffer_offset) { + public static void glReadPixels(int x, int y, int width, int height, int format, int type, long pixels_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glReadPixels_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(); nglReadPixelsBO(x, y, width, height, format, type, pixels_buffer_offset, function_pointer); } - private static native void nglReadPixelsBO(int x, int y, int width, int height, int format, int type, int pixels_buffer_offset, long function_pointer); + private static native void nglReadPixelsBO(int x, int y, int width, int height, int format, int type, long pixels_buffer_offset, long function_pointer); public static void glReadBuffer(int mode) { long function_pointer = GLContext.getCapabilities().GL11_glReadBuffer_pointer; @@ -2231,13 +2231,13 @@ nglVertexPointer(size, GL11.GL_INT, stride, pointer, pointer.position() << 2, function_pointer); } private static native void nglVertexPointer(int size, int type, int stride, Buffer pointer, int pointer_position, long function_pointer); - public static void glVertexPointer(int size, int type, int stride, int pointer_buffer_offset) { + public static void glVertexPointer(int size, int type, int stride, long pointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glVertexPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglVertexPointerBO(size, type, stride, pointer_buffer_offset, function_pointer); } - private static native void nglVertexPointerBO(int size, int type, int stride, int pointer_buffer_offset, long function_pointer); + private static native void nglVertexPointerBO(int size, int type, int stride, long pointer_buffer_offset, long function_pointer); public static void glVertex2f(float x, float y) { long function_pointer = GLContext.getCapabilities().GL11_glVertex2f_pointer; @@ -2357,13 +2357,13 @@ nglTexImage1D(target, level, internalformat, width, border, format, type, pixels, pixels != null ? pixels.position() << 1 : 0, function_pointer); } private static native void nglTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, Buffer pixels, int pixels_position, long function_pointer); - public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, int pixels_buffer_offset) { + public static void glTexImage1D(int target, int level, int internalformat, int width, int border, int format, int type, long pixels_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glTexImage1D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglTexImage1DBO(target, level, internalformat, width, border, format, type, pixels_buffer_offset, function_pointer); } - private static native void nglTexImage1DBO(int target, int level, int internalformat, int width, int border, int format, int type, int pixels_buffer_offset, long function_pointer); + private static native void nglTexImage1DBO(int target, int level, int internalformat, int width, int border, int format, int type, long pixels_buffer_offset, long function_pointer); public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, ByteBuffer pixels) { long function_pointer = GLContext.getCapabilities().GL11_glTexImage2D_pointer; @@ -2406,13 +2406,13 @@ nglTexImage2D(target, level, internalformat, width, height, border, format, type, pixels, pixels != null ? pixels.position() << 1 : 0, function_pointer); } private static native void nglTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels, int pixels_position, long function_pointer); - public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, int pixels_buffer_offset) { + public static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, long pixels_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glTexImage2D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglTexImage2DBO(target, level, internalformat, width, height, border, format, type, pixels_buffer_offset, function_pointer); } - private static native void nglTexImage2DBO(int target, int level, int internalformat, int width, int height, int border, int format, int type, int pixels_buffer_offset, long function_pointer); + private static native void nglTexImage2DBO(int target, int level, int internalformat, int width, int height, int border, int format, int type, long pixels_buffer_offset, long function_pointer); public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, ByteBuffer pixels) { long function_pointer = GLContext.getCapabilities().GL11_glTexSubImage1D_pointer; @@ -2450,13 +2450,13 @@ nglTexSubImage1D(target, level, xoffset, width, format, type, pixels, pixels.position() << 1, function_pointer); } private static native void nglTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, Buffer pixels, int pixels_position, long function_pointer); - public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, int pixels_buffer_offset) { + public static void glTexSubImage1D(int target, int level, int xoffset, int width, int format, int type, long pixels_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glTexSubImage1D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglTexSubImage1DBO(target, level, xoffset, width, format, type, pixels_buffer_offset, function_pointer); } - private static native void nglTexSubImage1DBO(int target, int level, int xoffset, int width, int format, int type, int pixels_buffer_offset, long function_pointer); + private static native void nglTexSubImage1DBO(int target, int level, int xoffset, int width, int format, int type, long pixels_buffer_offset, long function_pointer); public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, ByteBuffer pixels) { long function_pointer = GLContext.getCapabilities().GL11_glTexSubImage2D_pointer; @@ -2494,13 +2494,13 @@ nglTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels, pixels.position() << 1, function_pointer); } private static native void nglTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels, int pixels_position, long function_pointer); - public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int pixels_buffer_offset) { + public static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glTexSubImage2D_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(); nglTexSubImage2DBO(target, level, xoffset, yoffset, width, height, format, type, pixels_buffer_offset, function_pointer); } - private static native void nglTexSubImage2DBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, int pixels_buffer_offset, long function_pointer); + private static native void nglTexSubImage2DBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, long pixels_buffer_offset, long function_pointer); public static void glTexParameterf(int target, int pname, float param) { long function_pointer = GLContext.getCapabilities().GL11_glTexParameterf_pointer; @@ -2624,13 +2624,13 @@ nglTexCoordPointer(size, GL11.GL_FLOAT, stride, pointer, pointer.position() << 2, function_pointer); } private static native void nglTexCoordPointer(int size, int type, int stride, Buffer pointer, int pointer_position, long function_pointer); - public static void glTexCoordPointer(int size, int type, int stride, int pointer_buffer_offset) { + public static void glTexCoordPointer(int size, int type, int stride, long pointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().GL11_glTexCoordPointer_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglTexCoordPointerBO(size, type, stride, pointer_buffer_offset, function_pointer); } - private static native void nglTexCoordPointerBO(int size, int type, int stride, int pointer_buffer_offset, long function_pointer); + private static native void nglTexCoordPointerBO(int size, int type, int stride, long pointer_buffer_offset, long function_pointer); public static void glTexCoord1f(float s) { long function_pointer = GLContext.getCapabilities().GL11_glTexCoord1f_pointer; Index: ARBVertexProgram.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/ARBVertexProgram.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- ARBVertexProgram.java 24 Dec 2005 19:28:13 -0000 1.3 +++ ARBVertexProgram.java 26 Feb 2006 11:44:33 -0000 1.4 @@ -186,13 +186,13 @@ nglVertexAttribPointerARB(index, size, unsigned ? GL11.GL_UNSIGNED_SHORT : GL11.GL_SHORT, normalized, stride, buffer, buffer.position() << 1, function_pointer); } private static native void nglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, Buffer buffer, int buffer_position, long function_pointer); - public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int buffer_buffer_offset) { + public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long buffer_buffer_offset) { long function_pointer = GLContext.getCapabilities().ARB_vertex_program_glVertexAttribPointerARB_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglVertexAttribPointerARBBO(index, size, type, normalized, stride, buffer_buffer_offset, function_pointer); } - private static native void nglVertexAttribPointerARBBO(int index, int size, int type, boolean normalized, int stride, int buffer_buffer_offset, long function_pointer); + private static native void nglVertexAttribPointerARBBO(int index, int size, int type, boolean normalized, int stride, long buffer_buffer_offset, long function_pointer); public static void glEnableVertexAttribArrayARB(int index) { long function_pointer = GLContext.getCapabilities().ARB_vertex_program_glEnableVertexAttribArrayARB_pointer; Index: ATIElementArray.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/ATIElementArray.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ATIElementArray.java 29 Sep 2005 17:13:36 -0000 1.1 +++ ATIElementArray.java 26 Feb 2006 11:44:33 -0000 1.2 @@ -40,13 +40,13 @@ nglElementPointerATI(GL11.GL_UNSIGNED_SHORT, pPointer, pPointer.position() << 1, function_pointer); } private static native void nglElementPointerATI(int type, Buffer pPointer, int pPointer_position, long function_pointer); - public static void glElementPointerATI(int type, int pPointer_buffer_offset) { + public static void glElementPointerATI(int type, long pPointer_buffer_offset) { long function_pointer = GLContext.getCapabilities().ATI_element_array_glElementPointerATI_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(); nglElementPointerATIBO(type, pPointer_buffer_offset, function_pointer); } - private static native void nglElementPointerATIBO(int type, int pPointer_buffer_offset, long function_pointer); + private static native void nglElementPointerATIBO(int type, long pPointer_buffer_offset, long function_pointer); public static void glDrawElementArrayATI(int mode, int count) { long function_pointer = GLContext.getCapabilities().ATI_element_array_glDrawElementArrayATI_pointer; Index: EXTVertexWeighting.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/generated/org/lwjgl/opengl/EXTVertexWeighting.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- EXTVertexWeighting.java 29 Sep 2005 17:13:36 -0000 1.1 +++ EXTVertexWeighting.java 26 Feb 2006 11:44:33 -0000 1.2 @@ -41,11 +41,11 @@ nglVertexWeightPointerEXT(size, GL11.GL_FLOAT, stride, pPointer, pPointer.position() << 2, function_pointer); } private static native void nglVertexWeightPointerEXT(int size, int type, int stride, Buffer pPointer, int pPointer_position, long function_pointer); - public static void glVertexWeightPointerEXT(int size, int type, int stride, int pPointer_buffer_offset) { + public static void glVertexWeightPointerEXT(int size, int ty... [truncated message content] |