Lines Matching refs:ctx
228 unx::GLXContext ctx;
606 GLWin.ctx = glXCreateContext(GLWin.dpy, in createWindow()
610 if( GLWin.ctx == NULL ) { in createWindow()
643 if( !glXMakeCurrent( GLWin.dpy, GLWin.win, GLWin.ctx ) ) { in createWindow()
835 if(GLWin.ctx)//if we have a rendering context, let's init the slides in createWindow()
1136 glXMakeCurrent( GLWin.dpy, GLWin.win, GLWin.ctx ); in createWindow()
1195 if(GLWin.ctx) in createWindow()
1201 glXDestroyContext(GLWin.dpy, GLWin.ctx); in createWindow()
1202 GLWin.ctx = NULL; in createWindow()
1218 glXMakeCurrent( GLWin.dpy, GLWin.win, GLWin.ctx ); in createWindow()
1323 GLWin.ctx = 0; in createWindow()