GLSurfaceView.EGLWindowSurfaceFactory
public static interface GLSurfaceView.EGLWindowSurfaceFactory
android.opengl.GLSurfaceView.EGLWindowSurfaceFactory |
用于自定义eglCreateWindowSurface和eglDestroySurface调用的接口。
该接口必须由希望致电 setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory)
客户实施
摘要(Summary)
公共方法(Public methods)
createWindowSurface
EGLSurface createWindowSurface (EGL10 egl,
EGLDisplay display,
EGLConfig config,
Object nativeWindow)
参数(Parameters) |
egl |
EGL10
|
display |
EGLDisplay
|
config |
EGLConfig
|
nativeWindow |
Object
|
返回(Returns) |
EGLSurface |
null if the surface cannot be constructed. |
destroySurface
void destroySurface (EGL10 egl,
EGLDisplay display,
EGLSurface surface)
参数(Parameters) |
egl |
EGL10
|
display |
EGLDisplay
|
surface |
EGLSurface
|