34package com.jogamp.nativewindow.x11;
36import com.jogamp.nativewindow.AbstractGraphicsDevice;
37import com.jogamp.nativewindow.AbstractGraphicsScreen;
38import com.jogamp.nativewindow.DefaultGraphicsScreen;
39import com.jogamp.nativewindow.NativeWindowException;
41import jogamp.nativewindow.x11.X11Lib;
53 super(device, device.isXineramaEnabled() ? 0 : screen);
AbstractGraphicsDevice getDevice()
Return the device this graphics configuration is valid for.
int getIndex()
Returns the screen index this graphics screen is valid for.
A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeExceptio...
Encapsulates a graphics device on X11 platforms.
Encapsulates a screen index on X11 platforms.
static AbstractGraphicsScreen createScreenDevice(final long display, final int screenIdx, final boolean owner)
X11GraphicsScreen(final X11GraphicsDevice device, final int screen)
Constructs a new X11GraphicsScreen corresponding to the given native screen index.
A interface describing a graphics device in a toolkit-independent manner.
static int DEFAULT_UNIT
Default unit id for the 1st device: 0.
A interface describing a graphics screen in a toolkit-independent manner.