Equalizer
1.4.1
|
The interface definition for system-specific GPU handling. More...
#include <systemPipe.h>
Public Member Functions | |
SystemPipe (Pipe *parent) | |
Create a new SstemPipe for the given eq::Pipe. | |
virtual | ~SystemPipe () |
Destroy the SystemPipe. | |
Pipe * | getPipe () |
const Pipe * | getPipe () const |
co::Error | getError () const |
Methods forwarded from eq::Pipe. | |
virtual bool | configInit ()=0 |
Initialize the GPU. | |
virtual void | configExit ()=0 |
De-initialize the GPU. | |
Protected Member Functions | |
Error information. | |
void | setError (const uint32_t error) |
Set an error code why the last operation failed. |
The interface definition for system-specific GPU handling.
The SystemPipe abstracts all OS-system specific code for handling a GPU, which facilitates porting to new windowing systems. Each Pipe uses one SystemPipe, which is initialized in Pipe::configInit. The SystemPipe has to set the pipe's PixelViewport if it is invalid during configInit().
Definition at line 37 of file systemPipe.h.
eq::SystemPipe::SystemPipe | ( | Pipe * | parent | ) |
Create a new SstemPipe for the given eq::Pipe.
virtual eq::SystemPipe::~SystemPipe | ( | ) | [virtual] |
Destroy the SystemPipe.
virtual void eq::SystemPipe::configExit | ( | ) | [pure virtual] |
virtual bool eq::SystemPipe::configInit | ( | ) | [pure virtual] |
co::Error eq::SystemPipe::getError | ( | ) | const |
Pipe* eq::SystemPipe::getPipe | ( | ) | [inline] |
const Pipe* eq::SystemPipe::getPipe | ( | ) | const [inline] |
void eq::SystemPipe::setError | ( | const uint32_t | error | ) | [protected] |
Set an error code why the last operation failed.
error | the error code. |