Top Fields Constructors Methods
jogamp.opengl.egl

public Class EGLGraphicsConfiguration

extends MutableGraphicsConfiguration
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Imports
java.nio.IntBuffer, com.jogamp.nativewindow.AbstractGraphicsDevice, .AbstractGraphicsScreen, .CapabilitiesImmutable, .GraphicsConfigurationFactory, .VisualIDHolder, .MutableGraphicsConfiguration, com.jogamp.opengl.DefaultGLCapabilitiesChooser, .GLCapabilitiesChooser, .GLCapabilitiesImmutable, .GLDrawableFactory, .GLException, .GLProfile, .GLRendererQuirks, jogamp.opengl.GLGraphicsConfigurationUtil, com.jogamp.common.nio.Buffers, .PointerBuffer, com.jogamp.nativewindow.egl.EGLGraphicsDevice, com.jogamp.opengl.egl.EGL, .EGLExt

Field Summary

Modifier and TypeField and Description
private final GLCapabilitiesChooser
private static final String
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv
EGLGraphicsConfiguration(final AbstractGraphicsScreen absScreen, final EGLGLCapabilities capsChosen, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser chooser)

Method Summary

Modifier and TypeMethod and Description
public Object
public static EGLGraphicsConfiguration
create(final GLCapabilitiesImmutable capsRequested, final AbstractGraphicsScreen absScreen, final int
EGL#EGL_CONFIG_ID for which the config is being created for.
eglConfigID
)

public static IntBuffer
CreatePBufferSurfaceAttribList(final int width, final int height, final int texFormat)

public static EGLGLCapabilities
EGLConfig2Capabilities(final GLRendererQuirks
GLRendererQuirks of the EGLDrawableFactory's defaultDevice
defaultQuirks
,
final EGLGraphicsDevice device, GLProfile
desired GLProfile, may be null
glp
,
final long config, final int winattrmask, final boolean forceTransparentFlag)

pack-priv static int
EGLConfigDrawableTypeBits(final EGLGraphicsDevice device, final long config)

public static long
EGLConfigId2EGLConfig(final long display, final int configID)

public final long
public final int
public static IntBuffer
public static boolean
isEGLConfigValid(final long display, final long config)

public String
toString()

Overrides com.jogamp.nativewindow.DefaultGraphicsConfiguration.toString.

Returns a string representation of the object.
pack-priv void
Inherited from com.jogamp.nativewindow.MutableGraphicsConfiguration:
setChosenCapabilitiessetScreen

Field Detail

chooserback to summary
private final GLCapabilitiesChooser chooser
dbgCfgFailErrorback to summary
private static final String dbgCfgFailError
dbgCfgFailForConfigback to summary
private static final String dbgCfgFailForConfig
dbgCfgFailIntroback to summary
private static final String dbgCfgFailIntro

Constructor Detail

EGLGraphicsConfigurationback to summary
pack-priv EGLGraphicsConfiguration(final AbstractGraphicsScreen absScreen, final EGLGLCapabilities capsChosen, final GLCapabilitiesImmutable capsRequested, final GLCapabilitiesChooser chooser)

Method Detail

cloneback to summary
public Object clone()

Overrides com.jogamp.nativewindow.DefaultGraphicsConfiguration.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
public static EGLGraphicsConfiguration create(final GLCapabilitiesImmutable capsRequested, final AbstractGraphicsScreen absScreen, final int eglConfigID)
Parameters
eglConfigID:int

EGL#EGL_CONFIG_ID for which the config is being created for.

Exceptions
GLException:
if invalid EGL display.
CreatePBufferSurfaceAttribListback to summary
public static IntBuffer CreatePBufferSurfaceAttribList(final int width, final int height, final int texFormat)
EGLConfig2Capabilitiesback to summary
public static EGLGLCapabilities EGLConfig2Capabilities(final GLRendererQuirks defaultQuirks, final EGLGraphicsDevice device, GLProfile glp, final long config, final int winattrmask, final boolean forceTransparentFlag)
Parameters
defaultQuirks:GLRendererQuirks

GLRendererQuirks of the EGLDrawableFactory's defaultDevice

glp:GLProfile

desired GLProfile, may be null

EGLConfigDrawableTypeBitsback to summary
pack-priv static int EGLConfigDrawableTypeBits(final EGLGraphicsDevice device, final long config)
EGLConfigId2EGLConfigback to summary
public static long EGLConfigId2EGLConfig(final long display, final int configID)
getNativeConfigback to summary
public final long getNativeConfig()
getNativeConfigIDback to summary
public final int getNativeConfigID()
GLCapabilities2AttribListback to summary
public static IntBuffer GLCapabilities2AttribList(final GLCapabilitiesImmutable caps)
isEGLConfigValidback to summary
public static boolean isEGLConfigValid(final long display, final long config)
toStringback to summary
public String toString()

Overrides com.jogamp.nativewindow.DefaultGraphicsConfiguration.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()