Default implementation of a glX system pipe.
More...
#include <pipe.h>
|
static bool | getGPUInfo (Display *display, GPUInfo &info) |
|
Default implementation of a glX system pipe.
Definition at line 33 of file glx/pipe.h.
eq::glx::Pipe::Pipe |
( |
eq::Pipe * |
parent | ) |
|
Construct a new glX system pipe.
- Version
- 1.0
virtual eq::glx::Pipe::~Pipe |
( |
| ) |
|
|
virtual |
Destruct this glX pipe.
- Version
- 1.0
virtual EQ_API void eq::glx::Pipe::configExit |
( |
| ) |
|
|
virtual |
Deinitialize this pipe for the GLX window system.
- Returns
- true if the deinitialization was successful, false otherwise.
- Version
- 1.0
Implements eq::SystemPipe.
virtual EQ_API bool eq::glx::Pipe::configInit |
( |
| ) |
|
|
virtual |
Initialize this pipe for the GLX window system.
- Returns
- true if the initialization was successful, false otherwise.
- Version
- 1.0
Implements eq::SystemPipe.
virtual bool eq::glx::Pipe::configInitGL |
( |
| ) |
|
|
inlineprotectedvirtual |
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.
- Version
- 1.0
Definition at line 97 of file glx/pipe.h.
EQ_API Display* eq::glx::Pipe::getXDisplay |
( |
| ) |
const |
- Returns
- the X display connection for this pipe.
- Version
- 1.0
std::string eq::glx::Pipe::getXDisplayString |
( |
| ) |
|
|
protected |
- Returns
- The string representation of this pipe's port and device setting, in the form used by XOpenDisplay().
- Version
- 1.0
EQ_API GLXEWContext* eq::glx::Pipe::glxewGetContext |
( |
| ) |
|
- Returns
- the generic GLX function table for the pipe.
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().
- Parameters
-
display | the X display connection for this pipe. |
- Version
- 1.0
The documentation for this class was generated from the following file: