jogamp.opengl.windows.wgl.WGL Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all-android Show documentation
Show all versions of jogl-all-android Show documentation
Java™ Binding for the OpenGL® API (Android)
The newest version!
/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/opengl/GLEmitter.java on Sat Oct 10 03:20:08 CEST 2015 ----! */
package jogamp.opengl.windows.wgl;
import java.util.*;
import com.jogamp.opengl.*;
import com.jogamp.opengl.fixedfunc.*;
import jogamp.opengl.*;
import jogamp.nativewindow.windows.PIXELFORMATDESCRIPTOR;
import com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver;
import com.jogamp.gluegen.runtime.*;
import com.jogamp.common.os.*;
import com.jogamp.common.nio.*;
import java.nio.*;
/**
* Provides access to the Windows-specific OpenGL vendor extensions.
* See {@link GLBase} for more information.
*/
public class WGL {
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_MAIN_PLANE = 0x1;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY15 = 0x40000000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY14 = 0x20000000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY13 = 0x10000000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY12 = 0x8000000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY11 = 0x4000000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY10 = 0x2000000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY14 = 0x4000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY15 = 0x8000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY12 = 0x1000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY13 = 0x2000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY10 = 0x400;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY11 = 0x800;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY9 = 0x200;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY7 = 0x80;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY8 = 0x100;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY5 = 0x20;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY6 = 0x40;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY3 = 0x8;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY4 = 0x10;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY1 = 0x2;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_OVERLAY2 = 0x4;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY4 = 0x80000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY3 = 0x40000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY2 = 0x20000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY1 = 0x10000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY9 = 0x1000000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY8 = 0x800000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY7 = 0x400000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY6 = 0x200000;
/** Part of CORE DEF - CType: int */
public static final int WGL_SWAP_UNDERLAY5 = 0x100000;
/** Entry point to C language function: BOOL wglCopyContext(HGLRC, HGLRC, UINT)
Part of CORE FUNC
*/
public static boolean wglCopyContext(long arg0, long arg1, int arg2) {
final long __addr_ = wglProcAddressTable._addressof_wglCopyContext;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglCopyContext"));
}
return dispatch_wglCopyContext0(arg0, arg1, arg2, __addr_);
}
/** Entry point to C language function: BOOL wglCopyContext(HGLRC, HGLRC, UINT)
Part of CORE FUNC
*/
static private native boolean dispatch_wglCopyContext0(long arg0, long arg1, int arg2, long procAddress);
/** Entry point to C language function: HGLRC wglCreateContext(HDC)
Part of CORE FUNC
*/
public static long wglCreateContext(long arg0) {
final long __addr_ = wglProcAddressTable._addressof_wglCreateContext;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglCreateContext"));
}
return dispatch_wglCreateContext0(arg0, __addr_);
}
/** Entry point to C language function: HGLRC wglCreateContext(HDC)
Part of CORE FUNC
*/
static private native long dispatch_wglCreateContext0(long arg0, long procAddress);
/** Entry point to C language function: BOOL wglDeleteContext(HGLRC)
Part of CORE FUNC
*/
public static boolean wglDeleteContext(long arg0) {
final long __addr_ = wglProcAddressTable._addressof_wglDeleteContext;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglDeleteContext"));
}
return dispatch_wglDeleteContext0(arg0, __addr_);
}
/** Entry point to C language function: BOOL wglDeleteContext(HGLRC)
Part of CORE FUNC
*/
static private native boolean dispatch_wglDeleteContext0(long arg0, long procAddress);
/** Entry point to C language function: HGLRC wglGetCurrentContext(void)
Part of CORE FUNC
*/
public static long wglGetCurrentContext() {
final long __addr_ = wglProcAddressTable._addressof_wglGetCurrentContext;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglGetCurrentContext"));
}
return dispatch_wglGetCurrentContext0(__addr_);
}
/** Entry point to C language function: HGLRC wglGetCurrentContext(void)
Part of CORE FUNC
*/
static private native long dispatch_wglGetCurrentContext0(long procAddress);
/** Entry point to C language function: HDC wglGetCurrentDC(void)
Part of CORE FUNC
*/
public static long wglGetCurrentDC() {
final long __addr_ = wglProcAddressTable._addressof_wglGetCurrentDC;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglGetCurrentDC"));
}
return dispatch_wglGetCurrentDC0(__addr_);
}
/** Entry point to C language function: HDC wglGetCurrentDC(void)
Part of CORE FUNC
*/
static private native long dispatch_wglGetCurrentDC0(long procAddress);
/** Entry point to C language function: BOOL wglMakeCurrent(HDC, HGLRC)
Part of CORE FUNC
*/
public static boolean wglMakeCurrent(long arg0, long arg1) {
final long __addr_ = wglProcAddressTable._addressof_wglMakeCurrent;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglMakeCurrent"));
}
return dispatch_wglMakeCurrent0(arg0, arg1, __addr_);
}
/** Entry point to C language function: BOOL wglMakeCurrent(HDC, HGLRC)
Part of CORE FUNC
*/
static private native boolean dispatch_wglMakeCurrent0(long arg0, long arg1, long procAddress);
/** Entry point to C language function: BOOL wglShareLists(HGLRC, HGLRC)
Part of CORE FUNC
*/
public static boolean wglShareLists(long arg0, long arg1) {
final long __addr_ = wglProcAddressTable._addressof_wglShareLists;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglShareLists"));
}
return dispatch_wglShareLists0(arg0, arg1, __addr_);
}
/** Entry point to C language function: BOOL wglShareLists(HGLRC, HGLRC)
Part of CORE FUNC
*/
static private native boolean dispatch_wglShareLists0(long arg0, long arg1, long procAddress);
/** Entry point to C language function: PROC wglGetProcAddress(LPCSTR)
Part of CORE FUNC
*/
public static long wglGetProcAddress(String arg0) {
final long __addr_ = wglProcAddressTable._addressof_wglGetProcAddress;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglGetProcAddress"));
}
return dispatch_wglGetProcAddress0(arg0, __addr_);
}
/** Entry point to C language function: PROC wglGetProcAddress(LPCSTR)
Part of CORE FUNC
*/
static private native long dispatch_wglGetProcAddress0(String arg0, long procAddress);
/** Entry point to C language function: BOOL wglSwapLayerBuffers(HDC, UINT)
Part of CORE FUNC
*/
public static boolean wglSwapLayerBuffers(long arg0, int arg1) {
final long __addr_ = wglProcAddressTable._addressof_wglSwapLayerBuffers;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglSwapLayerBuffers"));
}
return dispatch_wglSwapLayerBuffers0(arg0, arg1, __addr_);
}
/** Entry point to C language function: BOOL wglSwapLayerBuffers(HDC, UINT)
Part of CORE FUNC
*/
static private native boolean dispatch_wglSwapLayerBuffers0(long arg0, int arg1, long procAddress);
/** Entry point to C language function: int wglChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR * )
Part of WGL_EXT_pixel_format
, WGL_ARB_pixel_format
Alias for: wglChoosePixelFormatEXT
, wglChoosePixelFormatARB
*/
public static int wglChoosePixelFormat(long arg0, PIXELFORMATDESCRIPTOR arg1) {
final long __addr_ = wglProcAddressTable._addressof_wglChoosePixelFormat;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglChoosePixelFormat"));
}
return dispatch_wglChoosePixelFormat0(arg0, ((arg1 == null) ? null : arg1.getBuffer()), __addr_);
}
/** Entry point to C language function: int wglChoosePixelFormat(HDC, const PIXELFORMATDESCRIPTOR * )
Part of WGL_EXT_pixel_format
, WGL_ARB_pixel_format
Alias for: wglChoosePixelFormatEXT
, wglChoosePixelFormatARB
*/
private static native int dispatch_wglChoosePixelFormat0(long arg0, ByteBuffer arg1, long procAddress);
/** Entry point to C language function: int wglDescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR)
Part of CORE FUNC
*/
public static int wglDescribePixelFormat(long arg0, int arg1, int arg2, PIXELFORMATDESCRIPTOR arg3) {
final long __addr_ = wglProcAddressTable._addressof_wglDescribePixelFormat;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglDescribePixelFormat"));
}
return dispatch_wglDescribePixelFormat0(arg0, arg1, arg2, ((arg3 == null) ? null : arg3.getBuffer()), __addr_);
}
/** Entry point to C language function: int wglDescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR)
Part of CORE FUNC
*/
private static native int dispatch_wglDescribePixelFormat0(long arg0, int arg1, int arg2, ByteBuffer arg3, long procAddress);
/** Entry point to C language function: int wglGetPixelFormat(HDC)
Part of CORE FUNC
*/
public static int wglGetPixelFormat(long arg0) {
final long __addr_ = wglProcAddressTable._addressof_wglGetPixelFormat;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglGetPixelFormat"));
}
return dispatch_wglGetPixelFormat0(arg0, __addr_);
}
/** Entry point to C language function: int wglGetPixelFormat(HDC)
Part of CORE FUNC
*/
static private native int dispatch_wglGetPixelFormat0(long arg0, long procAddress);
/** Entry point to C language function: BOOL wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR * )
Part of CORE FUNC
*/
public static boolean wglSetPixelFormat(long arg0, int arg1, PIXELFORMATDESCRIPTOR arg2) {
final long __addr_ = wglProcAddressTable._addressof_wglSetPixelFormat;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglSetPixelFormat"));
}
return dispatch_wglSetPixelFormat0(arg0, arg1, ((arg2 == null) ? null : arg2.getBuffer()), __addr_);
}
/** Entry point to C language function: BOOL wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR * )
Part of CORE FUNC
*/
private static native boolean dispatch_wglSetPixelFormat0(long arg0, int arg1, ByteBuffer arg2, long procAddress);
/** Entry point to C language function: BOOL wglSwapBuffers(HDC)
Part of CORE FUNC
*/
public static boolean wglSwapBuffers(long arg0) {
final long __addr_ = wglProcAddressTable._addressof_wglSwapBuffers;
if (__addr_ == 0) {
throw new GLException(String.format("Method \"%s\" not available", "wglSwapBuffers"));
}
return dispatch_wglSwapBuffers0(arg0, __addr_);
}
/** Entry point to C language function: BOOL wglSwapBuffers(HDC)
Part of CORE FUNC
*/
static private native boolean dispatch_wglSwapBuffers0(long arg0, long procAddress);
// --- Begin CustomJavaCode .cfg declarations
private static WGLProcAddressTable wglProcAddressTable = new WGLProcAddressTable(new GLProcAddressResolver());
public static WGLProcAddressTable getWGLProcAddressTable() { return wglProcAddressTable; }
static long wglGetProcAddress(long wglGetProcAddressHandle, java.lang.String procname)
{
if (wglGetProcAddressHandle == 0) {
throw new GLException("Passed null pointer for method \"wglGetProcAddress\"");
}
return dispatch_wglGetProcAddress0(procname, wglGetProcAddressHandle);
}
// ---- End CustomJavaCode .cfg declarations
} // end of class WGL
© 2015 - 2025 Weber Informatics LLC | Privacy Policy