Equalizer
1.4.1
|
Default implementation of a glX system pipe. More...
#include <pipe.h>
Public Member Functions | |
Pipe (eq::Pipe *parent) | |
Construct a new glX system pipe. | |
virtual | ~Pipe () |
Destruct this glX pipe. | |
Display * | getXDisplay () const |
GLXEWContext * | glxewGetContext () |
GLX/X11 initialization | |
virtual bool | configInit () |
Initialize this pipe for the GLX window system. | |
virtual void | configExit () |
Deinitialize this pipe for the GLX window system. | |
Static Public Member Functions | |
static bool | getGPUInfo (Display *display, GPUInfo &info) |
Protected Member Functions | |
void | setXDisplay (Display *display) |
Set the X display connection for this pipe. | |
std::string | getXDisplayString () |
virtual bool | configInitGL () |
Initialize this pipe for OpenGL. |
Default implementation of a glX system pipe.
Definition at line 32 of file include/eq/client/glx/pipe.h.
eq::glx::Pipe::Pipe | ( | eq::Pipe * | parent | ) |
Construct a new glX system pipe.
virtual eq::glx::Pipe::~Pipe | ( | ) | [virtual] |
Destruct this glX pipe.
virtual void eq::glx::Pipe::configExit | ( | ) | [virtual] |
Deinitialize this pipe for the GLX window system.
Implements eq::SystemPipe.
virtual bool eq::glx::Pipe::configInit | ( | ) | [virtual] |
Initialize this pipe for the GLX window system.
Implements eq::SystemPipe.
virtual bool eq::glx::Pipe::configInitGL | ( | ) | [inline, protected, virtual] |
Initialize this pipe for OpenGL.
A temporary GL context is current during this call. The context is not the one used by the windows of this pipe.
Definition at line 96 of file include/eq/client/glx/pipe.h.
Display* eq::glx::Pipe::getXDisplay | ( | ) | const [inline] |
Definition at line 61 of file include/eq/client/glx/pipe.h.
std::string eq::glx::Pipe::getXDisplayString | ( | ) | [protected] |
GLXEWContext* eq::glx::Pipe::glxewGetContext | ( | ) | [inline] |
Definition at line 64 of file include/eq/client/glx/pipe.h.
void eq::glx::Pipe::setXDisplay | ( | Display * | display | ) | [protected] |
Set the X display connection for this pipe.
This function should only be called from configInit() or configExit(). Updates the pixel viewport. Calls XSetCurrentDisplay().
display | the X display connection for this pipe. |