ARBTextureCompression, GL13: Only allow ByteBuffer for glCompressedTex*Image*D since the spec defines that the image data is interpreted as (unsigned) bytes anyway. Also let the imageSize parameter be automatically determined
This commit is contained in:
parent
93eabcf999
commit
0b8e49cb54
|
@ -23,47 +23,15 @@ public final class ARBTextureCompression {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, ByteBuffer pData) {
|
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, ByteBuffer pData) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(pData);
|
BufferChecks.checkDirect(pData);
|
||||||
nglCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, pData, pData.position(), function_pointer);
|
nglCompressedTexImage1DARB(target, level, internalformat, width, border, (pData.remaining()), pData, pData.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, DoubleBuffer pData) {
|
private static native void nglCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, ByteBuffer pData, int pData_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, pData, pData.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, FloatBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, IntBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, ShortBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage1DARB(target, level, internalformat, width, border, imageSize, pData, pData.position() << 1, function_pointer);
|
|
||||||
}
|
|
||||||
private static native void nglCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, Buffer pData, int pData_position, long function_pointer);
|
|
||||||
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, long pData_buffer_offset) {
|
public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int imageSize, long pData_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage1DARB_pointer;
|
||||||
|
@ -73,47 +41,15 @@ public final class ARBTextureCompression {
|
||||||
}
|
}
|
||||||
private static native void nglCompressedTexImage1DARBBO(int target, int level, int internalformat, int width, int border, int imageSize, long pData_buffer_offset, long function_pointer);
|
private static native void nglCompressedTexImage1DARBBO(int target, int level, int internalformat, int width, int border, int imageSize, long pData_buffer_offset, long function_pointer);
|
||||||
|
|
||||||
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, ByteBuffer pData) {
|
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, ByteBuffer pData) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(pData);
|
BufferChecks.checkDirect(pData);
|
||||||
nglCompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, pData, pData.position(), function_pointer);
|
nglCompressedTexImage2DARB(target, level, internalformat, width, height, border, (pData.remaining()), pData, pData.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, DoubleBuffer pData) {
|
private static native void nglCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, ByteBuffer pData, int pData_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, pData, pData.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, FloatBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, IntBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, ShortBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage2DARB(target, level, internalformat, width, height, border, imageSize, pData, pData.position() << 1, function_pointer);
|
|
||||||
}
|
|
||||||
private static native void nglCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer pData, int pData_position, long function_pointer);
|
|
||||||
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, long pData_buffer_offset) {
|
public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int imageSize, long pData_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage2DARB_pointer;
|
||||||
|
@ -123,47 +59,15 @@ public final class ARBTextureCompression {
|
||||||
}
|
}
|
||||||
private static native void nglCompressedTexImage2DARBBO(int target, int level, int internalformat, int width, int height, int border, int imageSize, long pData_buffer_offset, long function_pointer);
|
private static native void nglCompressedTexImage2DARBBO(int target, int level, int internalformat, int width, int height, int border, int imageSize, long pData_buffer_offset, long function_pointer);
|
||||||
|
|
||||||
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, ByteBuffer pData) {
|
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, ByteBuffer pData) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(pData);
|
BufferChecks.checkDirect(pData);
|
||||||
nglCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, pData, pData.position(), function_pointer);
|
nglCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, (pData.remaining()), pData, pData.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, DoubleBuffer pData) {
|
private static native void nglCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, ByteBuffer pData, int pData_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, pData, pData.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, FloatBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, IntBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, ShortBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, imageSize, pData, pData.position() << 1, function_pointer);
|
|
||||||
}
|
|
||||||
private static native void nglCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, Buffer pData, int pData_position, long function_pointer);
|
|
||||||
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long pData_buffer_offset) {
|
public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long pData_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexImage3DARB_pointer;
|
||||||
|
@ -173,47 +77,15 @@ public final class ARBTextureCompression {
|
||||||
}
|
}
|
||||||
private static native void nglCompressedTexImage3DARBBO(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long pData_buffer_offset, long function_pointer);
|
private static native void nglCompressedTexImage3DARBBO(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long pData_buffer_offset, long function_pointer);
|
||||||
|
|
||||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, ByteBuffer pData) {
|
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, ByteBuffer pData) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(pData);
|
BufferChecks.checkDirect(pData);
|
||||||
nglCompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, pData, pData.position(), function_pointer);
|
nglCompressedTexSubImage1DARB(target, level, xoffset, width, format, (pData.remaining()), pData, pData.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, DoubleBuffer pData) {
|
private static native void nglCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, ByteBuffer pData, int pData_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, pData, pData.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, FloatBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, IntBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, ShortBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage1DARB(target, level, xoffset, width, format, imageSize, pData, pData.position() << 1, function_pointer);
|
|
||||||
}
|
|
||||||
private static native void nglCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, Buffer pData, int pData_position, long function_pointer);
|
|
||||||
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, long pData_buffer_offset) {
|
public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int imageSize, long pData_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage1DARB_pointer;
|
||||||
|
@ -223,47 +95,15 @@ public final class ARBTextureCompression {
|
||||||
}
|
}
|
||||||
private static native void nglCompressedTexSubImage1DARBBO(int target, int level, int xoffset, int width, int format, int imageSize, long pData_buffer_offset, long function_pointer);
|
private static native void nglCompressedTexSubImage1DARBBO(int target, int level, int xoffset, int width, int format, int imageSize, long pData_buffer_offset, long function_pointer);
|
||||||
|
|
||||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, ByteBuffer pData) {
|
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, ByteBuffer pData) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(pData);
|
BufferChecks.checkDirect(pData);
|
||||||
nglCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, pData, pData.position(), function_pointer);
|
nglCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, (pData.remaining()), pData, pData.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, DoubleBuffer pData) {
|
private static native void nglCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, ByteBuffer pData, int pData_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, pData, pData.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, FloatBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, IntBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, ShortBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, imageSize, pData, pData.position() << 1, function_pointer);
|
|
||||||
}
|
|
||||||
private static native void nglCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer pData, int pData_position, long function_pointer);
|
|
||||||
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long pData_buffer_offset) {
|
public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long pData_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage2DARB_pointer;
|
||||||
|
@ -273,47 +113,15 @@ public final class ARBTextureCompression {
|
||||||
}
|
}
|
||||||
private static native void nglCompressedTexSubImage2DARBBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long pData_buffer_offset, long function_pointer);
|
private static native void nglCompressedTexSubImage2DARBBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, long pData_buffer_offset, long function_pointer);
|
||||||
|
|
||||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, ByteBuffer pData) {
|
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, ByteBuffer pData) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(pData);
|
BufferChecks.checkDirect(pData);
|
||||||
nglCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pData, pData.position(), function_pointer);
|
nglCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, (pData.remaining()), pData, pData.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, DoubleBuffer pData) {
|
private static native void nglCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, ByteBuffer pData, int pData_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pData, pData.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, FloatBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, IntBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pData, pData.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, ShortBuffer pData) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pData);
|
|
||||||
nglCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, pData, pData.position() << 1, function_pointer);
|
|
||||||
}
|
|
||||||
private static native void nglCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, Buffer pData, int pData_position, long function_pointer);
|
|
||||||
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long pData_buffer_offset) {
|
public static void glCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long pData_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glCompressedTexSubImage3DARB_pointer;
|
||||||
|
@ -331,39 +139,7 @@ public final class ARBTextureCompression {
|
||||||
BufferChecks.checkDirect(pImg);
|
BufferChecks.checkDirect(pImg);
|
||||||
nglGetCompressedTexImageARB(target, lod, pImg, pImg.position(), function_pointer);
|
nglGetCompressedTexImageARB(target, lod, pImg, pImg.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glGetCompressedTexImageARB(int target, int lod, DoubleBuffer pImg) {
|
private static native void nglGetCompressedTexImageARB(int target, int lod, ByteBuffer pImg, int pImg_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glGetCompressedTexImageARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensurePackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pImg);
|
|
||||||
nglGetCompressedTexImageARB(target, lod, pImg, pImg.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glGetCompressedTexImageARB(int target, int lod, FloatBuffer pImg) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glGetCompressedTexImageARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensurePackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pImg);
|
|
||||||
nglGetCompressedTexImageARB(target, lod, pImg, pImg.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glGetCompressedTexImageARB(int target, int lod, IntBuffer pImg) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glGetCompressedTexImageARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensurePackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pImg);
|
|
||||||
nglGetCompressedTexImageARB(target, lod, pImg, pImg.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glGetCompressedTexImageARB(int target, int lod, ShortBuffer pImg) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.ARB_texture_compression_glGetCompressedTexImageARB_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensurePackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(pImg);
|
|
||||||
nglGetCompressedTexImageARB(target, lod, pImg, pImg.position() << 1, function_pointer);
|
|
||||||
}
|
|
||||||
private static native void nglGetCompressedTexImageARB(int target, int lod, Buffer pImg, int pImg_position, long function_pointer);
|
|
||||||
public static void glGetCompressedTexImageARB(int target, int lod, long pImg_buffer_offset) {
|
public static void glGetCompressedTexImageARB(int target, int lod, long pImg_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.ARB_texture_compression_glGetCompressedTexImageARB_pointer;
|
long function_pointer = caps.ARB_texture_compression_glGetCompressedTexImageARB_pointer;
|
||||||
|
|
|
@ -124,45 +124,13 @@ public final class GL13 {
|
||||||
}
|
}
|
||||||
private static native void nglClientActiveTexture(int texture, long function_pointer);
|
private static native void nglClientActiveTexture(int texture, long function_pointer);
|
||||||
|
|
||||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, ByteBuffer data) {
|
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, ByteBuffer data) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage1D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexImage1D_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(data);
|
BufferChecks.checkDirect(data);
|
||||||
nglCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data, data.position(), function_pointer);
|
nglCompressedTexImage1D(target, level, internalformat, width, border, (data.remaining()), data, data.position(), function_pointer);
|
||||||
}
|
|
||||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, DoubleBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data, data.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, FloatBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, IntBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, ShortBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
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);
|
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, long data_buffer_offset) {
|
public static void glCompressedTexImage1D(int target, int level, int internalformat, int width, int border, int imageSize, long data_buffer_offset) {
|
||||||
|
@ -174,47 +142,15 @@ public final class GL13 {
|
||||||
}
|
}
|
||||||
private static native void nglCompressedTexImage1DBO(int target, int level, int internalformat, int width, int border, int imageSize, long 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) {
|
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, ByteBuffer data) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(data);
|
BufferChecks.checkDirect(data);
|
||||||
nglCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data, data.position(), function_pointer);
|
nglCompressedTexImage2D(target, level, internalformat, width, height, border, (data.remaining()), data, data.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, DoubleBuffer data) {
|
private static native void nglCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, ByteBuffer data, int data_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data, data.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, FloatBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, IntBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, ShortBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
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, long 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) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexImage2D_pointer;
|
||||||
|
@ -224,47 +160,15 @@ public final class GL13 {
|
||||||
}
|
}
|
||||||
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);
|
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) {
|
public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, ByteBuffer data) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(data);
|
BufferChecks.checkDirect(data);
|
||||||
nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data, data.position(), function_pointer);
|
nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, (data.remaining()), data, data.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, DoubleBuffer data) {
|
private static native void nglCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, ByteBuffer data, int data_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data, data.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, FloatBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, IntBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, ShortBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
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, long 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) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexImage3D_pointer;
|
||||||
|
@ -274,47 +178,15 @@ public final class GL13 {
|
||||||
}
|
}
|
||||||
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);
|
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) {
|
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, ByteBuffer data) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(data);
|
BufferChecks.checkDirect(data);
|
||||||
nglCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data, data.position(), function_pointer);
|
nglCompressedTexSubImage1D(target, level, xoffset, width, format, (data.remaining()), data, data.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, DoubleBuffer data) {
|
private static native void nglCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, ByteBuffer data, int data_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data, data.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, FloatBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, IntBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, ShortBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
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, long data_buffer_offset) {
|
public static void glCompressedTexSubImage1D(int target, int level, int xoffset, int width, int format, int imageSize, long data_buffer_offset) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexSubImage1D_pointer;
|
||||||
|
@ -324,47 +196,15 @@ public final class GL13 {
|
||||||
}
|
}
|
||||||
private static native void nglCompressedTexSubImage1DBO(int target, int level, int xoffset, int width, int format, int imageSize, long 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) {
|
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ByteBuffer data) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(data);
|
BufferChecks.checkDirect(data);
|
||||||
nglCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data, data.position(), function_pointer);
|
nglCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, (data.remaining()), data, data.position(), function_pointer);
|
||||||
}
|
}
|
||||||
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, DoubleBuffer data) {
|
private static native void nglCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, ByteBuffer data, int data_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data, data.position() << 3, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, FloatBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, IntBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data, data.position() << 2, function_pointer);
|
|
||||||
}
|
|
||||||
public static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, ShortBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
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, long 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) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexSubImage2D_pointer;
|
||||||
|
@ -374,47 +214,15 @@ public final class GL13 {
|
||||||
}
|
}
|
||||||
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);
|
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) {
|
public static void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, ByteBuffer data) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
BufferChecks.checkFunctionAddress(function_pointer);
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
GLChecks.ensureUnpackPBOdisabled(caps);
|
||||||
BufferChecks.checkDirect(data);
|
BufferChecks.checkDirect(data);
|
||||||
nglCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data, data.position(), function_pointer);
|
nglCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, (data.remaining()), data, data.position(), 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, DoubleBuffer data) {
|
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, ByteBuffer data, int data_position, long function_pointer);
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data, data.position() << 3, 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, FloatBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data, data.position() << 2, 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, IntBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
nglCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data, data.position() << 2, 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, ShortBuffer data) {
|
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
|
||||||
BufferChecks.checkFunctionAddress(function_pointer);
|
|
||||||
GLChecks.ensureUnpackPBOdisabled(caps);
|
|
||||||
BufferChecks.checkDirect(data);
|
|
||||||
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, long 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) {
|
||||||
ContextCapabilities caps = GLContext.getCapabilities();
|
ContextCapabilities caps = GLContext.getCapabilities();
|
||||||
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
long function_pointer = caps.GL13_glCompressedTexSubImage3D_pointer;
|
||||||
|
|
|
@ -48,72 +48,51 @@ public interface ARB_texture_compression {
|
||||||
int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2;
|
int GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2;
|
||||||
int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
|
int GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3;
|
||||||
|
|
||||||
void glCompressedTexImage1DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
|
void glCompressedTexImage1DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @AutoSize("pData") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer pData);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer pData);
|
|
||||||
|
|
||||||
void glCompressedTexImage2DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
|
void glCompressedTexImage2DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @AutoSize("pData") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer pData);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer pData);
|
|
||||||
|
|
||||||
void glCompressedTexImage3DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
|
void glCompressedTexImage3DARB(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @AutoSize("pData") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer pData);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer pData);
|
|
||||||
|
|
||||||
void glCompressedTexSubImage1DARB(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
|
void glCompressedTexSubImage1DARB(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @AutoSize("pData") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer pData);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer pData);
|
|
||||||
|
|
||||||
void glCompressedTexSubImage2DARB(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
|
void glCompressedTexSubImage2DARB(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @AutoSize("pData") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer pData);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer pData);
|
|
||||||
|
|
||||||
void glCompressedTexSubImage3DARB(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
|
void glCompressedTexSubImage3DARB(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @AutoSize("pData") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer pData);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer pData);
|
|
||||||
|
|
||||||
void glGetCompressedTexImageARB(@GLenum int target, int lod,
|
void glGetCompressedTexImageARB(@GLenum int target, int lod,
|
||||||
@BufferObject(BufferKind.PackPBO)
|
@BufferObject(BufferKind.PackPBO)
|
||||||
@Check
|
@Check
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer pImg);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer pImg);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,65 +150,47 @@ public interface GL13 {
|
||||||
|
|
||||||
void glClientActiveTexture(@GLenum int texture);
|
void glClientActiveTexture(@GLenum int texture);
|
||||||
|
|
||||||
void glCompressedTexImage1D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @GLsizei int imageSize,
|
void glCompressedTexImage1D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, int border, @AutoSize("data") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
Buffer data);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer data);
|
|
||||||
|
|
||||||
void glCompressedTexImage2D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @GLsizei int imageSize,
|
void glCompressedTexImage2D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, int border, @AutoSize("data") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer data);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer data);
|
|
||||||
|
|
||||||
void glCompressedTexImage3D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @GLsizei int imageSize,
|
void glCompressedTexImage3D(@GLenum int target, int level, @GLenum int internalformat, @GLsizei int width, @GLsizei int height, @GLsizei int depth, int border, @AutoSize("data") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer data);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer data);
|
|
||||||
|
|
||||||
void glCompressedTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @GLsizei int imageSize,
|
void glCompressedTexSubImage1D(@GLenum int target, int level, int xoffset, @GLsizei int width, @GLenum int format, @AutoSize("data") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer data);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer data);
|
|
||||||
|
|
||||||
void glCompressedTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @GLsizei int imageSize,
|
void glCompressedTexSubImage2D(@GLenum int target, int level, int xoffset, int yoffset, @GLsizei int width, @GLsizei int height, @GLenum int format, @AutoSize("data") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer data);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer data);
|
|
||||||
|
|
||||||
void glCompressedTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @GLsizei int imageSize,
|
void glCompressedTexSubImage3D(@GLenum int target, int level, int xoffset, int yoffset, int zoffset, @GLsizei int width, @GLsizei int height, @GLsizei int depth, @GLenum int format, @AutoSize("data") @GLsizei int imageSize,
|
||||||
@BufferObject(BufferKind.UnpackPBO)
|
@BufferObject(BufferKind.UnpackPBO)
|
||||||
@Check
|
@Check
|
||||||
@Const
|
@Const
|
||||||
@GLbyte
|
@GLvoid
|
||||||
@GLshort
|
ByteBuffer data);
|
||||||
@GLint
|
|
||||||
@GLfloat
|
|
||||||
@GLdouble Buffer data);
|
|
||||||
|
|
||||||
// TODO: check buffer size valid
|
// TODO: check buffer size valid
|
||||||
void glGetCompressedTexImage(@GLenum int target, int lod,
|
void glGetCompressedTexImage(@GLenum int target, int lod,
|
||||||
|
|
Loading…
Reference in New Issue