The representation of one GPU. More...
#include <pipe.h>


Public Member Functions | |
| Pipe (eq::Node *parent) | |
| Constructs a new pipe. | |
| const FrameData & | getFrameData () const |
Protected Member Functions | |
| virtual | ~Pipe () |
| Destructs the pipe. | |
| virtual eq::WindowSystem | selectWindowSystem () const |
| Return the window system to be used by this pipe. | |
| virtual bool | configInit (const uint32_t initID) |
| Initialize this pipe. | |
| virtual bool | configExit () |
| Exit this pipe. | |
| virtual void | frameStart (const uint32_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 36 of file examples/eqPly/pipe.h.
| eqPly::Pipe::Pipe | ( | eq::Node * | parent | ) | [inline] |
Constructs a new pipe.
Reimplemented from eq::Pipe.
Definition at line 39 of file examples/eqPly/pipe.h.
| virtual eqPly::Pipe::~Pipe | ( | ) | [inline, protected, virtual] |
Destructs the pipe.
Reimplemented from eq::Pipe.
Definition at line 44 of file examples/eqPly/pipe.h.
| eq::WindowSystem eqPly::Pipe::selectWindowSystem | ( | ) | const [protected, virtual] |
Return 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 30 of file examples/eqPly/pipe.cpp.
References EQWARN, and eq::Pipe::supportsWindowSystem().

| bool eqPly::Pipe::configInit | ( | const uint32_t | initID | ) | [protected, virtual] |
Initialize this pipe.
| initID | the init identifier. |
Reimplemented from eq::Pipe.
Definition at line 48 of file examples/eqPly/pipe.cpp.
References eq::Pipe::configInit(), and eq::net::Session::mapObject().

| void eqPly::Pipe::frameStart | ( | const uint32_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 70 of file examples/eqPly/pipe.cpp.
References eq::net::Object::sync().

0.9.1 by
1.6.1