com.jogamp.nativewindow.egl
Interface EGLGraphicsDevice.EGLDisplayLifecycleCallback

Enclosing class:
EGLGraphicsDevice

public static interface EGLGraphicsDevice.EGLDisplayLifecycleCallback

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.


Method Summary
 long eglGetAndInitDisplay(long[] nativeDisplayID)
          Implementation should issue an EGL.eglGetDisplay(nativeDisplayID) inclusive EGL.eglInitialize(eglDisplayHandle, ..) call.
 void eglTerminate(long eglDisplayHandle)
          Implementation should issue an EGL.eglTerminate(eglDisplayHandle) call.
 

Method Detail

eglGetAndInitDisplay

long eglGetAndInitDisplay(long[] nativeDisplayID)
Implementation should issue an EGL.eglGetDisplay(nativeDisplayID) inclusive EGL.eglInitialize(eglDisplayHandle, ..) call.

Parameters:
nativeDisplayID - in/out array of size 1, passing the requested nativeVisualID, may return a different revised nativeVisualID handle
Returns:
the initialized EGL display ID, or 0 if not successful

eglTerminate

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

Parameters:
eglDisplayHandle -


Copyright 2010 JogAmp Community.