X11 added opengl function