Equalizer
1.8.0
Parallel Rendering Framework
|
Equalizer default implementation of a Qt window. More...
#include <window.h>
Public Types | |
typedef boost::function< void(QGLWidget *) > | DeleteGLWidgetFunc |
Function invoked to delete the QGLWidget from the destructor. More... | |
Public Member Functions | |
Window (NotifierInterface &parent, const WindowSettings &settings, QGLWidget *glWidget, DeleteGLWidgetFunc deleteGLWidget=0) | |
Construct a new Qt system window. More... | |
~Window () final | |
Destruct this Qt window. More... | |
Qt initialization | |
bool | configInit () override |
Initialize this window for the Qt window system. More... | |
void | configExit () override |
virtual EQ_API void | initEventHandler () |
virtual EQ_API void | exitEventHandler () |
Operations. | |
void | makeCurrent (const bool cache=true) const override |
void | swapBuffers () override |
void | joinNVSwapBarrier (const uint32_t group, const uint32_t barrier) override |
Implementation untested for Qt. More... | |
void | leaveNVSwapBarrier () |
Implementation untested for Qt. More... | |
QGLWidget * | getQGLWidget () const |
GLWidget * | getGLWidget () const |
EQ_API bool | processEvent (const WindowEvent &event) override |
Public Member Functions inherited from eq::qt::WindowIF | |
WindowIF (NotifierInterface &parent, const WindowSettings &settings) | |
Public Member Functions inherited from eq::GLWindow | |
EQ_API | GLWindow (NotifierInterface &parent, const WindowSettings &settings) |
Construct a new OpenGL window. More... | |
virtual EQ_API | ~GLWindow () |
Destruct a new OpenGL window. More... | |
EQ_API bool | isCurrent () const |
virtual EQ_API void | initGLEW () |
Initialize the GLEW context for this window. More... | |
virtual EQ_API void | exitGLEW () |
De-initialize the GLEW context. More... | |
EQ_API const GLEWContext * | glewGetContext () const override |
Get the GLEW context for this window. More... | |
EQ_API void | queryDrawableConfig (DrawableConfig &) override |
Set up the drawable config by querying the current context. More... | |
EQ_API void | bindFrameBuffer () const override |
Bind the window's FBO, if it uses an FBO drawable. More... | |
EQ_API void | flush () override |
Flush all command buffers. More... | |
EQ_API void | finish () override |
Finish execution of all commands. More... | |
virtual EQ_API bool | configInitFBO () |
Build and initialize the FBO. More... | |
virtual EQ_API void | configExitFBO () |
Destroy the FBO. More... | |
EQ_API const util::FrameBufferObject * | getFrameBufferObject () const override |
Public Member Functions inherited from eq::SystemWindow | |
EQ_API | SystemWindow (NotifierInterface &parent, const WindowSettings &settings) |
Create a new SystemWindow for the given eq::Window. More... | |
virtual EQ_API | ~SystemWindow () |
Destroy the SystemWindow. More... | |
EQ_API EventOCommand | sendError (const uint32_t error) |
Send a window error event to the application node. More... | |
virtual EQ_API bool | processEvent (const Event &event) |
Process an event. More... | |
EQ_API void | setPixelViewport (const PixelViewport &pvp) |
Set the window's pixel viewport wrt its parent pipe. More... | |
EQ_API const PixelViewport & | getPixelViewport () const |
EQ_API uint32_t | getColorFormat () const |
EQ_API void | setName (const std::string &name) |
Set the window's name. More... | |
EQ_API const std::string & | getName () const |
EQ_API int32_t | getIAttribute (const WindowSettings::IAttribute attr) const |
EQ_API const SystemWindow * | getSharedContextWindow () const |
Equalizer default implementation of a Qt window.
Definition at line 48 of file include/eq/client/qt/window.h.
typedef boost::function< void( QGLWidget* ) > eq::qt::Window::DeleteGLWidgetFunc |
Function invoked to delete the QGLWidget from the destructor.
Definition at line 55 of file include/eq/client/qt/window.h.
eq::qt::Window::Window | ( | NotifierInterface & | parent, |
const WindowSettings & | settings, | ||
QGLWidget * | glWidget, | ||
DeleteGLWidgetFunc | deleteGLWidget = 0 |
||
) |
Construct a new Qt system window.
If no DeleteGLWidgetFunc is given, the QGLWidget is destroyed using delete.
|
final |
Destruct this Qt window.
|
overridevirtual |
Implements eq::SystemWindow.
|
overridevirtual |
Initialize this window for the Qt window system.
Implements eq::SystemWindow.
|
virtual |
|
virtual |
|
overridevirtual |
void eq::qt::Window::leaveNVSwapBarrier | ( | ) |
Implementation untested for Qt.
|
overridevirtual |
Reimplemented from eq::GLWindow.
|
overridevirtual |
Implements eq::qt::WindowIF.
|
overridevirtual |
Implements eq::SystemWindow.