com.jogamp.opengl.impl.windows.wgl
Class WindowsWGLGraphicsConfiguration
java.lang.Object
javax.media.nativewindow.DefaultGraphicsConfiguration
com.jogamp.opengl.impl.windows.wgl.WindowsWGLGraphicsConfiguration
- All Implemented Interfaces:
- Cloneable, AbstractGraphicsConfiguration
public class WindowsWGLGraphicsConfiguration
- extends DefaultGraphicsConfiguration
- implements Cloneable
DEBUG
protected static final boolean DEBUG
MAX_PFORMATS
protected static final int MAX_PFORMATS
- See Also:
- Constant Field Values
MAX_ATTRIBS
protected static final int MAX_ATTRIBS
- See Also:
- Constant Field Values
clone
public Object clone()
- Overrides:
clone
in class DefaultGraphicsConfiguration
updateGraphicsConfiguration
public final void updateGraphicsConfiguration(GLDrawableFactory factory,
NativeSurface ns,
int[] pfIDs)
- Updates the graphics configuration in case it has been determined yet.
Uses the NativeSurface's HDC.
Ensures that a PIXELFORMAT is set.
- Parameters:
factory
- ns
- pfIDs
- optional pool of preselected PixelFormat IDs, maybe null for unrestricted selection- See Also:
isDetermined()
preselectGraphicsConfiguration
public final void preselectGraphicsConfiguration(GLDrawableFactory factory,
int[] pfdIDs)
- Preselect the graphics configuration in case it has been determined yet.
Uses a shared device's HDC and the given pfdIDs to preselect the pfd.
No PIXELFORMAT is set.
- Parameters:
factory
- pfIDs
- optional pool of preselected PixelFormat IDs, maybe null for unrestricted selection- See Also:
isDetermined()
isDetermined
public final boolean isDetermined()
getPixelFormat
public final PIXELFORMATDESCRIPTOR getPixelFormat()
getPixelFormatID
public final int getPixelFormatID()
isChoosenByARB
public final boolean isChoosenByARB()
toString
public String toString()
- Overrides:
toString
in class DefaultGraphicsConfiguration
Copyright 2010 JogAmp Community.