GLProfile#GetProfileDefault(),
or more specialized versions using the other static GetProfile methods.
| Modifier and Type | Field and Description |
|---|---|
| private static Constructor | |
| private static Constructor | |
| private static final Class | |
| private static Constructor | |
| private static Constructor | |
| private static Constructor | |
| private static Constructor | |
| private static final Class | |
| public static final boolean | |
| private static AbstractGraphicsDevice | |
| private static GLDrawableFactoryImpl | |
| private static HashMap | |
| public static final boolean | disableOpenGLARBContext
In case the implementation of the ARB_create_context
context creation extension is buggy on one platform,
setting the property |
| public static final boolean | disableOpenGLCore
In case no native OpenGL core profiles are required
and if one platform may have a buggy implementation,
setting the property |
| public static final boolean | disableOpenGLDesktop
In case no OpenGL desktop profiles are required
and if one platform may have a buggy implementation,
setting the property |
| public static final boolean | disableOpenGLES
In case no OpenGL ES profiles are required
and if one platform may have a buggy implementation,
setting the property |
| public static final boolean | disableSurfacelessContext
Disable surfaceless OpenGL context capability and its probing
by setting the property |
| private static GLDrawableFactoryImpl | |
| public static final boolean | enableANGLE
We have to disable support for ANGLE, the D3D ES2 emulation on Windows provided w/ Firefox and Chrome. |
| public static final String | GL2
The desktop OpenGL profile 1.x up to 3.0 |
| public static final String | GL2ES1
The intersection of the desktop GL2 and embedded ES1 profile |
| public static final String | GL2ES2
The intersection of the desktop GL3, GL2 and embedded ES2 profile |
| public static final String | GL2GL3
The intersection of the desktop GL3 and GL2 profile |
| public static final String | GL3
The desktop OpenGL core profile 3.x, with x >= 1 |
| public static final String | GL3bc
The desktop OpenGL compatibility profile 3.x, with x >= 1, ie GL2 plus GL3. |
| public static final String | GL4
The desktop OpenGL core profile 4.x, with x >= 0 |
| public static final String | GL4bc
The desktop OpenGL compatibility profile 4.x, with x >= 0, ie GL2 plus GL4. |
| private static final String | |
| private static final String | |
| public static final String | GL4ES3
The intersection of the desktop GL4 and ES3 profile, available only if either ES3 or GL4 w/ |
| private static final String | GL_DEFAULT
The default profile, used for the device default profile map |
| private static final String | GL_GL
The default profile, used for the device default profile map |
| public static final String[] | GL_PROFILE_LIST_ALL
All GL Profiles in the order of default detection. |
| public static final String[] | GL_PROFILE_LIST_MAX
Order of maximum profiles. |
| public static final String[] | |
| public static final String[] | GL_PROFILE_LIST_MAX_PROGSHADER
Order of maximum programmable shader profiles
|
| public static final String[] | GL_PROFILE_LIST_MAX_PROGSHADER_CORE
Order of maximum programmable shader core only profiles
|
| public static final String[] | GL_PROFILE_LIST_MIN
Order of minimum profiles. |
| public static final String[] | GL_PROFILE_LIST_MIN_DESKTOP
Order of minimum original desktop profiles. |
| public static final String | GLES1
The embedded OpenGL profile ES 1.x, with x >= 0 |
| private static final String | |
| private static final String | |
| public static final String | GLES2
The embedded OpenGL profile ES 2.x, with x >= 0 |
| public static final String | GLES3
The embedded OpenGL profile ES 3.x, with x >= 0 |
| private static final String | |
| private static final String | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static boolean | |
| private static final RecursiveThreadGroupLock | |
| private static boolean | |
| private final boolean | |
| private final boolean | |
| private final String | |
| private final GLProfile |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static String | computeProfileImpl(final AbstractGraphicsDevice device, final String profile, final boolean desktopCtxUndef, final boolean esCtxUndef, final boolean[] isHardwareRasterizer)
Returns the profile implementation |
| private static HashMap | computeProfileMap(final AbstractGraphicsDevice device, final boolean desktopCtxUndef, final boolean esCtxUndef)
|
| public static GLProfile | |
| private static StringBuilder | |
| private static void | |
| public final boolean | Returns: true if given Object is a GLProfile and if both, profile and profileImpl is equal with this.GLProfile object to compare with o)Overrides java. |
| public static GLProfile | |
| public static GLProfile | |
| public static GLProfile | get(final AbstractGraphicsDevice
a valid AbstractGraphicsDevice, or device, final String[] profiles, final boolean null for the default device.set to true, if hardware rasterizer shall be favored, otherwise false. favorHardwareRasterizer)Returns the first profile from the given list, where an implementation is available. |
| public static GLProfile | |
| private static final Constructor | |
| public static GLProfile | getDefault(final AbstractGraphicsDevice device)
Returns a default GLProfile object, reflecting the best for the running platform. |
| public static GLProfile | |
| public static AbstractGraphicsDevice | |
| public static GLProfile | getGL2ES1(final AbstractGraphicsDevice device)
Returns the GL2ES1 profile implementation, hence compatible w/ GL2ES1. |
| public static GLProfile | |
| public static GLProfile | getGL2ES2(final AbstractGraphicsDevice device)
Returns the GL2ES2 profile implementation, hence compatible w/ GL2ES2. |
| public static GLProfile | |
| public static GLProfile | getGL2GL3(final AbstractGraphicsDevice device)
Returns the GL2GL3 profile implementation, hence compatible w/ GL2GL3. |
| public static GLProfile | |
| public static GLProfile | getGL4ES3(final AbstractGraphicsDevice device)
Returns the GL4ES3 profile implementation, hence compatible w/ GL4ES3. |
| public static GLProfile | |
| public static String | |
| public final Constructor | |
| private static final Constructor | |
| public final String | |
| private static final String | |
| public static String | |
| public final GLProfile | |
| public final String | |
| public static GLProfile | getMaxFixedFunc(final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer)
Returns the highest profile, implementing the fixed function pipeline. |
| public static GLProfile | |
| public static GLProfile | getMaximum(final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer)
Returns the highest profile. |
| public static GLProfile | |
| public static GLProfile | getMaxProgrammable(final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer)
Returns the highest profile, implementing the programmable shader pipeline. |
| public static GLProfile | |
| public static GLProfile | getMaxProgrammableCore(final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer)
Returns the highest profile, implementing the programmable shader core pipeline only. |
| public static GLProfile | |
| public static GLProfile | getMinimum(final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer)
Returns the lowest profile. |
| public static GLProfile | |
| public final String | |
| private static HashMap | Returns: the GLProfile HashMap if exists, otherwise nullthe key 'device -> GLProfiles-Map' device, final boolean true if throwExceptionOnZeroProfile)GLException shall be thrown in case of no mapped profile, otherwise false.This implementation support lazy initialization, while avoiding recursion/deadlocks. |
| public static String | |
| public static StringBuilder | |
| public static StringBuilder | glAvailabilityToString(AbstractGraphicsDevice device, StringBuilder sb, final String indent, int indentCount)
|
| public static String | |
| private static void | glAvailabilityToString(final AbstractGraphicsDevice device, final StringBuilder sb, final int major, final int profile)
|
| public final boolean | |
| public int | |
| private static final void | |
| public static void | initProfiles(final AbstractGraphicsDevice device)
Trigger eager initialization of GLProfiles for the given device, in case it isn't done yet. |
| private static void | |
| private static boolean | Returns: true if any profile for the device exists, otherwise falsethe device for which profiles shall be initialized device)
|
| private static boolean | |
| public static void | |
| public static boolean | Returns: true if any profile is available for the default device, otherwise false.Returns the availability of any profile on the default device. |
| public static boolean | Returns: true if the profile is available for the device, otherwise false.a valid AbstractGraphicsDevice, or device, final String profile)null for the default device.Returns the availability of a profile on a device. |
| public static boolean | Returns: true if the profile is available for the default device, otherwise false.Returns the availability of a profile on the default device. |
| private static boolean | |
| public static boolean | Returns: com. and
JOGL's AWT part
|
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public static boolean | Returns: true if JOGL has been initialized, i.e. manually via initSingleton() or implicit,
otherwise returns false.
|
| public boolean | isValidArrayDataType(final int index, final int comps, final int type, final boolean isVertexAttribPointer, final boolean throwException)
|
| public boolean | isValidDataType(final int type, final boolean throwException)
General validation if type is a valid GL data type for the current profile |
| private static void | |
| public static void | |
| public String | |
| public static boolean | usesNativeGLES(final String profileImpl)
Indicates whether either of the native OpenGL ES profiles are in use. |
| public final boolean | |
| public static boolean | |
| public final boolean | |
| public static boolean | usesNativeGLES2(final String profileImpl)
Indicates whether the native OpenGL ES3 or ES2 profile is in use. |
| public final boolean | |
| public static boolean | |
| public final boolean | |
| public final void |