add Egl Callback
open fun addEglCallback(@NonNull() callback: GlSurfaceListener.EglCallback)
Content copied to clipboard
Adds callback for underlying OpenGL calls of swap buffers.
Parameters
callback
GlSurfaceListener.EglCallback callback to handle eglSwapBuffers event.