Top Description Fields Constructors Methods
jogamp.opengl.windows.wgl

public Class WGL

extends Object
Class Inheritance
Imports
java.util.*, com.jogamp.opengl.*, com.jogamp.opengl.fixedfunc.*, jogamp.opengl.*, jogamp.nativewindow.windows.PIXELFORMATDESCRIPTOR, com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver, com.jogamp.gluegen.runtime.*, com.jogamp.common.os.*, com.jogamp.common.nio.*, java.nio.*

Provides access to the Windows-specific OpenGL vendor extensions. See GLBase for more information.

Field Summary

Modifier and TypeField and Description
public static final int
WGL_SWAP_MAIN_PLANE

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY1

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY10

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY11

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY12

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY13

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY14

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY15

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY2

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY3

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY4

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY5

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY6

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY7

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY8

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_OVERLAY9

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY1

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY10

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY11

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY12

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY13

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY14

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY15

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY2

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY3

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY4

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY5

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY6

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY7

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY8

Part of CORE DEF - CType: int

public static final int
WGL_SWAP_UNDERLAY9

Part of CORE DEF - CType: int

private static WGLProcAddressTable

Constructor Summary

AccessConstructor and Description
public
WGL()

Method Summary

Modifier and TypeMethod and Description
private static native int
dispatch_wglChoosePixelFormat0(long arg0, ByteBuffer 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

private static native boolean
dispatch_wglCopyContext0(long arg0, long arg1, int arg2, long procAddress)

Entry point to C language function: BOOL wglCopyContext(HGLRC, HGLRC, UINT) Part of CORE FUNC

private static native long
dispatch_wglCreateContext0(long arg0, long procAddress)

Entry point to C language function: HGLRC wglCreateContext(HDC) Part of CORE FUNC

private static native boolean
dispatch_wglDeleteContext0(long arg0, long procAddress)

Entry point to C language function: BOOL wglDeleteContext(HGLRC) 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 wglDescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR) Part of CORE FUNC

private static native long
dispatch_wglGetCurrentContext0(long procAddress)

Entry point to C language function: HGLRC wglGetCurrentContext(void) Part of CORE FUNC

private static native long
dispatch_wglGetCurrentDC0(long procAddress)

Entry point to C language function: HDC wglGetCurrentDC(void) Part of CORE FUNC

private static native int
dispatch_wglGetPixelFormat0(long arg0, long procAddress)

Entry point to C language function: int wglGetPixelFormat(HDC) Part of CORE FUNC

private static native long
dispatch_wglGetProcAddress0(String arg0, long procAddress)

Entry point to C language function: PROC wglGetProcAddress(LPCSTR) Part of CORE FUNC

private static native boolean
dispatch_wglMakeCurrent0(long arg0, long arg1, long procAddress)

Entry point to C language function: BOOL wglMakeCurrent(HDC, HGLRC) 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 wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR * ) Part of CORE FUNC

private static native boolean
dispatch_wglShareLists0(long arg0, long arg1, long procAddress)

Entry point to C language function: BOOL wglShareLists(HGLRC, HGLRC) Part of CORE FUNC

private static native boolean
dispatch_wglSwapBuffers0(long arg0, long procAddress)

Entry point to C language function: BOOL wglSwapBuffers(HDC) Part of CORE FUNC

private static native boolean
dispatch_wglSwapLayerBuffers0(long arg0, int arg1, long procAddress)

Entry point to C language function: BOOL wglSwapLayerBuffers(HDC, UINT) Part of CORE FUNC

public static WGLProcAddressTable
public static int
wglChoosePixelFormat(long arg0, PIXELFORMATDESCRIPTOR arg1)

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 boolean
wglCopyContext(long arg0, long arg1, int arg2)

Entry point to C language function: BOOL wglCopyContext(HGLRC, HGLRC, UINT) Part of CORE FUNC

public static long
wglCreateContext(long arg0)

Entry point to C language function: HGLRC wglCreateContext(HDC) Part of CORE FUNC

public static boolean
wglDeleteContext(long arg0)

Entry point to C language function: BOOL wglDeleteContext(HGLRC) Part of CORE FUNC

public static int
wglDescribePixelFormat(long arg0, int arg1, int arg2, PIXELFORMATDESCRIPTOR arg3)

Entry point to C language function: int wglDescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR) Part of CORE FUNC

public static long
wglGetCurrentContext()

Entry point to C language function: HGLRC wglGetCurrentContext(void) Part of CORE FUNC

public static long
wglGetCurrentDC()

Entry point to C language function: HDC wglGetCurrentDC(void) Part of CORE FUNC

public static int
wglGetPixelFormat(long arg0)

Entry point to C language function: int wglGetPixelFormat(HDC) Part of CORE FUNC

public static long
wglGetProcAddress(String arg0)

Entry point to C language function: PROC wglGetProcAddress(LPCSTR) Part of CORE FUNC

pack-priv static long
wglGetProcAddress(long wglGetProcAddressHandle, String procname)

public static boolean
wglMakeCurrent(long arg0, long arg1)

Entry point to C language function: BOOL wglMakeCurrent(HDC, HGLRC) Part of CORE FUNC

public static boolean
wglSetPixelFormat(long arg0, int arg1, PIXELFORMATDESCRIPTOR arg2)

Entry point to C language function: BOOL wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR * ) Part of CORE FUNC

public static boolean
wglShareLists(long arg0, long arg1)

Entry point to C language function: BOOL wglShareLists(HGLRC, HGLRC) Part of CORE FUNC

public static boolean
wglSwapBuffers(long arg0)

Entry point to C language function: BOOL wglSwapBuffers(HDC) Part of CORE FUNC

public static boolean
wglSwapLayerBuffers(long arg0, int arg1)

Entry point to C language function: BOOL wglSwapLayerBuffers(HDC, UINT) Part of CORE FUNC

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

WGL_SWAP_MAIN_PLANEback to summary
public static final int WGL_SWAP_MAIN_PLANE

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY1back to summary
public static final int WGL_SWAP_OVERLAY1

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY10back to summary
public static final int WGL_SWAP_OVERLAY10

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY11back to summary
public static final int WGL_SWAP_OVERLAY11

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY12back to summary
public static final int WGL_SWAP_OVERLAY12

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY13back to summary
public static final int WGL_SWAP_OVERLAY13

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY14back to summary
public static final int WGL_SWAP_OVERLAY14

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY15back to summary
public static final int WGL_SWAP_OVERLAY15

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY2back to summary
public static final int WGL_SWAP_OVERLAY2

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY3back to summary
public static final int WGL_SWAP_OVERLAY3

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY4back to summary
public static final int WGL_SWAP_OVERLAY4

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY5back to summary
public static final int WGL_SWAP_OVERLAY5

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY6back to summary
public static final int WGL_SWAP_OVERLAY6

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY7back to summary
public static final int WGL_SWAP_OVERLAY7

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY8back to summary
public static final int WGL_SWAP_OVERLAY8

Part of CORE DEF - CType: int

WGL_SWAP_OVERLAY9back to summary
public static final int WGL_SWAP_OVERLAY9

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY1back to summary
public static final int WGL_SWAP_UNDERLAY1

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY10back to summary
public static final int WGL_SWAP_UNDERLAY10

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY11back to summary
public static final int WGL_SWAP_UNDERLAY11

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY12back to summary
public static final int WGL_SWAP_UNDERLAY12

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY13back to summary
public static final int WGL_SWAP_UNDERLAY13

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY14back to summary
public static final int WGL_SWAP_UNDERLAY14

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY15back to summary
public static final int WGL_SWAP_UNDERLAY15

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY2back to summary
public static final int WGL_SWAP_UNDERLAY2

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY3back to summary
public static final int WGL_SWAP_UNDERLAY3

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY4back to summary
public static final int WGL_SWAP_UNDERLAY4

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY5back to summary
public static final int WGL_SWAP_UNDERLAY5

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY6back to summary
public static final int WGL_SWAP_UNDERLAY6

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY7back to summary
public static final int WGL_SWAP_UNDERLAY7

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY8back to summary
public static final int WGL_SWAP_UNDERLAY8

Part of CORE DEF - CType: int

WGL_SWAP_UNDERLAY9back to summary
public static final int WGL_SWAP_UNDERLAY9

Part of CORE DEF - CType: int

wglProcAddressTableback to summary
private static WGLProcAddressTable wglProcAddressTable

Constructor Detail

WGLback to summary
public WGL()

Method Detail

dispatch_wglChoosePixelFormat0back to summary
private static native int dispatch_wglChoosePixelFormat0(long arg0, ByteBuffer 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

dispatch_wglCopyContext0back to summary
private static native boolean dispatch_wglCopyContext0(long arg0, long arg1, int arg2, long procAddress)

Entry point to C language function: BOOL wglCopyContext(HGLRC, HGLRC, UINT)
Part of CORE FUNC

dispatch_wglCreateContext0back to summary
private static native long dispatch_wglCreateContext0(long arg0, long procAddress)

Entry point to C language function: HGLRC wglCreateContext(HDC)
Part of CORE FUNC

dispatch_wglDeleteContext0back to summary
private static native boolean dispatch_wglDeleteContext0(long arg0, long procAddress)

Entry point to C language function: BOOL wglDeleteContext(HGLRC)
Part of CORE FUNC

dispatch_wglDescribePixelFormat0back to summary
private static native int dispatch_wglDescribePixelFormat0(long arg0, int arg1, int arg2, ByteBuffer arg3, long procAddress)

Entry point to C language function: int wglDescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR)
Part of CORE FUNC

dispatch_wglGetCurrentContext0back to summary
private static native long dispatch_wglGetCurrentContext0(long procAddress)

Entry point to C language function: HGLRC wglGetCurrentContext(void)
Part of CORE FUNC

dispatch_wglGetCurrentDC0back to summary
private static native long dispatch_wglGetCurrentDC0(long procAddress)

Entry point to C language function: HDC wglGetCurrentDC(void)
Part of CORE FUNC

dispatch_wglGetPixelFormat0back to summary
private static native int dispatch_wglGetPixelFormat0(long arg0, long procAddress)

Entry point to C language function: int wglGetPixelFormat(HDC)
Part of CORE FUNC

dispatch_wglGetProcAddress0back to summary
private static native long dispatch_wglGetProcAddress0(String arg0, long procAddress)

Entry point to C language function: PROC wglGetProcAddress(LPCSTR)
Part of CORE FUNC

dispatch_wglMakeCurrent0back to summary
private static native boolean dispatch_wglMakeCurrent0(long arg0, long arg1, long procAddress)

Entry point to C language function: BOOL wglMakeCurrent(HDC, HGLRC)
Part of CORE FUNC

dispatch_wglSetPixelFormat0back to summary
private static native boolean dispatch_wglSetPixelFormat0(long arg0, int arg1, ByteBuffer arg2, long procAddress)

Entry point to C language function: BOOL wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR * )
Part of CORE FUNC

dispatch_wglShareLists0back to summary
private static native boolean dispatch_wglShareLists0(long arg0, long arg1, long procAddress)

Entry point to C language function: BOOL wglShareLists(HGLRC, HGLRC)
Part of CORE FUNC

dispatch_wglSwapBuffers0back to summary
private static native boolean dispatch_wglSwapBuffers0(long arg0, long procAddress)

Entry point to C language function: BOOL wglSwapBuffers(HDC)
Part of CORE FUNC

dispatch_wglSwapLayerBuffers0back to summary
private static native boolean dispatch_wglSwapLayerBuffers0(long arg0, int arg1, long procAddress)

Entry point to C language function: BOOL wglSwapLayerBuffers(HDC, UINT)
Part of CORE FUNC

getWGLProcAddressTableback to summary
public static WGLProcAddressTable getWGLProcAddressTable()
wglChoosePixelFormatback to summary
public static int wglChoosePixelFormat(long arg0, PIXELFORMATDESCRIPTOR arg1)

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

wglCopyContextback to summary
public static boolean wglCopyContext(long arg0, long arg1, int arg2)

Entry point to C language function: BOOL wglCopyContext(HGLRC, HGLRC, UINT)
Part of CORE FUNC

wglCreateContextback to summary
public static long wglCreateContext(long arg0)

Entry point to C language function: HGLRC wglCreateContext(HDC)
Part of CORE FUNC

wglDeleteContextback to summary
public static boolean wglDeleteContext(long arg0)

Entry point to C language function: BOOL wglDeleteContext(HGLRC)
Part of CORE FUNC

wglDescribePixelFormatback to summary
public static int wglDescribePixelFormat(long arg0, int arg1, int arg2, PIXELFORMATDESCRIPTOR arg3)

Entry point to C language function: int wglDescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR)
Part of CORE FUNC

wglGetCurrentContextback to summary
public static long wglGetCurrentContext()

Entry point to C language function: HGLRC wglGetCurrentContext(void)
Part of CORE FUNC

wglGetCurrentDCback to summary
public static long wglGetCurrentDC()

Entry point to C language function: HDC wglGetCurrentDC(void)
Part of CORE FUNC

wglGetPixelFormatback to summary
public static int wglGetPixelFormat(long arg0)

Entry point to C language function: int wglGetPixelFormat(HDC)
Part of CORE FUNC

wglGetProcAddressback to summary
public static long wglGetProcAddress(String arg0)

Entry point to C language function: PROC wglGetProcAddress(LPCSTR)
Part of CORE FUNC

wglGetProcAddressback to summary
pack-priv static long wglGetProcAddress(long wglGetProcAddressHandle, String procname)
wglMakeCurrentback to summary
public static boolean wglMakeCurrent(long arg0, long arg1)

Entry point to C language function: BOOL wglMakeCurrent(HDC, HGLRC)
Part of CORE FUNC

wglSetPixelFormatback to summary
public static boolean wglSetPixelFormat(long arg0, int arg1, PIXELFORMATDESCRIPTOR arg2)

Entry point to C language function: BOOL wglSetPixelFormat(HDC, int, const PIXELFORMATDESCRIPTOR * )
Part of CORE FUNC

wglShareListsback to summary
public static boolean wglShareLists(long arg0, long arg1)

Entry point to C language function: BOOL wglShareLists(HGLRC, HGLRC)
Part of CORE FUNC

wglSwapBuffersback to summary
public static boolean wglSwapBuffers(long arg0)

Entry point to C language function: BOOL wglSwapBuffers(HDC)
Part of CORE FUNC

wglSwapLayerBuffersback to summary
public static boolean wglSwapLayerBuffers(long arg0, int arg1)

Entry point to C language function: BOOL wglSwapLayerBuffers(HDC, UINT)
Part of CORE FUNC