我想在我的(从 GLSurfaceView 扩展)中使用eglPresentationTimeANDROID 。ExtendedGLSurfaceView
该方法出现在:
EGLExt.eglPresentationTimeANDROID(android.opengl.EGLDisplay display, android.opengl.EGLSurface surface, long time);
我的主要问题是GLSurfaceView
使用EGLDisplay
,EGLContext
和EGLSurface
from javax.microedition.khronos.egl
。但是,eglPresentationTimeANDROID
需要EGLDisplay
和EGLSurface
从android.opengl.EGLDisplay
有什么快速解决办法吗?还是我需要重做所有ExtendedGLSurfaceView
要使用的android.opengl
课程?