Package com.jogamp.nativewindow.x11
Class X11GraphicsScreen
java.lang.Object
com.jogamp.nativewindow.DefaultGraphicsScreen
com.jogamp.nativewindow.x11.X11GraphicsScreen
- All Implemented Interfaces:
AbstractGraphicsScreen
,Cloneable
Encapsulates a screen index on X11
platforms. Objects of this type are passed to
GraphicsConfigurationFactory.chooseGraphicsConfiguration()
on X11
platforms when toolkits other than the AWT are being used.-
Constructor Summary
ConstructorsConstructorDescriptionX11GraphicsScreen
(X11GraphicsDevice device, int screen) Constructs a new X11GraphicsScreen corresponding to the given native screen index. -
Method Summary
Modifier and TypeMethodDescriptionclone()
static AbstractGraphicsScreen
createScreenDevice
(long display, int screenIdx, boolean owner) int
Methods inherited from class com.jogamp.nativewindow.DefaultGraphicsScreen
createDefault, getDevice, getIndex, toString
-
Constructor Details
-
X11GraphicsScreen
Constructs a new X11GraphicsScreen corresponding to the given native screen index.
-
-
Method Details
-
createScreenDevice
-
getVisualID
public int getVisualID() -
clone
- Specified by:
clone
in interfaceAbstractGraphicsScreen
- Overrides:
clone
in classDefaultGraphicsScreen
-