added EGL option