EGLContextFactory

An interface for customizing the eglCreateContext and eglDestroyContext calls.

This interface must be implemented by clients wishing to call setEGLContextFactory

Functions

Link copied to clipboard
abstract fun createContext(egl: EGL10?, display: EGLDisplay?, eglConfig: EGLConfig?): EGLContext?

Create a GL context.

Link copied to clipboard
abstract fun destroyContext(egl: EGL10?, display: EGLDisplay?, context: EGLContext?)

Destroy a GL context.