Equalizer  1.6.1
Public Member Functions | Protected Member Functions | List of all members
eqAsync::Channel Class Reference
+ Inheritance diagram for eqAsync::Channel:
+ Collaboration diagram for eqAsync::Channel:

Public Member Functions

 Channel (eq::Window *parent)
 
- Public Member Functions inherited from eq::Channel
 Channel (Window *parent)
 Construct a new channel. More...
 
virtual ~Channel ()
 Destruct the channel. More...
 
virtual bool processEvent (const Event &event)
 Process a received event. More...
 
virtual void drawStatistics ()
 Draw a statistics overlay. More...
 
virtual void outlineViewport ()
 Outline the current pixel viewport. More...
 
void changeLatency (const uint32_t latency)
 
co::CommandQueue * getPipeThreadQueue ()
 
co::CommandQueue * getCommandThreadQueue ()
 
uint32_t getCurrentFrame () const
 
void waitFrameFinished (const uint32_t frame) const
 
bool isStopped () const
 
PipegetPipe ()
 
const PipegetPipe () const
 
NodegetNode ()
 
const NodegetNode () const
 
ConfiggetConfig ()
 
const ConfiggetConfig () const
 
ServerPtr getServer ()
 
const GLEWContext * glewGetContext () const
 Get the GLEW context for this channel. More...
 
ObjectManagergetObjectManager ()
 
const DrawableConfig & getDrawableConfig () const
 
ViewgetNativeView ()
 Get the channel's native view. More...
 
const ViewgetNativeView () const
 const-version of getNativeView() More...
 
util::FrameBufferObjectgetFrameBufferObject ()
 
const Vector3ub & getUniqueColor () const
 
void addStatistic (Event &event)
 
virtual Vector2f getJitter () const
 
const FramesgetInputFrames ()
 
const FramesgetOutputFrames ()
 
ViewgetView ()
 Get the channel's current View. More...
 
const ViewgetView () const
 Const version of getView(). More...
 
Frustumf getScreenFrustum () const
 Returns an orthographic frustum for 2D operations on the view. More...
 
virtual void applyBuffer ()
 Apply the current rendering buffer, including the color mask. More...
 
virtual void applyColorMask () const
 Apply the current color mask. More...
 
virtual void applyViewport () const
 Apply the OpenGL viewport for the current rendering task. More...
 
virtual void applyFrustum () const
 Apply the frustum matrix for the current rendering task. More...
 
virtual void applyPerspective () const
 Apply the perspective frustum matrix for the current rendering task. More...
 
virtual void applyOrtho () const
 Apply the orthographic frustum matrix for the current rendering task. More...
 
void applyScreenFrustum () const
 Apply an orthographic frustum for pixel-based 2D operations. More...
 
virtual void applyHeadTransform () const
 Apply the transformation to position the view frustum. More...
 
virtual void applyPerspectiveTransform () const
 Apply the transformation to position the perspective view frustum. More...
 
virtual void applyOrthoTransform () const
 Apply the transformation to position the orthographic view frustum. More...
 
virtual void applyFrameBufferObject ()
 Apply the current alternate frame buffer. More...
 
void bindFrameBuffer ()
 Rebind the current alternate FBO of the channel or window. More...
 
virtual void resetRegions ()
 Reset the declared regions of interest. More...
 
virtual void declareRegion (const eq::PixelViewport &region)
 Declare a region covered by the current draw or assemble operation. More...
 
void declareRegion (const eq::Viewport &vp)
 Convenience method to declare a region in relative coordinates. More...
 
PixelViewport getRegion () const
 
const PixelViewportsgetRegions () const
 Get the current regions of interest. More...
 
- Public Member Functions inherited from eq::fabric::Channel< Window, Channel >
virtual bool omitOutput () const
 
virtual void output (std::ostream &) const
 
void init ()
 
WindowgetWindow ()
 
const WindowgetWindow () const
 
bool isDestination () const
 
void setViewVersion (const co::ObjectVersion &view)
 
const co::ObjectVersion & getViewVersion () const
 
void setPixelViewport (const PixelViewport &pvp)
 
EQFABRIC_INL void setViewport (const Viewport &vp)
 
const PixelViewportgetNativePixelViewport () const
 
bool hasFixedViewport () const
 
EQFABRIC_INL void setNearFar (const float nearPlane, const float farPlane)
 Set the near and far planes for this channel. More...
 
uint32_t getDrawable () const
 
EQFABRIC_INL VisitorResult accept (Visitor &visitor)
 Perform a depth-first traversal of this channel. More...
 
EQFABRIC_INL VisitorResult accept (Visitor &visitor) const
 Const-version of accept(). More...
 
EQFABRIC_INL void setCapabilities (const uint64_t bitmask)
 Set the capabilities supported by the channel. More...
 
EQFABRIC_INL uint64_t getCapabilities () const
 
EQFABRIC_INL void setMaxSize (const Vector2i &size)
 
void setOverdraw (const Vector4i &overdraw)
 
const Vector2igetMaxSize () const
 
EQFABRIC_INL ChannelPath getPath () const
 
virtual EQFABRIC_INL void backup ()
 
virtual EQFABRIC_INL void restore ()
 
uint32_t getDrawBuffer () const
 
uint32_t getReadBuffer () const
 
const ColorMaskgetDrawBufferMask () const
 
const PixelViewportgetPixelViewport () const
 
virtual bool useOrtho () const
 Select perspective or orthographic rendering. More...
 
const FrustumfgetFrustum () const
 
const FrustumfgetPerspective () const
 
const FrustumfgetOrtho () const
 
const Matrix4fgetHeadTransform () const
 Return the view matrix. More...
 
const Matrix4fgetPerspectiveTransform () const
 Return the perspective view matrix. More...
 
const Matrix4fgetOrthoTransform () const
 Return the orthographic view matrix. More...
 
const ViewportgetViewport () const
 
const RangegetRange () const
 
const PixelgetPixel () const
 
const SubPixelgetSubPixel () const
 
const ZoomgetZoom () const
 
uint32_t getPeriod () const
 
uint32_t getPhase () const
 
const Vector2igetPixelOffset () const
 Get the channel's current position wrt the destination channel. More...
 
Eye getEye () const
 
const Vector4igetOverdraw () const
 
uint32_t getTaskID () const
 
EQFABRIC_INL int32_t getIAttribute (const IAttribute attr) const
 
- Public Member Functions inherited from eq::fabric::Object
virtual bool isDirty () const
 
virtual uint128_t commit (const uint32_t incarnation=CO_COMMIT_NEXT)
 
void setName (const std::string &name)
 Set the name of the object. More...
 
const std::string & getName () const
 
void setUserData (co::Object *userData)
 Set user-specific data. More...
 
co::Object * getUserData ()
 
const co::Object * getUserData () const
 
void setError (const int32_t error)
 Set an error code why the last operation failed. More...
 
eq::fabric::Error getError () const
 
uint32_t getTasks () const
 Return the set of tasks this channel might execute in the worst case. More...
 
uint32_t getSerial () const
 

Protected Member Functions

virtual void frameDraw (const eq::uint128_t &spin)
 Draw the scene. More...
 
- Protected Member Functions inherited from eq::Channel
void attach (const UUID &id, const uint32_t instanceID)
 
virtual void frameTilesStart (const uint128_t &)
 Start a batch of tile rendering operations. More...
 
virtual void frameTilesFinish (const uint128_t &)
 Finish a batch of tile rendering operations. More...
 
virtual void notifyViewportChanged ()
 Notification that parameters influencing the vp/pvp have changed. More...
 
virtual void notifyStopFrame (const uint32_t lastFrameNumber)
 Notify interruption of the rendering. More...
 
void startFrame (const uint32_t frameNumber)
 Start a frame by unlocking all child resources. More...
 
void releaseFrame (const uint32_t frameNumber)
 Signal the completion of a frame to the parent. More...
 
void releaseFrameLocal (const uint32_t frameNumber)
 Release the local synchronization of the parent for a frame. More...
 
virtual void setupAssemblyState ()
 Setup the OpenGL state for a readback or assemble operation. More...
 
virtual void resetAssemblyState ()
 Reset the OpenGL state after an assembly operation. More...
 
virtual bool configInit (const uint128_t &initID)
 Initialize this channel. More...
 
virtual bool configExit ()
 Exit this channel. More...
 
virtual void frameStart (const uint128_t &frameID, const uint32_t frameNumber)
 Start rendering a frame. More...
 
virtual void frameFinish (const uint128_t &frameID, const uint32_t frameNumber)
 Finish rendering a frame. More...
 
virtual void frameDrawFinish (const uint128_t &frameID, const uint32_t frameNumber)
 Finish drawing. More...
 
virtual void frameClear (const uint128_t &frameID)
 Clear the frame buffer. More...
 
virtual void frameAssemble (const uint128_t &frameID)
 Assemble all input frames. More...
 
virtual void frameReadback (const uint128_t &frameID)
 Read back the rendered frame buffer into the output frames. More...
 
virtual void frameViewStart (const uint128_t &frameID)
 Start updating a destination channel. More...
 
virtual void frameViewFinish (const uint128_t &frameID)
 Finish updating a destination channel. More...
 
- Protected Member Functions inherited from eq::fabric::Channel< Window, Channel >
EQFABRIC_INL Channel (Window *parent)
 Construct a new channel.
 
 Channel (const Channel &from)
 Construct a copy of a channel (view/segment dest).
 
virtual EQFABRIC_INL void serialize (co::DataOStream &os, const uint64_t dirtyBits)
 
virtual EQFABRIC_INL void deserialize (co::DataIStream &is, const uint64_t dirtyBits)
 
virtual EQFABRIC_INL void setDirty (const uint64_t bits)
 
void setDrawable (const uint32_t drawable)
 
void setIAttribute (const IAttribute attr, const int32_t value)
 
virtual ChangeType getChangeType () const
 
virtual uint64_t getRedistributableBits () const
 
virtual void updateCapabilities ()
 
void overrideContext (RenderContext &context)
 
void resetRenderContext ()
 
const RenderContextgetContext () const
 
const RenderContextgetNativeContext () const
 
- Protected Member Functions inherited from eq::fabric::Object
 Object ()
 Construct a new Object. More...
 
virtual ~Object ()
 Destruct the object. More...
 
virtual bool hasMasterUserData ()
 
virtual uint32_t getUserDataLatency () const
 
void setTasks (const uint32_t tasks)
 
virtual void notifyDetach ()
 
void postRemove (Object *child)
 
virtual void removeChild (const UUID &)
 
template<class C , class S >
void commitChild (C *child, S *sender, uint32_t cmd, const uint32_t incarnation)
 
template<class C >
void commitChild (C *child, const uint32_t incarnation)
 
template<class C , class S >
void commitChildren (const std::vector< C * > &children, S *sender, uint32_t cmd, const uint32_t incarnation)
 
template<class C >
void commitChildren (const std::vector< C * > &children, uint32_t cmd, const uint32_t incarnation)
 
template<class C >
void commitChildren (const std::vector< C * > &children, const uint32_t incarnation)
 
template<class C >
void syncChildren (const std::vector< C * > &children)
 
template<class P , class C >
void releaseChildren (const std::vector< C * > &children)
 
bool _cmdSync (co::ICommand &command)
 

Additional Inherited Members

- Public Types inherited from eq::fabric::Channel< Window, Channel >
enum  Drawable
 The drawable format defines the components used as an alternate drawable for this channel. More...
 
typedef LeafVisitor< ChannelVisitor
 The channel visitor type.
 
typedef Window Parent
 The parent window type.
 
enum  IAttribute
 Integer attributes for a channel. More...
 
- Public Types inherited from eq::fabric::Object
enum  DirtyBits {
  DIRTY_NAME = Serializable::DIRTY_CUSTOM << 0, DIRTY_USERDATA = Serializable::DIRTY_CUSTOM << 1, DIRTY_ERROR = Serializable::DIRTY_CUSTOM << 2, DIRTY_TASKS = Serializable::DIRTY_CUSTOM << 3,
  DIRTY_REMOVED = Serializable::DIRTY_CUSTOM << 4, DIRTY_SERIAL = Serializable::DIRTY_CUSTOM << 5, DIRTY_CUSTOM = Serializable::DIRTY_CUSTOM << 6, DIRTY_OBJECT_BITS = DIRTY_NAME | DIRTY_USERDATA | DIRTY_ERROR
}
 The changed parts of the object since the last pack(). More...
 
- Static Public Member Functions inherited from eq::fabric::Channel< Window, Channel >
static EQFABRIC_INL const
std::string & 
getIAttributeString (const IAttribute attr)
 
- Protected Types inherited from eq::fabric::Channel< Window, Channel >
enum  DirtyBits
 

Detailed Description

Definition at line 41 of file eqAsync.h.

Member Function Documentation

void eqAsync::Channel::frameDraw ( const eq::uint128_t &  frameID)
protectedvirtual

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 76 of file eqAsync.cpp.

References eq::Channel::frameDraw(), and eq::Channel::getPipe().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: