Equalizer  1.2.1
Public Member Functions | Protected Member Functions
eqPixelBench::Channel Class Reference
+ Inheritance diagram for eqPixelBench::Channel:
+ Collaboration diagram for eqPixelBench::Channel:

List of all members.

Public Member Functions

 Channel (eq::Window *parent)
 Construct a new channel.
virtual ~Channel ()
 Destruct the channel.

Protected Member Functions

virtual void frameStart (const eq::uint128_t &frameID, const uint32_t frameNumber)
 Start rendering a frame.
virtual void frameDraw (const eq::uint128_t &frameID)
 Draw the scene.
ConfigEvent _createConfigEvent ()

Detailed Description

Definition at line 38 of file share/Equalizer/examples/eqPixelBench/channel.h.


Constructor & Destructor Documentation

Construct a new channel.

Version:
1.0

Reimplemented from eq::Channel.

Definition at line 68 of file eqPixelBench/channel.cpp.

References eq::Channel::getDrawableConfig(), eq::FrameData::newImage(), eq::Frame::setData(), and eq::Frame::TYPE_MEMORY.

+ Here is the call graph for this function:

virtual eqPixelBench::Channel::~Channel ( ) [inline, virtual]

Destruct the channel.

Version:
1.0

Reimplemented from eq::Channel.

Definition at line 42 of file share/Equalizer/examples/eqPixelBench/channel.h.


Member Function Documentation

void eqPixelBench::Channel::frameDraw ( const eq::uint128_t frameID) [protected, virtual]

Draw the scene.

Called 0 to n times during one frame.

Parameters:
frameIDthe per-frame identifier.
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 107 of file eqPixelBench/channel.cpp.

References eq::Channel::applyBuffer(), eq::Channel::applyFrustum(), eq::Channel::applyHeadTransform(), eq::Channel::applyViewport(), eq::Channel::resetAssemblyState(), and eq::Channel::setupAssemblyState().

+ Here is the call graph for this function:

void eqPixelBench::Channel::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 channel-specific data. This method has to call startFrame().

Parameters:
frameIDthe per-frame identifier.
frameNumberthe frame to start.
See also:
Config::startFrame()
Version:
1.0

Reimplemented from eq::Channel.

Definition at line 78 of file eqPixelBench/channel.cpp.

References eq::ConfigEvent::data, eq::UserEvent::data, eqPixelBench::Config::getClock(), eq::Channel::getConfig(), eq::fabric::Object::getName(), co::base::Clock::getTimef(), eq::Config::sendEvent(), and eq::Event::user.

+ Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Jun 8 2012 15:44:36 for Equalizer 1.2.1 by  doxygen 1.8.0