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