|
Equalizer
1.8.0
Parallel Rendering Framework
|
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 | |
| EQ_API | Window (Pipe *parent) |
| Construct a new window. More... | |
| virtual EQ_API | ~Window () |
| Destruct the window. More... | |
| EQ_API co::CommandQueue * | getPipeThreadQueue () |
| EQ_API co::CommandQueue * | getCommandThreadQueue () |
| EQ_API uint32_t | getCurrentFrame () const |
| EQ_API const Node * | getNode () const |
| EQ_API Node * | getNode () |
| EQ_API const Config * | getConfig () const |
| EQ_API Config * | getConfig () |
| EQ_API ClientPtr | getClient () |
| EQ_API ServerPtr | getServer () |
| bool | isRunning () const |
| bool | isStopped () const |
| EQ_API bool | getRenderContext (const int32_t x, const int32_t y, RenderContext &context) const |
| Get the last rendering context at the x, y position. More... | |
| EQ_API void | setSharedContextWindow (const Window *sharedContextWindow) |
| Set the window with which this window shares the OpenGL context. More... | |
| EQ_API const Window * | getSharedContextWindow () const |
| util::ObjectManager & | getObjectManager () |
| const util::ObjectManager & | getObjectManager () const |
| EQ_API const util::BitmapFont * | getSmallFont () |
| EQ_API const util::BitmapFont * | getMediumFont () |
| EQ_API const GLEWContext * | glewGetContext () const |
| Get the GLEW context for this window. More... | |
| EQ_API const GLEWContext * | getTransferGlewContext () |
| EQ_API uint32_t | getColorFormat () const |
| EQ_API void | setSystemWindow (SystemWindow *window) |
| Set the OS-specific window. More... | |
| const SystemWindow * | getSystemWindow () const |
| SystemWindow * | getSystemWindow () |
| const SystemPipe * | getSystemPipe () const |
| SystemPipe * | getSystemPipe () |
| bool | createTransferWindow () |
| void | deleteTransferSystemWindow () |
| EQ_API EventOCommand | sendError (const uint32_t error) final |
| Send a window error event to the application node. More... | |
| virtual EQ_API bool | processEvent (const Event &event) |
| Process a received event. More... | |
| virtual EQ_API void | flush () const |
| Flush outstanding rendering requests. More... | |
| virtual EQ_API void | finish () const |
| Finish outstanding rendering requests. More... | |
| virtual EQ_API void | swapBuffers () |
| Swap the front and back buffer of the window. More... | |
| virtual EQ_API void | drawFPS () |
| Render the current framerate as on overlay. More... | |
| float | getFPS () const |
| virtual EQ_API void | makeCurrent (const bool cache=true) const |
| Make the window's drawable and context current. More... | |
| void | makeCurrentTransfer (const bool cache=true) const |
| virtual EQ_API void | bindFrameBuffer () const |
| virtual EQ_API void | notifyViewportChanged () |
Public Member Functions inherited from eq::fabric::Window< Pipe, Window, Channel, WindowSettings > | |
| EQFABRIC_INL WindowPath | getPath () const |
| void | init () |
| const P * | getPipe () const |
| P * | getPipe () |
| const Channels & | getChannels () const |
| const DrawableConfig & | getDrawableConfig () const |
| EQFABRIC_INL const PixelViewport & | getPixelViewport () const |
| const Viewport & | getViewport () const |
| EQFABRIC_INL void | setName (const std::string &name) final |
| Set the window's name/caption. More... | |
| 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) |
| EQFABRIC_INL void | setSettings (const Settings &settings) |
| Set the settings of this window. More... | |
| EQFABRIC_INL const Settings & | getSettings () const |
| EQFABRIC_INL void | setIAttribute (const WindowSettings::IAttribute attr, const int32_t value) |
| Set a window attribute. More... | |
| EQFABRIC_INL int32_t | getIAttribute (const WindowSettings::IAttribute attr) const |
Public Member Functions inherited from eq::fabric::Object | |
| virtual EQFABRIC_API bool | isDirty () const |
| EQFABRIC_API const std::string & | getName () const |
| EQFABRIC_API void | setUserData (co::Object *userData) |
| Set user-specific data. More... | |
| EQFABRIC_API co::Object * | getUserData () |
| EQFABRIC_API const co::Object * | getUserData () const |
| EQFABRIC_API uint32_t | getTasks () const |
| Return the set of tasks this channel might execute in the worst case. More... | |
| EQFABRIC_API uint32_t | getSerial () const |
Additional Inherited Members | |
Public Types inherited from eq::fabric::Window< Pipe, Window, Channel, WindowSettings > | |
| typedef std::vector< C * > | Channels |
| A vector of pointers to channels. More... | |
| typedef ElementVisitor< W, LeafVisitor< C > > | Visitor |
| The Window visitor type. More... | |
Public Types inherited from eq::fabric::Object | |
| enum | DirtyBits { DIRTY_NAME = Serializable::DIRTY_CUSTOM << 0, DIRTY_USERDATA = Serializable::DIRTY_CUSTOM << 1, DIRTY_TASKS = Serializable::DIRTY_CUSTOM << 2, DIRTY_REMOVED = Serializable::DIRTY_CUSTOM << 3, DIRTY_SERIAL = Serializable::DIRTY_CUSTOM << 4, DIRTY_CUSTOM = Serializable::DIRTY_CUSTOM << 6, DIRTY_OBJECT_BITS = DIRTY_NAME | DIRTY_USERDATA } |
| The changed parts of the object since the last pack(). More... | |
Static Public Member Functions inherited from eq::fabric::Window< Pipe, Window, Channel, WindowSettings > | |
|
static EQFABRIC_INL const std::string & | getIAttributeString (const WindowSettings::IAttribute attr) |
Protected Types inherited from eq::fabric::Window< Pipe, Window, Channel, WindowSettings > | |
| enum | DirtyBits |
Protected Member Functions inherited from eq::Window | |
| virtual EQ_API void | attach (const uint128_t &id, const uint32_t instanceID) |
| virtual EQ_API bool | configInit (const uint128_t &initID) |
| Initialize this window. More... | |
| virtual EQ_API bool | configInitSystemWindow (const uint128_t &initID) |
| Initialize the OS-specific window. More... | |
| virtual EQ_API bool | configExit () |
| Exit this window. More... | |
| virtual EQ_API bool | configExitSystemWindow () |
| De-initialize the OS-specific window. More... | |
| virtual bool | configExitGL () |
| De-initialize the OpenGL state for this window. More... | |
| virtual EQ_API void | frameStart (const uint128_t &frameID, const uint32_t frameNumber) |
| Start rendering a frame. More... | |
| virtual EQ_API void | frameFinish (const uint128_t &frameID, const uint32_t frameNumber) |
| Finish rendering a frame. More... | |
| virtual EQ_API void | frameDrawFinish (const uint128_t &frameID, const uint32_t frameNumber) |
| Finish drawing. More... | |
| EQ_API void | startFrame (const uint32_t frameNumber) |
| Start a frame by unlocking all child resources. More... | |
| EQ_API void | releaseFrame (const uint32_t frameNumber) |
| Signal the completion of a frame to the parent. More... | |
| EQ_API void | releaseFrameLocal (const uint32_t frameNumber) |
| Signal the release of the local synchronization to the parent. More... | |
Protected Member Functions inherited from eq::fabric::Window< Pipe, Window, Channel, WindowSettings > | |
| 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 uint128_t &id) |
| virtual uint64_t | getRedistributableBits () const |
Protected Member Functions inherited from eq::fabric::Object | |
| EQFABRIC_API | Object () |
| Construct a new Object. More... | |
| EQFABRIC_API | Object (const Object &) |
| Construct an unmapped, unregistered copy of an object. More... | |
| virtual EQFABRIC_API | ~Object () |
| Destruct the object. More... | |
| EQFABRIC_API Object & | operator= (const Object &from) |
| NOP assignment operator. More... | |
| virtual bool | hasMasterUserData () |
| virtual uint32_t | getUserDataLatency () const |
| EQFABRIC_API void | setTasks (const uint32_t tasks) |
| EQFABRIC_API void | postRemove (Object *child) |
| virtual void | removeChild (const uint128_t &) |
| 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) |
| EQFABRIC_API bool | _cmdSync (co::ICommand &command) |
|
virtual |
Initialize the OpenGL state for this window.
| initID | the init identifier. |
true if the initialization was successful, false if not. Reimplemented from eq::Window.
Definition at line 36 of file eqAsync.cpp.
References eq::Window::configInitGL(), and eq::fabric::Window< Pipe, Window, Channel, WindowSettings >::getPipe().
Here is the call graph for this function: