A window represent an OpenGL drawable and context. More...
#include <window.h>


Public Member Functions | |
| Window (eq::Pipe *parent) | |
| Construct a new window. | |
| void | getLogoTexture (GLuint &id, eq::Vector2i &size) const |
| VertexBufferState & | getState () |
Protected Member Functions | |
| virtual | ~Window () |
| Destruct the window. | |
| virtual bool | configInitOSWindow (const uint32_t initID) |
| Initialize the OS-specific window. | |
| virtual bool | configInitGL (const uint32_t initID) |
| Initialize the OpenGL state for this window. | |
| virtual bool | configExitGL () |
| De-initialize the OpenGL state for this window. | |
| virtual void | frameStart (const uint32_t frameID, const uint32_t frameNumber) |
| Start rendering a frame. | |
A window represent an OpenGL drawable and context.
Manages OpenGL-specific data, i.e., it creates the logo texture during initialization and holds a state object for GL object creation. It initializes the OpenGL state and draws the statistics overlay.
Definition at line 35 of file examples/eqPly/window.h.
| eqPly::Window::Window | ( | eq::Pipe * | parent | ) | [inline] |
Construct a new window.
Reimplemented from eq::Window.
Definition at line 38 of file examples/eqPly/window.h.
| virtual eqPly::Window::~Window | ( | ) | [inline, protected, virtual] |
Destruct the window.
Reimplemented from eq::Window.
Definition at line 47 of file examples/eqPly/window.h.
| bool eqPly::Window::configInitOSWindow | ( | const uint32_t | initID | ) | [protected, virtual] |
Initialize the OS-specific window.
Reimplemented from eq::Window.
Definition at line 34 of file examples/eqPly/window.cpp.
References eq::AUTO, eq::Window::configExitOSWindow(), eq::Window::configInitOSWindow(), eq::Window::getDrawableConfig(), eq::Window::IATTR_PLANES_ACCUM, and eq::Window::setIAttribute().

| bool eqPly::Window::configInitGL | ( | const uint32_t | initID | ) | [protected, 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 65 of file examples/eqPly/window.cpp.
References eq::Window::configInitGL(), eq::Window::getConfig(), and eq::Window::getObjectManager().

| bool eqPly::Window::configExitGL | ( | ) | [protected, virtual] |
De-initialize the OpenGL state for this window.
Reimplemented from eq::Window.
Definition at line 89 of file examples/eqPly/window.cpp.
| void eqPly::Window::frameStart | ( | const uint32_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 window-specific data. This method has to call startFrame().
| frameID | the per-frame identifier. | |
| frameNumber | the frame to start. |
Reimplemented from eq::Window.
Definition at line 205 of file examples/eqPly/window.cpp.
References eq::Window::getPipe().

0.9.1 by
1.6.1