Equalizer 1.0
|
The representation of one GPU. More...
#include <pipe.h>
Public Member Functions | |
Pipe (eq::Node *parent) | |
Construct a new pipe. | |
const FrameData & | getFrameData () const |
Protected Member Functions | |
virtual | ~Pipe () |
Destruct the pipe. | |
virtual eq::WindowSystem | selectWindowSystem () const |
Choose the window system to be used by this pipe. | |
virtual bool | configInit (const eq::uint128_t &initID) |
Initialize this pipe. | |
virtual bool | configExit () |
De-initialize this pipe. | |
virtual void | frameStart (const eq::uint128_t &frameID, const uint32_t frameNumber) |
Start rendering a frame. |
The representation of one GPU.
The pipe object is responsible for maintaining GPU-specific and frame-specific data. The identifier passed by the configuration contains the version of the frame data corresponding to the rendered frame. The pipe's start frame callback synchronizes the thread-local instance of the frame data to this version.
Definition at line 47 of file share/Equalizer/examples/eqPly/pipe.h.
eqPly::Pipe::Pipe | ( | eq::Node * | parent | ) | [inline] |
Construct a new pipe.
Reimplemented from eq::Pipe.
Definition at line 50 of file share/Equalizer/examples/eqPly/pipe.h.
virtual eqPly::Pipe::~Pipe | ( | ) | [inline, protected, virtual] |
Destruct the pipe.
Reimplemented from eq::Pipe.
Definition at line 55 of file share/Equalizer/examples/eqPly/pipe.h.
bool eqPly::Pipe::configExit | ( | ) | [protected, virtual] |
De-initialize this pipe.
Reimplemented from eq::Pipe.
Definition at line 72 of file eqPly/pipe.cpp.
References eq::Pipe::getConfig(), and eq::Config::unmapObject().
bool eqPly::Pipe::configInit | ( | const eq::uint128_t & | initID | ) | [protected, virtual] |
Initialize this pipe.
initID | the init identifier. |
Reimplemented from eq::Pipe.
Definition at line 57 of file eqPly/pipe.cpp.
References eq::Pipe::configInit(), eq::Pipe::getConfig(), and eq::Config::mapObject().
void eqPly::Pipe::frameStart | ( | const eq::uint128_t & | frameID, |
const uint32_t | frameNumber | ||
) | [protected, virtual] |
Start rendering a frame.
Called once at the beginning of each frame, to do per-frame updates of pipe-specific data, for example updating the rendering engine. Waits for the node to start the frame, unless the thread model is async. If the thread model is async, the local synchronization is released immediately.
This method has to call startFrame().
frameID | the per-frame identifier. |
frameNumber | the frame to start. |
Reimplemented from eq::Pipe.
Definition at line 80 of file eqPly/pipe.cpp.
References co::Object::sync().
eq::WindowSystem eqPly::Pipe::selectWindowSystem | ( | ) | const [protected, virtual] |
Choose the window system to be used by this pipe.
This function determines which of the supported windowing systems is used by this pipe instance.
Reimplemented from eq::Pipe.
Definition at line 39 of file eqPly/pipe.cpp.
References EQWARN, eq::Pipe::getConfig(), and eq::Pipe::supportsWindowSystem().