Package com.jogamp.nativewindow.egl
Interface EGLGraphicsDevice.EGLDisplayLifecycleCallback
-
- Enclosing class:
- EGLGraphicsDevice
public static interface EGLGraphicsDevice.EGLDisplayLifecycleCallbackHack to allow inject a EGL termination call.FIXME: This shall be removed when relocated EGL to the nativewindow package, since then it can be utilized directly.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longeglGetAndInitDisplay(long[] nativeDisplayID, int[] major, int[] minor)Implementation should issue anEGL.eglGetDisplay(nativeDisplayID)inclusiveEGL.eglInitialize(eglDisplayHandle, ..)call.voideglTerminate(long eglDisplayHandle)Implementation should issue anEGL.eglTerminate(eglDisplayHandle)call.
-
-
-
Method Detail
-
eglGetAndInitDisplay
long eglGetAndInitDisplay(long[] nativeDisplayID, int[] major, int[] minor)Implementation should issue anEGL.eglGetDisplay(nativeDisplayID)inclusiveEGL.eglInitialize(eglDisplayHandle, ..)call.- Parameters:
nativeDisplayID- in/out array of size 1, passing the requested nativeVisualID, may return a different revised nativeVisualID handlemajor- out array for EGL major versionminor- out array for EGL minor version- Returns:
- the initialized EGL display ID, or
0if not successful
-
eglTerminate
void eglTerminate(long eglDisplayHandle)
Implementation should issue anEGL.eglTerminate(eglDisplayHandle)call.- Parameters:
eglDisplayHandle-
-
-