/* MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.opengl; import org.lwjgl.*; import java.nio.*; public final class ARBTextureCompression { public static final int GL_COMPRESSED_ALPHA_ARB = 0x84E9, GL_COMPRESSED_LUMINANCE_ARB = 0x84EA, GL_COMPRESSED_LUMINANCE_ALPHA_ARB = 0x84EB, GL_COMPRESSED_INTENSITY_ARB = 0x84EC, GL_COMPRESSED_RGB_ARB = 0x84ED, GL_COMPRESSED_RGBA_ARB = 0x84EE, GL_TEXTURE_COMPRESSION_HINT_ARB = 0x84EF, GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB = 0x86A0, GL_TEXTURE_COMPRESSED_ARB = 0x86A1, GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A2, GL_COMPRESSED_TEXTURE_FORMATS_ARB = 0x86A3; private ARBTextureCompression() {} public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, ByteBuffer pData) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage1DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(pData); nglCompressedTexImage1DARB(target, level, internalformat, width, border, pData.remaining(), MemoryUtil.getAddress(pData), function_pointer); } static native void nglCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int pData_imageSize, long pData, long function_pointer); public static void glCompressedTexImage1DARB(int target, int level, int internalformat, int width, int border, int pData_imageSize, long pData_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage1DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexImage1DARBBO(target, level, internalformat, width, border, pData_imageSize, pData_buffer_offset, function_pointer); } static native void nglCompressedTexImage1DARBBO(int target, int level, int internalformat, int width, int border, int pData_imageSize, long pData_buffer_offset, long function_pointer); public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, ByteBuffer pData) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage2DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(pData); nglCompressedTexImage2DARB(target, level, internalformat, width, height, border, pData.remaining(), MemoryUtil.getAddress(pData), function_pointer); } static native void nglCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int pData_imageSize, long pData, long function_pointer); public static void glCompressedTexImage2DARB(int target, int level, int internalformat, int width, int height, int border, int pData_imageSize, long pData_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage2DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexImage2DARBBO(target, level, internalformat, width, height, border, pData_imageSize, pData_buffer_offset, function_pointer); } static native void nglCompressedTexImage2DARBBO(int target, int level, int internalformat, int width, int height, int border, int pData_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, ByteBuffer pData) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage3DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(pData); nglCompressedTexImage3DARB(target, level, internalformat, width, height, depth, border, pData.remaining(), MemoryUtil.getAddress(pData), function_pointer); } static native void nglCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int pData_imageSize, long pData, long function_pointer); public static void glCompressedTexImage3DARB(int target, int level, int internalformat, int width, int height, int depth, int border, int pData_imageSize, long pData_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexImage3DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexImage3DARBBO(target, level, internalformat, width, height, depth, border, pData_imageSize, pData_buffer_offset, function_pointer); } static native void nglCompressedTexImage3DARBBO(int target, int level, int internalformat, int width, int height, int depth, int border, int pData_imageSize, long pData_buffer_offset, long function_pointer); public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, ByteBuffer pData) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage1DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(pData); nglCompressedTexSubImage1DARB(target, level, xoffset, width, format, pData.remaining(), MemoryUtil.getAddress(pData), function_pointer); } static native void nglCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int pData_imageSize, long pData, long function_pointer); public static void glCompressedTexSubImage1DARB(int target, int level, int xoffset, int width, int format, int pData_imageSize, long pData_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage1DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexSubImage1DARBBO(target, level, xoffset, width, format, pData_imageSize, pData_buffer_offset, function_pointer); } static native void nglCompressedTexSubImage1DARBBO(int target, int level, int xoffset, int width, int format, int pData_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, ByteBuffer pData) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage2DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(pData); nglCompressedTexSubImage2DARB(target, level, xoffset, yoffset, width, height, format, pData.remaining(), MemoryUtil.getAddress(pData), function_pointer); } static native void nglCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int pData_imageSize, long pData, long function_pointer); public static void glCompressedTexSubImage2DARB(int target, int level, int xoffset, int yoffset, int width, int height, int format, int pData_imageSize, long pData_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage2DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexSubImage2DARBBO(target, level, xoffset, yoffset, width, height, format, pData_imageSize, pData_buffer_offset, function_pointer); } static native void nglCompressedTexSubImage2DARBBO(int target, int level, int xoffset, int yoffset, int width, int height, int format, int pData_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, ByteBuffer pData) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage3DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(pData); nglCompressedTexSubImage3DARB(target, level, xoffset, yoffset, zoffset, width, height, depth, format, pData.remaining(), MemoryUtil.getAddress(pData), function_pointer); } static native void nglCompressedTexSubImage3DARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int pData_imageSize, long pData, 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 pData_imageSize, long pData_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage3DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexSubImage3DARBBO(target, level, xoffset, yoffset, zoffset, width, height, depth, format, pData_imageSize, pData_buffer_offset, function_pointer); } static native void nglCompressedTexSubImage3DARBBO(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int pData_imageSize, long pData_buffer_offset, long function_pointer); public static void glGetCompressedTexImageARB(int target, int lod, ByteBuffer pImg) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImageARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOdisabled(caps); BufferChecks.checkDirect(pImg); nglGetCompressedTexImageARB(target, lod, MemoryUtil.getAddress(pImg), function_pointer); } static native void nglGetCompressedTexImageARB(int target, int lod, long pImg, long function_pointer); public static void glGetCompressedTexImageARB(int target, int lod, long pImg_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImageARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(caps); nglGetCompressedTexImageARBBO(target, lod, pImg_buffer_offset, function_pointer); } static native void nglGetCompressedTexImageARBBO(int target, int lod, long pImg_buffer_offset, long function_pointer); }