|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Specifies the the OpenGL profile. More...
Public Member Functions | |
| final String | getGLImplBaseClassName () |
| final Constructor<?> | getGLCtor (final boolean glObject) |
| final boolean | equals (final Object o) |
| int | hashCode () |
| final void | verifyEquality (final GLProfile glp) throws GLException |
| final String | getName () |
| return this profiles name More... | |
| final GLProfile | getImpl () |
| return this profiles implementation, eg. More... | |
| final boolean | isHardwareRasterizer () |
| return true if impl. More... | |
| final String | getImplName () |
| return this profiles implementation name, eg. More... | |
| final boolean | isGL4bc () |
| Indicates whether this profile is capable of GL4bc. More... | |
| final boolean | isGL4 () |
| Indicates whether this profile is capable of GL4. More... | |
| final boolean | isGL3bc () |
| Indicates whether this profile is capable of GL3bc. More... | |
| final boolean | isGL3 () |
| Indicates whether this profile is capable of GL3. More... | |
| final boolean | isGL2 () |
| Indicates whether this profile is capable of GL2 . More... | |
| final boolean | isGLES1 () |
| Indicates whether this profile is capable of GLES1. More... | |
| final boolean | isGLES2 () |
| Indicates whether this profile is capable of GLES2. More... | |
| final boolean | isGLES3 () |
| Indicates whether this profile is capable of GLES3. More... | |
| final boolean | isGLES () |
| Indicates whether this profile is capable of GLES. More... | |
| final boolean | isGL2ES1 () |
| Indicates whether this profile is capable of GL2ES1. More... | |
| final boolean | isGL2GL3 () |
| Indicates whether this profile is capable of GL2GL3. More... | |
| final boolean | isGL2ES2 () |
| Indicates whether this profile is capable of GL2ES2. More... | |
| final boolean | isGL2ES3 () |
| Indicates whether this profile is capable of GL2ES3. More... | |
| final boolean | isGL3ES3 () |
| Indicates whether this profile is capable of GL3ES3. More... | |
| final boolean | isGL4ES3 () |
| Indicates whether this profile is capable of GL4ES3. More... | |
| final boolean | hasGLSL () |
| Indicates whether this profile supports GLSL, i.e. More... | |
| final boolean | usesNativeGLES1 () |
| Indicates whether this profile uses the native OpenGL ES1 implementations. More... | |
| final boolean | usesNativeGLES2 () |
| Indicates whether this profile uses the native OpenGL ES2 implementations. More... | |
| final boolean | usesNativeGLES3 () |
| Indicates whether this profile uses the native OpenGL ES3 implementations. More... | |
| final boolean | usesNativeGLES () |
| Indicates whether this profile uses either of the native OpenGL ES implementations. More... | |
| boolean | isValidDataType (final int type, final boolean throwException) |
| General validation if type is a valid GL data type for the current profile. More... | |
| boolean | isValidArrayDataType (final int index, final int comps, final int type, final boolean isVertexAttribPointer, final boolean throwException) |
| General validation if index, comps and type are valid for the current profile. More... | |
| String | toString () |
Static Public Member Functions | |
| static boolean | isInitialized () |
| static void | initSingleton () |
| Static initialization of JOGL. More... | |
| static void | initProfiles (final AbstractGraphicsDevice device) throws GLException |
| Trigger eager initialization of GLProfiles for the given device, in case it isn't done yet. More... | |
| static void | shutdown () |
| Manual shutdown method, may be called after your last JOGL use within the running JVM. More... | |
| static boolean | isAvailable (final AbstractGraphicsDevice device, final String profile) |
| Returns the availability of a profile on a device. More... | |
| static boolean | isAvailable (final String profile) |
| Returns the availability of a profile on the default device. More... | |
| static boolean | isAnyAvailable () |
| Returns the availability of any profile on the default device. More... | |
| static String | glAvailabilityToString (final AbstractGraphicsDevice device) |
| static StringBuilder | glAvailabilityToString (final AbstractGraphicsDevice device, final StringBuilder sb) |
| static StringBuilder | glAvailabilityToString (AbstractGraphicsDevice device, StringBuilder sb, final String indent, int indentCount) |
| static String | glAvailabilityToString () |
| Uses the default device. More... | |
| static GLProfile | getDefault (final AbstractGraphicsDevice device) |
| Returns a default GLProfile object, reflecting the best for the running platform. More... | |
| static GLProfile | getDefault () |
| Returns a default GLProfile object, reflecting the best for the running platform. More... | |
| static GLProfile | getMaximum (final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer) throws GLException |
| Returns the highest profile. More... | |
| static GLProfile | getMaximum (final boolean favorHardwareRasterizer) throws GLException |
| Uses the default device. More... | |
| static GLProfile | getMinimum (final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer) throws GLException |
| Returns the lowest profile. More... | |
| static GLProfile | getMinimum (final boolean favorHardwareRasterizer) throws GLException |
| Uses the default device. More... | |
| static GLProfile | getMaxFixedFunc (final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer) throws GLException |
| Returns the highest profile, implementing the fixed function pipeline. More... | |
| static GLProfile | getMaxFixedFunc (final boolean favorHardwareRasterizer) throws GLException |
| Uses the default device. More... | |
| static GLProfile | getMaxProgrammable (final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer) throws GLException |
| Returns the highest profile, implementing the programmable shader pipeline. More... | |
| static GLProfile | getMaxProgrammable (final boolean favorHardwareRasterizer) throws GLException |
| Uses the default device. More... | |
| static GLProfile | getMaxProgrammableCore (final AbstractGraphicsDevice device, final boolean favorHardwareRasterizer) throws GLException |
| Returns the highest profile, implementing the programmable shader core pipeline only. More... | |
| static GLProfile | getMaxProgrammableCore (final boolean favorHardwareRasterizer) throws GLException |
| Uses the default device. More... | |
| static GLProfile | getGL2ES1 (final AbstractGraphicsDevice device) throws GLException |
| Returns the GL2ES1 profile implementation, hence compatible w/ GL2ES1. More... | |
| static GLProfile | getGL2ES1 () throws GLException |
Calls getGL2ES1(AbstractGraphicsDevice) using the default device. More... | |
| static GLProfile | getGL2ES2 (final AbstractGraphicsDevice device) throws GLException |
| Returns the GL2ES2 profile implementation, hence compatible w/ GL2ES2. More... | |
| static GLProfile | getGL2ES2 () throws GLException |
Calls getGL2ES2(AbstractGraphicsDevice) using the default device. More... | |
| static GLProfile | getGL4ES3 (final AbstractGraphicsDevice device) throws GLException |
| Returns the GL4ES3 profile implementation, hence compatible w/ GL4ES3. More... | |
| static GLProfile | getGL4ES3 () throws GLException |
Calls getGL4ES3(AbstractGraphicsDevice) using the default device. More... | |
| static GLProfile | getGL2GL3 (final AbstractGraphicsDevice device) throws GLException |
| Returns the GL2GL3 profile implementation, hence compatible w/ GL2GL3. More... | |
| static GLProfile | getGL2GL3 () throws GLException |
Calls getGL2GL3(AbstractGraphicsDevice) using the default device. More... | |
| static GLProfile | get (final AbstractGraphicsDevice device, String profile) throws GLException |
| Returns a GLProfile object. More... | |
| static GLProfile | get (final String profile) throws GLException |
| Uses the default device. More... | |
| static GLProfile | get (final AbstractGraphicsDevice device, final String[] profiles, final boolean favorHardwareRasterizer) throws GLException |
| Returns the first profile from the given list, where an implementation is available. More... | |
| static GLProfile | get (final String[] profiles, final boolean favorHardwareRasterizer) throws GLException |
| Uses the default device. More... | |
| static boolean | usesNativeGLES1 (final String profileImpl) |
| Indicates whether the native OpenGL ES1 profile is in use. More... | |
| static boolean | usesNativeGLES2 (final String profileImpl) |
| Indicates whether the native OpenGL ES3 or ES2 profile is in use. More... | |
| static boolean | usesNativeGLES3 (final String profileImpl) |
| Indicates whether the native OpenGL ES2 profile is in use. More... | |
| static boolean | usesNativeGLES (final String profileImpl) |
| Indicates whether either of the native OpenGL ES profiles are in use. More... | |
| static boolean | isAWTAvailable () |
| static String | getGLTypeName (final int type) |
| static String | getGLArrayName (final int array) |
| static AbstractGraphicsDevice | getDefaultDevice () |
| static GLProfile | createCustomGLProfile (final String profile, final GLProfile profileImpl) |
Static Public Attributes | |
| static final boolean | DEBUG |
| 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 jogl.disable.openglcore disables querying possible existing native OpenGL core profiles. More... | |
| static final boolean | disableOpenGLARBContext |
In case the implementation of the ARB_create_context context creation extension is buggy on one platform, setting the property jogl.disable.openglarbcontext disables utilizing it. More... | |
| static final boolean | disableOpenGLES |
In case no OpenGL ES profiles are required and if one platform may have a buggy implementation, setting the property jogl.disable.opengles disables querying possible existing OpenGL ES profiles. More... | |
| static final boolean | disableOpenGLDesktop |
In case no OpenGL desktop profiles are required and if one platform may have a buggy implementation, setting the property jogl.disable.opengldesktop disables querying possible existing OpenGL desktop profiles. More... | |
| static final boolean | disabledEGL |
In case no EGL implementation is available like on the Platform.OSType#IOS platform, this is set to true. More... | |
| static final boolean | disableSurfacelessContext |
Disable surfaceless OpenGL context capability and its probing by setting the property jogl.disable.surfacelesscontext. More... | |
| static final boolean | enableANGLE |
| We have to disable support for ANGLE, the D3D ES2 emulation on Windows provided w/ Firefox and Chrome. More... | |
| static final String | GL4bc = "GL4bc" |
| The desktop OpenGL compatibility profile 4.x, with x >= 0, ie GL2 plus GL4. More... | |
| static final String | GL4 = "GL4" |
| The desktop OpenGL core profile 4.x, with x >= 0. More... | |
| static final String | GL3bc = "GL3bc" |
| The desktop OpenGL compatibility profile 3.x, with x >= 1, ie GL2 plus GL3. More... | |
| static final String | GL3 = "GL3" |
| The desktop OpenGL core profile 3.x, with x >= 1. More... | |
| static final String | GL2 = "GL2" |
| The desktop OpenGL profile 1.x up to 3.0. More... | |
| static final String | GLES1 = "GLES1" |
| The embedded OpenGL profile ES 1.x, with x >= 0. More... | |
| static final String | GLES2 = "GLES2" |
| The embedded OpenGL profile ES 2.x, with x >= 0. More... | |
| static final String | GLES3 = "GLES3" |
| The embedded OpenGL profile ES 3.x, with x >= 0. More... | |
| static final String | GL2ES1 = "GL2ES1" |
| The intersection of the desktop GL2 and embedded ES1 profile. More... | |
| static final String | GL2ES2 = "GL2ES2" |
| The intersection of the desktop GL3, GL2 and embedded ES2 profile. More... | |
| static final String | GL2GL3 = "GL2GL3" |
| The intersection of the desktop GL3 and GL2 profile. More... | |
| static final String | GL4ES3 = "GL4ES3" |
The intersection of the desktop GL4 and ES3 profile, available only if either ES3 or GL4 w/ GL_ARB_ES3_compatibility is available. More... | |
| static final String[] | GL_PROFILE_LIST_ALL = new String[] { GL4bc, GL3bc, GL2, GL4, GL3, GLES3, GL4ES3, GL2GL3, GLES2, GL2ES2, GLES1, GL2ES1 } |
| All GL Profiles in the order of default detection. More... | |
| static final String[] | GL_PROFILE_LIST_MAX = new String[] { GL4bc, GL4, GL3bc, GL3, GLES3, GL2, GLES2, GLES1 } |
| Order of maximum profiles. More... | |
| static final String[] | GL_PROFILE_LIST_MIN = new String[] { GLES1, GLES2, GL2, GLES3, GL3, GL3bc, GL4, GL4bc } |
| Order of minimum profiles. More... | |
| static final String[] | GL_PROFILE_LIST_MIN_DESKTOP = new String[] { GL2, GL3bc, GL4bc, GL3, GL4 } |
| Order of minimum original desktop profiles. More... | |
| static final String[] | GL_PROFILE_LIST_MAX_MOBILE = new String[] { GLES3, GLES2, GLES1 } |
| Order of maximum original mobile profiles. More... | |
| static final String[] | GL_PROFILE_LIST_MAX_FIXEDFUNC = new String[] { GL4bc, GL3bc, GL2, GLES1 } |
| Order of maximum fixed function profiles. More... | |
| static final String[] | GL_PROFILE_LIST_MAX_PROGSHADER = new String[] { GL4bc, GL4, GL3bc, GL3, GLES3, GL2, GLES2 } |
| Order of maximum programmable shader profiles. More... | |
| static final String[] | GL_PROFILE_LIST_MAX_PROGSHADER_CORE = new String[] { GL4, GL3, GLES3, GLES2 } |
| Order of maximum programmable shader core only profiles. More... | |
Specifies the the OpenGL profile.
This class static singleton initialization queries the availability of all OpenGL Profiles and instantiates singleton GLProfile objects for each available profile.
The platform default profile may be used, using GLProfile#GetProfileDefault(), or more specialized versions using the other static GetProfile methods.
Definition at line 77 of file GLProfile.java.
|
static |
Definition at line 2437 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.equals | ( | final Object | o | ) |
| o | GLProfile object to compare with |
Definition at line 1189 of file GLProfile.java.
|
static |
Returns the first profile from the given list, where an implementation is available.
| device | a valid AbstractGraphicsDevice, or null</null> for the default device. |
| profiles | array of valid GLProfile name ( |
| favorHardwareRasterizer | set to true, if hardware rasterizer shall be favored, otherwise false. |
| GLException | if the non of the requested profiles is available for the device. |
Definition at line 1034 of file GLProfile.java.
|
static |
Returns a GLProfile object.
verifies the given profile and chooses an appropriate implementation. A generic value of null or GL will result in the default profile.
| device | a valid AbstractGraphicsDevice, or null</null> for the default device. |
| profile | a valid GLProfile name ( |
| GLException | if the requested profile is not available for the device. |
Definition at line 1000 of file GLProfile.java.
|
static |
Uses the default device.
| profile | a valid GLProfile name (GL4bc, GL4, GL2, ..), or [ null, GL ] for the default profile. |
| GLException | if the requested profile is not available for the default device. |
Definition at line 1019 of file GLProfile.java.
|
static |
Uses the default device.
| profiles | array of valid GLProfile name (GL4bc, GL4, GL2, ..) |
| favorHardwareRasterizer | set to true, if hardware rasterizer shall be favored, otherwise false. |
| GLException | if the non of the requested profiles is available for the default device. |
Definition at line 1065 of file GLProfile.java.
|
static |
Returns a default GLProfile object, reflecting the best for the running platform.
It selects the first of the set GLProfile#GL_PROFILE_LIST_ALL and favors hardware acceleration.
Uses the default device.
| GLException | if no profile is available for the default device. |
Definition at line 750 of file GLProfile.java.
|
static |
Returns a default GLProfile object, reflecting the best for the running platform.
It selects the first of the set GLProfile#GL_PROFILE_LIST_ALL and favors hardware acceleration.
| GLException | if no profile is available for the device. |
Definition at line 739 of file GLProfile.java.
|
static |
Definition at line 2112 of file GLProfile.java.
|
static |
Calls getGL2ES1(AbstractGraphicsDevice) using the default device.
Selection favors hardware rasterizer.
Definition at line 894 of file GLProfile.java.
|
static |
Returns the GL2ES1 profile implementation, hence compatible w/ GL2ES1.
It returns:
GLProfile.get(device, GLProfile.GL2ES1).getImpl());
Selection favors hardware rasterizer.
| GLException | if no GL2ES1 compatible profile is available for the default device. |
Definition at line 883 of file GLProfile.java.
|
static |
Calls getGL2ES2(AbstractGraphicsDevice) using the default device.
Selection favors hardware rasterizer.
Definition at line 924 of file GLProfile.java.
|
static |
Returns the GL2ES2 profile implementation, hence compatible w/ GL2ES2.
It returns:
GLProfile.get(device, GLProfile.GL2ES2).getImpl());
Selection favors hardware rasterizer.
| GLException | if no GL2ES2 compatible profile is available for the default device. |
Definition at line 913 of file GLProfile.java.
|
static |
Calls getGL2GL3(AbstractGraphicsDevice) using the default device.
Selection favors hardware rasterizer.
Definition at line 984 of file GLProfile.java.
|
static |
Returns the GL2GL3 profile implementation, hence compatible w/ GL2GL3.
It returns:
GLProfile.get(device, GLProfile.GL2GL3).getImpl());
Selection favors hardware rasterizer.
| GLException | if no GL2GL3 compatible profile is available for the default device. |
Definition at line 973 of file GLProfile.java.
|
static |
Calls getGL4ES3(AbstractGraphicsDevice) using the default device.
Selection favors hardware rasterizer.
Definition at line 954 of file GLProfile.java.
|
static |
Returns the GL4ES3 profile implementation, hence compatible w/ GL4ES3.
It returns:
GLProfile.get(device, GLProfile.GL4ES3).getImpl());
Selection favors hardware rasterizer.
| GLException | if no GL4ES3 compatible profile is available for the default device. |
Definition at line 943 of file GLProfile.java.
|
static |
| final Constructor<?> com.jogamp.opengl.GLProfile.getGLCtor | ( | final boolean | glObject | ) |
Definition at line 1164 of file GLProfile.java.
| final String com.jogamp.opengl.GLProfile.getGLImplBaseClassName | ( | ) |
Definition at line 1145 of file GLProfile.java.
|
static |
Definition at line 1101 of file GLProfile.java.
| final GLProfile com.jogamp.opengl.GLProfile.getImpl | ( | ) |
| final String com.jogamp.opengl.GLProfile.getImplName | ( | ) |
|
static |
Returns the highest profile, implementing the fixed function pipeline.
It selects the first of the set: GLProfile#GL_PROFILE_LIST_MAX_FIXEDFUNC
| GLException | if no fixed function profile is available for the device. |
Definition at line 808 of file GLProfile.java.
|
static |
Uses the default device.
| GLException | if no fixed function profile is available for the default device. |
Definition at line 818 of file GLProfile.java.
|
static |
Returns the highest profile.
It selects the first of the set: GLProfile#GL_PROFILE_LIST_MAX
| GLException | if no profile is available for the device. |
Definition at line 761 of file GLProfile.java.
|
static |
Uses the default device.
| GLException | if no profile is available for the default device. |
Definition at line 771 of file GLProfile.java.
|
static |
Returns the highest profile, implementing the programmable shader pipeline.
It selects the first of the set: GLProfile#GL_PROFILE_LIST_MAX_PROGSHADER
| GLException | if no programmable profile is available for the device. |
Definition at line 831 of file GLProfile.java.
|
static |
Uses the default device.
| GLException | if no programmable profile is available for the default device. |
Definition at line 841 of file GLProfile.java.
|
static |
Returns the highest profile, implementing the programmable shader core pipeline only.
It selects the first of the set: GLProfile#GL_PROFILE_LIST_MAX_PROGSHADER_CORE
| GLException | if no programmable core profile is available for the device. |
Definition at line 854 of file GLProfile.java.
|
static |
Uses the default device.
| GLException | if no programmable core profile is available for the default device. |
Definition at line 864 of file GLProfile.java.
|
static |
Returns the lowest profile.
It selects the first of the set: GLProfile#GL_PROFILE_LIST_MIN
| GLException | if no desktop profile is available for the device. |
Definition at line 784 of file GLProfile.java.
|
static |
Uses the default device.
| GLException | if no desktop profile is available for the default device. |
Definition at line 794 of file GLProfile.java.
| final String com.jogamp.opengl.GLProfile.getName | ( | ) |
return this profiles name
Definition at line 1217 of file GLProfile.java.
|
static |
Uses the default device.
Definition at line 556 of file GLProfile.java.
|
static |
|
static |
Definition at line 333 of file GLProfile.java.
|
static |
| final boolean com.jogamp.opengl.GLProfile.hasGLSL | ( | ) |
Indicates whether this profile supports GLSL, i.e.
Definition at line 1318 of file GLProfile.java.
| int com.jogamp.opengl.GLProfile.hashCode | ( | ) |
Definition at line 1199 of file GLProfile.java.
|
static |
Trigger eager initialization of GLProfiles for the given device, in case it isn't done yet.
| GLException | if no profile for the given device is available. |
Definition at line 264 of file GLProfile.java.
|
static |
Static initialization of JOGL.
This method shall not need to be called for other reasons than having a defined initialization sequence.
In case this method is not invoked, GLProfile is initialized implicit by the first call to getDefault(), get(java.lang.String).
To initialize JOGL at startup ASAP, this method may be invoked in the main class's static initializer block, in the static main() method or in the Applet init() method.
Since JOGL's initialization is complex and involves multi threading, it is not recommended to be have it invoked on the AWT EDT thread. In case all JOGL usage is performed on the AWT EDT, invoke this method outside the AWT EDT - see above.
Definition at line 204 of file GLProfile.java.
|
static |
Returns the availability of any profile on the default device.
Definition at line 329 of file GLProfile.java.
|
static |
Returns the availability of a profile on a device.
| device | a valid AbstractGraphicsDevice, or null</null> for the default device. |
| profile | a valid GLProfile name ( |
true if the profile is available for the device, otherwise false. Definition at line 305 of file GLProfile.java.
|
static |
Returns the availability of a profile on the default device.
| profile | a valid GLProfile name (GL4bc, GL4, GL2, ..), or [ null, GL ] for the default profile. |
Definition at line 320 of file GLProfile.java.
|
static |
com.jogamp.nativewindow.NativeWindowFactory#isAWTAvailable() and JOGL's AWT part Definition at line 1099 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGL2 | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.isGL2ES1 | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.isGL2ES2 | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.isGL2ES3 | ( | ) |
Indicates whether this profile is capable of GL2ES3.
Includes [ GL4bc, GL4, GL3bc, GL3, GLES3, GL3ES3, GL2, GL2GL3 ].
Definition at line 1303 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGL2GL3 | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.isGL3 | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.isGL3bc | ( | ) |
Indicates whether this profile is capable of GL3bc.
Definition at line 1249 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGL3ES3 | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.isGL4 | ( | ) |
Indicates whether this profile is capable of GL4.
Definition at line 1244 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGL4bc | ( | ) |
Indicates whether this profile is capable of GL4bc.
Includes [ GL4bc ].
Definition at line 1239 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGL4ES3 | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.isGLES | ( | ) |
Indicates whether this profile is capable of GLES.
Includes [ GLES1, GLES2, GLES3 ].
Definition at line 1279 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGLES1 | ( | ) |
Indicates whether this profile is capable of GLES1.
Includes [ GLES1 ].
Definition at line 1264 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGLES2 | ( | ) |
Indicates whether this profile is capable of GLES2.
Definition at line 1269 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isGLES3 | ( | ) |
Indicates whether this profile is capable of GLES3.
Includes [ GLES3 ].
Definition at line 1274 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.isHardwareRasterizer | ( | ) |
return true if impl.
is a hardware rasterizer, otherwise false.
Definition at line 1227 of file GLProfile.java.
|
static |
true if JOGL has been initialized, i.e. manually via initSingleton() or implicit, otherwise returns false.Definition at line 171 of file GLProfile.java.
| boolean com.jogamp.opengl.GLProfile.isValidArrayDataType | ( | final int | index, |
| final int | comps, | ||
| final int | type, | ||
| final boolean | isVertexAttribPointer, | ||
| final boolean | throwException | ||
| ) |
General validation if index, comps and type are valid for the current profile.
Disclaimer: The validation might not satisfy updated OpenGL specifications.
Definition at line 1385 of file GLProfile.java.
| boolean com.jogamp.opengl.GLProfile.isValidDataType | ( | final int | type, |
| final boolean | throwException | ||
| ) |
General validation if type is a valid GL data type for the current profile.
Disclaimer: The validation might not satisfy updated OpenGL specifications.
Definition at line 1348 of file GLProfile.java.
|
static |
Manual shutdown method, may be called after your last JOGL use within the running JVM.
It releases all temporary created resources, ie issues com.jogamp.opengl.GLDrawableFactory#shutdown().
The shutdown implementation is called via the JVM shutdown hook, if not manually invoked.
This method shall not need to be called for other reasons than issuing a proper shutdown of resources at a defined time.
Definition at line 277 of file GLProfile.java.
| String com.jogamp.opengl.GLProfile.toString | ( | ) |
| final boolean com.jogamp.opengl.GLProfile.usesNativeGLES | ( | ) |
Indicates whether this profile uses either of the native OpenGL ES implementations.
Definition at line 1338 of file GLProfile.java.
|
static |
Indicates whether either of the native OpenGL ES profiles are in use.
Definition at line 1093 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.usesNativeGLES1 | ( | ) |
Indicates whether this profile uses the native OpenGL ES1 implementations.
Definition at line 1323 of file GLProfile.java.
|
static |
Indicates whether the native OpenGL ES1 profile is in use.
This requires an EGL interface.
Definition at line 1074 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.usesNativeGLES2 | ( | ) |
Indicates whether this profile uses the native OpenGL ES2 implementations.
Definition at line 1328 of file GLProfile.java.
|
static |
Indicates whether the native OpenGL ES3 or ES2 profile is in use.
This requires an EGL, ES3 or ES2 compatible interface.
Definition at line 1081 of file GLProfile.java.
| final boolean com.jogamp.opengl.GLProfile.usesNativeGLES3 | ( | ) |
Indicates whether this profile uses the native OpenGL ES3 implementations.
Definition at line 1333 of file GLProfile.java.
|
static |
Indicates whether the native OpenGL ES2 profile is in use.
This requires an EGL, ES3 compatible interface.
Definition at line 1088 of file GLProfile.java.
| final void com.jogamp.opengl.GLProfile.verifyEquality | ( | final GLProfile | glp | ) | throws GLException |
| glp | GLProfile to compare with |
| GLException | if given GLProfile and this aren't equal |
Definition at line 1210 of file GLProfile.java.
|
static |
Definition at line 79 of file GLProfile.java.
|
static |
In case no EGL implementation is available like on the Platform.OSType#IOS platform, this is set to true.
Definition at line 123 of file GLProfile.java.
|
static |
In case the implementation of the ARB_create_context context creation extension is buggy on one platform, setting the property jogl.disable.openglarbcontext disables utilizing it.
This exclusion also disables OpenGL ES.
This exclusion is disabled for Platform.OSType#MACOS and Platform.OSType#IOS.
Definition at line 102 of file GLProfile.java.
|
static |
In case no native OpenGL core profiles are required and if one platform may have a buggy implementation, setting the property jogl.disable.openglcore disables querying possible existing native OpenGL core profiles.
This exclusion is disabled for Platform.OSType#MACOS and Platform.OSType#IOS.
Definition at line 89 of file GLProfile.java.
|
static |
In case no OpenGL desktop profiles are required and if one platform may have a buggy implementation, setting the property jogl.disable.opengldesktop disables querying possible existing OpenGL desktop profiles.
Definition at line 116 of file GLProfile.java.
|
static |
In case no OpenGL ES profiles are required and if one platform may have a buggy implementation, setting the property jogl.disable.opengles disables querying possible existing OpenGL ES profiles.
Definition at line 109 of file GLProfile.java.
|
static |
Disable surfaceless OpenGL context capability and its probing by setting the property jogl.disable.surfacelesscontext.
By default surfaceless OpenGL context capability is probed, i.e. whether an OpenGL context can be made current without a default framebuffer.
If probing fails or if this property is set, the quirk GLRendererQuirks#NoSurfacelessCtx is being set.
Definition at line 137 of file GLProfile.java.
|
static |
We have to disable support for ANGLE, the D3D ES2 emulation on Windows provided w/ Firefox and Chrome.
When run in the mentioned browsers, the eglInitialize(..) implementation crashes.
This can be overridden by explicitly enabling ANGLE on Windows by setting the property jogl.enable.ANGLE.
Definition at line 147 of file GLProfile.java.
|
static |
The desktop OpenGL profile 1.x up to 3.0.
Definition at line 579 of file GLProfile.java.
|
static |
The intersection of the desktop GL2 and embedded ES1 profile.
Definition at line 591 of file GLProfile.java.
|
static |
The intersection of the desktop GL3, GL2 and embedded ES2 profile.
Definition at line 594 of file GLProfile.java.
|
static |
The intersection of the desktop GL3 and GL2 profile.
Definition at line 597 of file GLProfile.java.
|
static |
The desktop OpenGL core profile 3.x, with x >= 1.
Definition at line 576 of file GLProfile.java.
|
static |
The desktop OpenGL compatibility profile 3.x, with x >= 1, ie GL2 plus GL3.
bc stands for backward compatibility.
Definition at line 573 of file GLProfile.java.
|
static |
The desktop OpenGL core profile 4.x, with x >= 0.
Definition at line 569 of file GLProfile.java.
|
static |
The desktop OpenGL compatibility profile 4.x, with x >= 0, ie GL2 plus GL4.
bc stands for backward compatibility.
Definition at line 566 of file GLProfile.java.
|
static |
The intersection of the desktop GL4 and ES3 profile, available only if either ES3 or GL4 w/ GL_ARB_ES3_compatibility is available.
Definition at line 600 of file GLProfile.java.
|
static |
|
static |
Order of maximum original mobile profiles.
Definition at line 689 of file GLProfile.java.
|
static |
The embedded OpenGL profile ES 1.x, with x >= 0.
Definition at line 582 of file GLProfile.java.
|
static |
The embedded OpenGL profile ES 2.x, with x >= 0.
Definition at line 585 of file GLProfile.java.
|
static |
The embedded OpenGL profile ES 3.x, with x >= 0.
Definition at line 588 of file GLProfile.java.