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

Public Member Functions

 Window (eq::Pipe *parent)
 
bool configInitGL (const eq::uint128_t &initID)
 Initialize the OpenGL state for this window. More...
 
- Public Member Functions inherited from eq::Window
 Window (Pipe *parent)
 Construct a new window. More...
 
virtual ~Window ()
 Destruct the window. More...
 
co::CommandQueue * getPipeThreadQueue ()
 
co::CommandQueue * getCommandThreadQueue ()
 
uint32_t getCurrentFrame () const
 
const NodegetNode () const
 
NodegetNode ()
 
const ConfiggetConfig () const
 
ConfiggetConfig ()
 
ClientPtr getClient ()
 
ServerPtr getServer ()
 
bool isRunning () const
 
bool isStopped () const
 
bool getRenderContext (const int32_t x, const int32_t y, RenderContext &context) const
 Get the last rendering context at the x, y position. More...
 
void setSharedContextWindow (Window *sharedContextWindow)
 Set the window with which this window shares the OpenGL context. More...
 
const WindowgetSharedContextWindow () const
 
WindowgetSharedContextWindow ()
 
ObjectManagergetObjectManager ()
 
const ObjectManagergetObjectManager () const
 
const FontgetSmallFont ()
 
const FontgetMediumFont ()
 
const GLEWContext * glewGetContext () const
 Get the GLEW context for this window. More...
 
const GLEWContext * getTransferGlewContext ()
 
uint32_t getColorFormat () const
 
void setSystemWindow (SystemWindow *window)
 Set the OS-specific window. More...
 
const SystemWindowgetSystemWindow () const
 
SystemWindowgetSystemWindow ()
 
const SystemPipegetSystemPipe () const
 
SystemPipegetSystemPipe ()
 
bool createTransferWindow ()
 
void deleteTransferSystemWindow ()
 
virtual void flush () const
 Flush outstanding rendering requests. More...
 
virtual void finish () const
 Finish outstanding rendering requests. More...
 
virtual void swapBuffers ()
 Swap the front and back buffer of the window. More...
 
virtual void drawFPS ()
 Render the current framerate as on overlay. More...
 
float getFPS () const
 
virtual void makeCurrent (const bool cache=true) const
 Make the window's drawable and context current. More...
 
void makeCurrentTransfer (const bool cache=true) const
 
virtual void bindFrameBuffer () const
 
virtual void notifyViewportChanged ()
 
virtual bool processEvent (const Event &event)
 Process a received event. More...
 
- Public Member Functions inherited from eq::fabric::Window< Pipe, Window, Channel >
EQFABRIC_INL WindowPath getPath () const
 
void init ()
 
const P * getPipe () const
 
P * getPipe ()
 
const ChannelsgetChannels () const
 
const DrawableConfiggetDrawableConfig () const
 
const PixelViewportgetPixelViewport () const
 
const ViewportgetViewport () const
 
virtual EQFABRIC_INL void setPixelViewport (const PixelViewport &pvp)
 Set the window's pixel viewport wrt its parent pipe. More...
 
EQFABRIC_INL void setViewport (const Viewport &vp)
 Set the window's viewport wrt its parent pipe. More...
 
bool hasFixedViewport () const
 
EQFABRIC_INL VisitorResult accept (Visitor &visitor)
 Perform a depth-first traversal of this window. More...
 
EQFABRIC_INL VisitorResult accept (Visitor &visitor) const
 Const-version of accept(). More...
 
virtual EQFABRIC_INL void backup ()
 
virtual EQFABRIC_INL void restore ()
 
void create (C **channel)
 
void release (C *channel)
 
virtual void output (std::ostream &) const
 
virtual EQFABRIC_INL uint128_t commit (const uint32_t incarnation=CO_COMMIT_NEXT)
 
void setIAttribute (const IAttribute attr, const int32_t value)
 Set a window attribute. More...
 
int32_t getIAttribute (const IAttribute attr) const
 
- Public Member Functions inherited from eq::fabric::Object
virtual bool isDirty () const
 
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
 

Additional Inherited Members

- Public Types inherited from eq::Window
typedef eq::ObjectManager ObjectManager
 The per-window OpenGL object manager. More...
 
typedef BitmapFont Font
 Fonts used for overlays. More...
 
- Public Types inherited from eq::fabric::Window< Pipe, Window, Channel >
typedef std::vector< C * > Channels
 A vector of pointers to channels. More...
 
typedef ElementVisitor< W,
LeafVisitor< C > > 
Visitor
 The Window visitor type. More...
 
enum  IAttribute
 Window attributes. 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::Window< Pipe, Window, Channel >
static EQFABRIC_INL const
std::string & 
getIAttributeString (const IAttribute attr)
 
- Protected Types inherited from eq::fabric::Window< Pipe, Window, Channel >
enum  DirtyBits
 
- Protected Member Functions inherited from eq::Window
virtual void attach (const UUID &id, const uint32_t instanceID)
 
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)
 Signal the release of the local synchronization to the parent. More...
 
virtual bool configInit (const uint128_t &initID)
 Initialize this window. More...
 
virtual bool configInitSystemWindow (const uint128_t &initID)
 Initialize the OS-specific window. More...
 
virtual bool configExit ()
 Exit this window. More...
 
virtual bool configExitSystemWindow ()
 De-initialize the OS-specific window. More...
 
virtual bool configExitGL ()
 De-initialize the OpenGL state for this window. 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...
 
- Protected Member Functions inherited from eq::fabric::Window< Pipe, Window, Channel >
 Window (P *parent)
 
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 notifyDetach ()
 
virtual EQFABRIC_INL void setDirty (const uint64_t bits)
 
void _setDrawableConfig (const DrawableConfig &drawableConfig)
 
virtual ChangeType getChangeType () const
 
C * _findChannel (const UUID &id)
 
virtual uint64_t getRedistributableBits () 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)
 
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)
 

Detailed Description

Definition at line 53 of file eqAsync.h.

Member Function Documentation

bool eqAsync::Window::configInitGL ( const eq::uint128_t &  initID)
virtual

Initialize the OpenGL state for this window.

Parameters
initIDthe init identifier.
Returns
true if the initialization was successful, false if not.
Version
1.0

Reimplemented from eq::Window.

Definition at line 36 of file eqAsync.cpp.

References eq::Window::configInitGL(), and eq::fabric::Window< Pipe, Window, Channel >::getPipe().

+ Here is the call graph for this function:


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