| Modifier and Type | Class and Description |
|---|---|
| public static interface | EGLGraphicsDevice.
Hack to allow inject a EGL termination call. |
| Modifier and Type | Field and Description |
|---|---|
| private EGLGraphicsDevice. | |
| private VersionNumber | |
| private final long[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | EGLGraphicsDevice(final AbstractGraphicsDevice aDevice, final long eglDisplay, final EGLGraphicsDevice.
|
| public | EGLGraphicsDevice(final long nativeDisplayID, final long eglDisplay, final String connection, final int unitID, final EGLGraphicsDevice.
|
| eglLifecycleCallback | back to summary |
|---|---|
| private EGLGraphicsDevice. | |
| eglVersion | back to summary |
|---|---|
| private VersionNumber eglVersion | |
| nativeDisplayID | back to summary |
|---|---|
| private final long[] nativeDisplayID | |
| EGLGraphicsDevice | back to summary |
|---|---|
| public EGLGraphicsDevice() Note that this is not an open connection, ie no native display handle exist.
This constructor exist to setup a default device connection/unit. | |
| EGLGraphicsDevice | back to summary |
|---|---|
| public EGLGraphicsDevice(final AbstractGraphicsDevice aDevice, final long eglDisplay, final EGLGraphicsDevice. | |
| EGLGraphicsDevice | back to summary |
|---|---|
| public EGLGraphicsDevice(final long nativeDisplayID, final long eglDisplay, final String connection, final int unitID, final EGLGraphicsDevice. | |
| clearHandleOwner | back to summary |
|---|---|
| public void clearHandleOwner() Overrides com. Implements com.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides com. Implements com. Doc from java. 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 will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
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 | |
| close | back to summary |
|---|---|
| public boolean close() Overrides com. Implements com. Doc from com. Closes the EGL device if handle is not null and it's
Optionally closing the device if handle is not
The default implementation
Example implementations like
| |
| getEGLVersion | back to summary |
|---|---|
| public VersionNumber getEGLVersion() EGL server version as returned by | |
| getHandleOwnership | back to summary |
|---|---|
| protected Object getHandleOwnership() Overrides com.
| |
| getNativeDisplayID | back to summary |
|---|---|
| public long getNativeDisplayID() | |
| isHandleOwner | back to summary |
|---|---|
| public boolean isHandleOwner() Overrides com. Implements com.
| |
| open | back to summary |
|---|---|
| public boolean open() Overrides com. Implements com. Doc from com. Opens the EGL device if handle is null and it's
Optionally [re]opening the device if handle is
The default implementation is a
Example implementations like
| |
| setHandleOwnership | back to summary |
|---|---|
| protected Object setHandleOwnership(final Object newOwnership) Overrides com.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object. | |
FIXME: This shall be removed when relocated EGL to the nativewindow package, since then it can be utilized directly.
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: the initialized EGL display ID, or0 if not successfulin/out array of size 1, passing the requested nativeVisualID, may return a different revised nativeVisualID handle nativeDisplayID, final int[] out array for EGL major version major, final int[] out array for EGL minor version minor)Implementation should issue an |
| public void | eglTerminate(long eglDisplayHandle)
Implementation should issue an |
| eglGetAndInitDisplay | back to summary |
|---|---|
| public long eglGetAndInitDisplay(final long[] nativeDisplayID, final int[] major, final int[] minor) Implementation should issue an
| |
| eglTerminate | back to summary |
|---|---|
| public void eglTerminate(long eglDisplayHandle) Implementation should issue an | |