JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.egl.EGLGraphicsDevice.EGLDisplayLifecycleCallback Interface Reference

Hack to allow inject a EGL termination call. More...

Collaboration diagram for com.jogamp.nativewindow.egl.EGLGraphicsDevice.EGLDisplayLifecycleCallback:

Public Member Functions

long eglGetAndInitDisplay (final long[] nativeDisplayID, final int[] major, final int[] minor)
 Implementation should issue an EGL.eglGetDisplay(nativeDisplayID) inclusive EGL.eglInitialize(eglDisplayHandle, ..) call. More...
 
void eglTerminate (long eglDisplayHandle)
 Implementation should issue an EGL.eglTerminate(eglDisplayHandle) call. More...
 

Detailed Description

Hack 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.

Definition at line 61 of file EGLGraphicsDevice.java.

Member Function Documentation

◆ eglGetAndInitDisplay()

long com.jogamp.nativewindow.egl.EGLGraphicsDevice.EGLDisplayLifecycleCallback.eglGetAndInitDisplay ( final long[]  nativeDisplayID,
final int[]  major,
final int[]  minor 
)

Implementation should issue an EGL.eglGetDisplay(nativeDisplayID) inclusive EGL.eglInitialize(eglDisplayHandle, ..) call.

Parameters
nativeDisplayIDin/out array of size 1, passing the requested nativeVisualID, may return a different revised nativeVisualID handle
majorout array for EGL major version
minorout array for EGL minor version
Returns
the initialized EGL display ID, or 0 if not successful
Here is the caller graph for this function:

◆ eglTerminate()

void com.jogamp.nativewindow.egl.EGLGraphicsDevice.EGLDisplayLifecycleCallback.eglTerminate ( long  eglDisplayHandle)

Implementation should issue an EGL.eglTerminate(eglDisplayHandle) call.

Parameters
eglDisplayHandle
Here is the caller graph for this function:

The documentation for this interface was generated from the following file: