Top Fields Constructors Methods
jogamp.opengl.x11.glx

public Class X11GLXGraphicsConfiguration

extends X11GraphicsConfiguration
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
java.nio.IntBuffer, java.util.ArrayList, .List, com.jogamp.nativewindow.CapabilitiesImmutable, .GraphicsConfigurationFactory, .VisualIDHolder, com.jogamp.opengl.DefaultGLCapabilitiesChooser, .GL, .GLCapabilities, .GLCapabilitiesChooser, .GLCapabilitiesImmutable, .GLDrawableFactory, .GLException, .GLProfile, jogamp.nativewindow.x11.X11Lib, .XRenderDirectFormat, .XRenderPictFormat, .XVisualInfo, jogamp.opengl.GLGraphicsConfigurationUtil, com.jogamp.common.nio.Buffers, .PointerBuffer, com.jogamp.nativewindow.x11.X11GraphicsConfiguration, .X11GraphicsDevice, .X11GraphicsScreen

Field Summary

Modifier and TypeField and Description
private final GLCapabilitiesChooser
public static final int

Constructor Summary

AccessConstructor and Description
pack-priv
X11GLXGraphicsConfiguration(final X11GraphicsScreen screen, final X11GLCapabilities capsChosen, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser chooser)

Method Summary

Modifier and TypeMethod and Description
public Object
pack-priv static X11GLXGraphicsConfiguration
create(GLProfile glp, final X11GraphicsScreen x11Screen, final int fbcfgID)

pack-priv static int
FBCfgDrawableTypeBits(final X11GraphicsDevice device, final long fbcfg)

public final long
public final int
pack-priv static IntBuffer
GLCapabilities2AttribList(final GLCapabilitiesImmutable caps, final boolean forFBAttr, final boolean isMultisampleAvailable, final long display, final int screen)

pack-priv static int
glXFBConfig2FBConfigID(final long display, final long cfg)

pack-priv static X11GLCapabilities
GLXFBConfig2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final long fbcfg, final int winattrmask, final boolean isMultisampleAvailable)

pack-priv static List<GLCapabilitiesImmutable>
GLXFBConfig2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final PointerBuffer fbcfgsL, final int winattrmask, final boolean isMultisampleAvailable, final boolean onlyFirstValid)

pack-priv static X11GLCapabilities
GLXFBConfig2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final long fbcfg, final int winattrmask, final boolean isMultisampleAvailable, final IntBuffer tmp, final XRenderPictFormat xRenderPictFormat)

pack-priv static long
glXFBConfigID2FBConfig(final long display, final int screen, final int id)

pack-priv static boolean
GLXFBConfigIDValid(final long display, final int screen, final int fbcfgid)

pack-priv static boolean
GLXFBConfigValid(final long display, final long fbcfg)

pack-priv static int
glXGetConfig(final long display, final XVisualInfo info, final int attrib, final IntBuffer tmp)

private static String
glXGetConfigErrorCode(final int err)

pack-priv static boolean
glXGetFBConfig(final long display, final long cfg, final int attrib, final IntBuffer tmp)

private static String
glXGetFBConfigErrorCode(final int err)

public final boolean
public String
toString()

Overrides com.jogamp.nativewindow.x11.X11GraphicsConfiguration.toString.

Returns a string representation of the object.
pack-priv void
pack-priv static XVisualInfo
XVisualID2XVisualInfo(final long display, final long visualID)

pack-priv static X11GLCapabilities
XVisualInfo2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final XVisualInfo info, final int winattrmask, final boolean isMultisampleEnabled)

Inherited from com.jogamp.nativewindow.x11.X11GraphicsConfiguration:
getXVisualIDgetXVisualInfosetXVisualInfoXVisual2XRenderMaskXVisual2XRenderMaskXVisualInfo2X11Capabilities

Field Detail

chooserback to summary
private final GLCapabilitiesChooser chooser
MAX_ATTRIBSback to summary
public static final int MAX_ATTRIBS

Constructor Detail

X11GLXGraphicsConfigurationback to summary
pack-priv X11GLXGraphicsConfiguration(final X11GraphicsScreen screen, final X11GLCapabilities capsChosen, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser chooser)

Method Detail

cloneback to summary
public Object clone()

Overrides com.jogamp.nativewindow.x11.X11GraphicsConfiguration.clone.

Implements com.jogamp.nativewindow.AbstractGraphicsConfiguration.clone.

Doc from java.lang.Object.clone.

Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. The general intent is that, for any object x, the expression:

x.clone() != x
will be true, and that the expression:
x.clone().getClass() == x.getClass()
will be true, but these are not absolute requirements. While it is typically the case that:
x.clone().equals(x)
will be true, this is not an absolute requirement.

By convention, the returned object should be obtained by calling super.clone. If a class and all of its superclasses (except Object) obey this convention, it will be the case that x.clone().getClass() == x.getClass().

By convention, the object returned by this method should be independent of this object (which is being cloned). To achieve this independence, it may be necessary to modify one or more fields of the object returned by super.clone before returning it. Typically, this means copying any mutable objects that comprise the internal "deep structure" of the object being cloned and replacing the references to these objects with references to the copies. If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super.clone need to be modified.

Returns:Object

a clone of this instance.

Annotations
@Override
createback to summary
pack-priv static X11GLXGraphicsConfiguration create(GLProfile glp, final X11GraphicsScreen x11Screen, final int fbcfgID)
FBCfgDrawableTypeBitsback to summary
pack-priv static int FBCfgDrawableTypeBits(final X11GraphicsDevice device, final long fbcfg)
getFBConfigback to summary
public final long getFBConfig()
getFBConfigIDback to summary
public final int getFBConfigID()
GLCapabilities2AttribListback to summary
pack-priv static IntBuffer GLCapabilities2AttribList(final GLCapabilitiesImmutable caps, final boolean forFBAttr, final boolean isMultisampleAvailable, final long display, final int screen)
glXFBConfig2FBConfigIDback to summary
pack-priv static int glXFBConfig2FBConfigID(final long display, final long cfg)
GLXFBConfig2GLCapabilitiesback to summary
pack-priv static X11GLCapabilities GLXFBConfig2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final long fbcfg, final int winattrmask, final boolean isMultisampleAvailable)
GLXFBConfig2GLCapabilitiesback to summary
pack-priv static List<GLCapabilitiesImmutable> GLXFBConfig2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final PointerBuffer fbcfgsL, final int winattrmask, final boolean isMultisampleAvailable, final boolean onlyFirstValid)
GLXFBConfig2GLCapabilitiesback to summary
pack-priv static X11GLCapabilities GLXFBConfig2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final long fbcfg, final int winattrmask, final boolean isMultisampleAvailable, final IntBuffer tmp, final XRenderPictFormat xRenderPictFormat)
glXFBConfigID2FBConfigback to summary
pack-priv static long glXFBConfigID2FBConfig(final long display, final int screen, final int id)
GLXFBConfigIDValidback to summary
pack-priv static boolean GLXFBConfigIDValid(final long display, final int screen, final int fbcfgid)
GLXFBConfigValidback to summary
pack-priv static boolean GLXFBConfigValid(final long display, final long fbcfg)
glXGetConfigback to summary
pack-priv static int glXGetConfig(final long display, final XVisualInfo info, final int attrib, final IntBuffer tmp)
glXGetConfigErrorCodeback to summary
private static String glXGetConfigErrorCode(final int err)
glXGetFBConfigback to summary
pack-priv static boolean glXGetFBConfig(final long display, final long cfg, final int attrib, final IntBuffer tmp)
glXGetFBConfigErrorCodeback to summary
private static String glXGetFBConfigErrorCode(final int err)
hasFBConfigback to summary
public final boolean hasFBConfig()
toStringback to summary
public String toString()

Overrides com.jogamp.nativewindow.x11.X11GraphicsConfiguration.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override
updateGraphicsConfigurationback to summary
pack-priv void updateGraphicsConfiguration()
XVisualID2XVisualInfoback to summary
pack-priv static XVisualInfo XVisualID2XVisualInfo(final long display, final long visualID)
XVisualInfo2GLCapabilitiesback to summary
pack-priv static X11GLCapabilities XVisualInfo2GLCapabilities(final X11GraphicsDevice device, final GLProfile glp, final XVisualInfo info, final int winattrmask, final boolean isMultisampleEnabled)