Lines Matching refs:unx
70 namespace unx namespace
154 int oglErrorHandler( unx::Display* /*dpy*/, unx::XErrorEvent* /*evnt*/ ) in oglErrorHandler()
196 unx::GLXPixmap pixmap,
221 unx::Display* dpy;
223 unx::Window win;
225 unx::GLXFBConfig fbc;
227 unx::XVisualInfo* vi;
228 unx::GLXContext ctx;
264 unx::GLXPixmap LeavingPixmap;
265 unx::GLXPixmap EnteringPixmap;
272 unx::Pixmap maLeavingPixmap;
273 unx::Pixmap maEnteringPixmap;
382 GLWin.dpy = reinterpret_cast<unx::Display*>(sysData->pDisplay); in createWindow()
384 if( unx::glXQueryExtension( GLWin.dpy, NULL, NULL ) == false ) in createWindow()
391 unx::XWindowAttributes xattr; in createWindow()
392 unx::XGetWindowAttributes( GLWin.dpy, GLWin.win, &xattr ); in createWindow()
396 unx::XVisualInfo* vi( NULL ); in createWindow()
398 unx::XVisualInfo* visinfo; in createWindow()
399 unx::XVisualInfo* firstVisual( NULL ); in createWindow()
455 unx::GLXFBConfig* fbconfigs = NULL; in createWindow()
462 vi = unx::glXChooseVisual( GLWin.dpy, in createWindow()
556 GLWin.dpy = reinterpret_cast<unx::Display*>(pChildSysData->pDisplay); in createWindow()
563 GLWin.GLXExtensions = unx::glXQueryExtensionsString( GLWin.dpy, GLWin.screen ); in createWindow()
663 …glXSwapIntervalProc glXSwapInterval = (glXSwapIntervalProc) unx::glXGetProcAddress( (const GLubyte… in createWindow()
665 int (*oldHandler)(unx::Display* /*dpy*/, unx::XErrorEvent* /*evnt*/); in createWindow()
668 oldHandler = unx::XSetErrorHandler( oglErrorHandler ); in createWindow()
675 unx::glXWaitGL(); in createWindow()
684 unx::XSetErrorHandler( oldHandler ); in createWindow()
696 unx::glXSwapBuffers(GLWin.dpy, GLWin.win); in createWindow()
741 unx::glXWaitGL(); in createWindow()
778 unx::glXWaitGL(); in createWindow()
781 int (*oldHandler)(unx::Display* /*dpy*/, unx::XErrorEvent* /*evnt*/); in createWindow()
784 oldHandler = unx::XSetErrorHandler( oglErrorHandler ); in createWindow()
790 unx::glXWaitGL(); in createWindow()
798 unx::XFreePixmap( GLWin.dpy, maLeavingPixmap ); in createWindow()
807 unx::glXWaitGL(); in createWindow()
816 unx::XFreePixmap( GLWin.dpy, maEnteringPixmap ); in createWindow()
822 unx::XSetErrorHandler( oldHandler ); in createWindow()
843 unx::glXWaitGL(); in createWindow()
856 unx::GLXPixmap pixmap, in createWindow()
870 …unx::PFNGLXBINDTEXIMAGEEXTPROC myglXBindTexImageEXT = (unx::PFNGLXBINDTEXIMAGEEXTPROC) unx::glXGet… in createWindow()
1107 unx::glXWaitGL(); in createWindow()
1151 unx::glXSwapBuffers(GLWin.dpy, GLWin.win); in createWindow()
1158 unx::glXWaitGL(); in createWindow()
1222 …unx::PFNGLXRELEASETEXIMAGEEXTPROC myglXReleaseTexImageEXT = (unx::PFNGLXRELEASETEXIMAGEEXTPROC) un… in createWindow()
1229 unx::XFreePixmap( GLWin.dpy, maLeavingPixmap ); in createWindow()
1239 unx::XFreePixmap( GLWin.dpy, maEnteringPixmap ); in createWindow()