synchronized fun init(egl: EGL10, renderContext: EGLContext, display: EGLDisplay, eglConfig: EGLConfig, version: int): void