# eglSetup

open fun eglSetup(width: Int, height: Int, surface: Surface, eglSharedContext: EGLContext)

Prepares EGL. We want a GLES 2.0 context and a surface that supports recording.

open fun eglSetup(surface: Surface, manager: SurfaceManager)
open fun eglSetup(width: Int, height: Int, manager: SurfaceManager)
open fun eglSetup(surface: Surface, eglContext: EGLContext)
open fun eglSetup(surface: Surface)
open fun eglSetup()