createWindowSurface

abstract fun createWindowSurface(egl: EGL10?, display: EGLDisplay?, config: EGLConfig?, nativeWindow: Any?): EGLSurface?

Creates a window surface to draw into.

Return

null if the surface cannot be constructed

Parameters

egl

the EGL10 for the current display.

display

the current display.

config

the current EGLConfig.

nativeWindow

the native window to draw into.