Equalizer
1.6.1
|
Public Member Functions | |
Window (eq::Pipe *parent) | |
GLuint | getDisplayList (const void *key) |
GLuint | newDisplayList (const void *key) |
const eq::util::Texture * | getLogoTexture () const |
Public Member Functions inherited from eq::Window | |
Window (Pipe *parent) | |
Construct a new window. More... | |
co::CommandQueue * | getPipeThreadQueue () |
co::CommandQueue * | getCommandThreadQueue () |
uint32_t | getCurrentFrame () const |
const Node * | getNode () const |
Node * | getNode () |
const Config * | getConfig () const |
Config * | getConfig () |
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 Window * | getSharedContextWindow () const |
Window * | getSharedContextWindow () |
ObjectManager * | getObjectManager () |
const ObjectManager * | getObjectManager () const |
const Font * | getSmallFont () |
const Font * | getMediumFont () |
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 SystemWindow * | getSystemWindow () const |
SystemWindow * | getSystemWindow () |
const SystemPipe * | getSystemPipe () const |
SystemPipe * | getSystemPipe () |
bool | createTransferWindow () |
void | deleteTransferSystemWindow () |
virtual void | flush () const |
Flush outstanding rendering requests. More... | |
virtual void | finish () const |
Finish outstanding rendering requests. 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 Channels & | getChannels () const |
const DrawableConfig & | getDrawableConfig () const |
const PixelViewport & | getPixelViewport () const |
const Viewport & | getViewport () 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 |
Protected Member Functions | |
virtual | ~Window () |
Destruct the window. More... | |
virtual bool | configInit (const eq::uint128_t &initID) |
Initialize this window. More... | |
virtual bool | configInitGL (const eq::uint128_t &initID) |
Initialize the OpenGL state for this window. More... | |
virtual void | swapBuffers () |
Swap the front and back buffer of the window. More... | |
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 | 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) |
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 |
Definition at line 36 of file share/Equalizer/examples/eVolve/window.h.
|
inlineprotectedvirtual |
Destruct the window.
Reimplemented from eq::Window.
Definition at line 50 of file share/Equalizer/examples/eVolve/window.h.
|
protectedvirtual |
Initialize this window.
initID | the init identifier. |
Reimplemented from eq::Window.
Definition at line 37 of file eVolve/window.cpp.
References eq::Window::configInit(), eq::fabric::Window< Pipe, Window, Channel >::IATTR_PLANES_ALPHA, and eq::fabric::Window< Pipe, Window, Channel >::setIAttribute().
|
protectedvirtual |
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 45 of file eVolve/window.cpp.
References eq::fabric::Window< Pipe, Window, Channel >::getPipe(), eq::Window::glewGetContext(), eq::fabric::Object::setError(), and swapBuffers().
|
protectedvirtual |
Swap the front and back buffer of the window.
Reimplemented from eq::Window.
Definition at line 135 of file eVolve/window.cpp.
References eq::fabric::Window< Pipe, Window, Channel >::getChannels(), eq::fabric::Window< Pipe, Window, Channel >::getPipe(), and eq::Window::swapBuffers().
Referenced by configInitGL().