EGLWindowSurfaceFactory

An interface to customize the eglCreateWindowSurface and eglDestroySurface calls.

This interface must be implemented by clients wishing to call setEGLWindowSurfaceFactory

Functions

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

Creates a window surface to draw into.

Link copied to clipboard
abstract fun destroySurface(egl: EGL10?, display: EGLDisplay?, surface: EGLSurface?)

Destroys a window surface.