I want to use eglPresentationTimeANDROID in my ExtendedGLSurfaceView
(extended from GLSurfaceView).
The method appears in:
EGLExt.eglPresentationTimeANDROID(android.opengl.EGLDisplay display, android.opengl.EGLSurface surface, long time);
My main issue is that GLSurfaceView
uses EGLDisplay
, EGLContext
and EGLSurface
from javax.microedition.khronos.egl
. However, eglPresentationTimeANDROID
takes EGLDisplay
and EGLSurface
from android.opengl.EGLDisplay
Is there is any quick fix? Or do I need to redo all my ExtendedGLSurfaceView
to use android.opengl
classes?