Equalizer
1.2.1
|
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 () |
Definition at line 38 of file share/Equalizer/examples/eqPixelBench/channel.h.
eqPixelBench::Channel::Channel | ( | eq::Window * | parent | ) |
Construct a new channel.
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.
virtual eqPixelBench::Channel::~Channel | ( | ) | [inline, virtual] |
Destruct the channel.
Reimplemented from eq::Channel.
Definition at line 42 of file share/Equalizer/examples/eqPixelBench/channel.h.
void eqPixelBench::Channel::frameDraw | ( | const eq::uint128_t & | frameID | ) | [protected, virtual] |
Draw the scene.
Called 0 to n times during one frame.
frameID | the per-frame identifier. |
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().
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().
frameID | the per-frame identifier. |
frameNumber | the frame to start. |
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.