Package com.jogamp.nativewindow.x11
Class X11GraphicsConfiguration
- java.lang.Object
-
- com.jogamp.nativewindow.DefaultGraphicsConfiguration
-
- com.jogamp.nativewindow.MutableGraphicsConfiguration
-
- com.jogamp.nativewindow.x11.X11GraphicsConfiguration
-
- All Implemented Interfaces:
AbstractGraphicsConfiguration
,VisualIDHolder
,Cloneable
public class X11GraphicsConfiguration extends MutableGraphicsConfiguration implements Cloneable
Encapsulates a graphics configuration, or OpenGL pixel format, on X11 platforms. Objects of this type are returned fromGraphicsConfigurationFactory.chooseGraphicsConfiguration()
on X11 platforms when toolkits other than the AWT are being used.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jogamp.nativewindow.VisualIDHolder
VisualIDHolder.VIDComparator, VisualIDHolder.VIDType
-
-
Field Summary
-
Fields inherited from interface com.jogamp.nativewindow.VisualIDHolder
VID_UNDEFINED
-
-
Constructor Summary
Constructors Constructor Description X11GraphicsConfiguration(X11GraphicsScreen screen, CapabilitiesImmutable capsChosen, CapabilitiesImmutable capsRequested, jogamp.nativewindow.x11.XVisualInfo info)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
int
getXVisualID()
jogamp.nativewindow.x11.XVisualInfo
getXVisualInfo()
String
toString()
static jogamp.nativewindow.x11.X11Capabilities
XVisualInfo2X11Capabilities(X11GraphicsDevice device, jogamp.nativewindow.x11.XVisualInfo info)
-
Methods inherited from class com.jogamp.nativewindow.MutableGraphicsConfiguration
setChosenCapabilities, setScreen
-
Methods inherited from class com.jogamp.nativewindow.DefaultGraphicsConfiguration
getChosenCapabilities, getNativeGraphicsConfiguration, getRequestedCapabilities, getScreen, getVisualID, isVisualIDSupported, toHexString, toHexString
-
-
-
-
Constructor Detail
-
X11GraphicsConfiguration
public X11GraphicsConfiguration(X11GraphicsScreen screen, CapabilitiesImmutable capsChosen, CapabilitiesImmutable capsRequested, jogamp.nativewindow.x11.XVisualInfo info)
-
-
Method Detail
-
XVisualInfo2X11Capabilities
public static jogamp.nativewindow.x11.X11Capabilities XVisualInfo2X11Capabilities(X11GraphicsDevice device, jogamp.nativewindow.x11.XVisualInfo info)
-
clone
public Object clone()
- Specified by:
clone
in interfaceAbstractGraphicsConfiguration
- Overrides:
clone
in classDefaultGraphicsConfiguration
-
getXVisualInfo
public final jogamp.nativewindow.x11.XVisualInfo getXVisualInfo()
-
getXVisualID
public final int getXVisualID()
-
toString
public String toString()
- Overrides:
toString
in classDefaultGraphicsConfiguration
-
-