Top Fields Constructors Methods
jogamp.opengl.windows.wgl

public Class WGLUtil

extends Object
Class Inheritance
Imports
com.jogamp.common.util.PropertyAccess, jogamp.nativewindow.windows.GDI, .PIXELFORMATDESCRIPTOR, jogamp.opengl.Debug

Field Summary

Modifier and TypeField and Description
public static final boolean
USE_WGLVersion_Of_5WGLGDIFuncSet

Switch to use the wgl variants of jogamp.opengl.windows.wgl.WGL to replace the following 5 GDI based functions (see below).

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static int
ChoosePixelFormat(final long hdc, final PIXELFORMATDESCRIPTOR pfd)

public static int
DescribePixelFormat(final long hdc, final int pfdid, final int pfdSize, final PIXELFORMATDESCRIPTOR pfd)

public static int
GetPixelFormat(final long hdc)

public static boolean
SetPixelFormat(final long hdc, final int pfdid, final PIXELFORMATDESCRIPTOR pfd)

public static boolean
SwapBuffers(final long hdc)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

USE_WGLVersion_Of_5WGLGDIFuncSetback to summary
public static final boolean USE_WGLVersion_Of_5WGLGDIFuncSet

Switch to use the wgl variants of jogamp.opengl.windows.wgl.WGL to replace the following 5 GDI based functions (see below).

Disabled per default.

You can enable it by defining the property jogl.windows.useWGLVersionOf5WGLGDIFuncSet.

See Also
jogamp.nativewindow.windows.GDI#ChoosePixelFormat(long, PIXELFORMATDESCRIPTOR), jogamp.nativewindow.windows.GDI#DescribePixelFormat(long, int, int, PIXELFORMATDESCRIPTOR), jogamp.nativewindow.windows.GDI#GetPixelFormat(long), jogamp.nativewindow.windows.GDI#SetPixelFormat(long, int, PIXELFORMATDESCRIPTOR), jogamp.nativewindow.windows.GDI#SwapBuffers(long)

Constructor Detail

WGLUtilback to summary
public WGLUtil()

Method Detail

ChoosePixelFormatback to summary
public static int ChoosePixelFormat(final long hdc, final PIXELFORMATDESCRIPTOR pfd)
DescribePixelFormatback to summary
public static int DescribePixelFormat(final long hdc, final int pfdid, final int pfdSize, final PIXELFORMATDESCRIPTOR pfd)
GetPixelFormatback to summary
public static int GetPixelFormat(final long hdc)
SetPixelFormatback to summary
public static boolean SetPixelFormat(final long hdc, final int pfdid, final PIXELFORMATDESCRIPTOR pfd)
SwapBuffersback to summary
public static boolean SwapBuffers(final long hdc)