|
| Window (NotifierInterface &parent, const WindowSettings &settings, Display *xDisplay, const GLXEWContext *glxewContext, MessagePump *messagePump) |
| Construct a new glX/X11 system window. More...
|
|
virtual | ~Window () |
| Destruct this glX window. More...
|
|
|
bool | configInit () override |
| Initialize this window for the glX window system. More...
|
|
void | configExit () override |
|
virtual GLXFBConfig * | chooseGLXFBConfig () |
| Choose a GLX framebuffer config based on the window's attributes. More...
|
|
virtual GLXContext | createGLXContext (GLXFBConfig *fbConfig) |
| Create a glX context. More...
|
|
virtual bool | configInitGLXDrawable (GLXFBConfig *fbConfig) |
| Initialize the window's drawable (fullscreen, pbuffer or window) and bind the glX context. More...
|
|
virtual bool | configInitGLXWindow (GLXFBConfig *fbConfig) |
| Initialize the window with a window and bind the glX context. More...
|
|
virtual bool | configInitGLXPBuffer (GLXFBConfig *fbConfig) |
| Initialize the window with a PBuffer and bind the glX context. More...
|
|
virtual EQ_API void | initEventHandler () |
| Register with the pipe's GLXEventHandler, called by setXDrawable(). More...
|
|
virtual EQ_API void | exitEventHandler () |
| Deregister with the GLXEventHandler, called by setXDrawable(). More...
|
|
|
EQ_API GLXContext | getGLXContext () const override |
|
EQ_API XID | getXDrawable () const override |
|
EQ_API Display * | getXDisplay () override |
|
EQ_API const GLXEWContext * | glxewGetContext () const |
|
virtual void | setXDrawable (XID drawable) |
| Set the X11 drawable ID for this window. More...
|
|
virtual void | setGLXContext (GLXContext context) |
| Set the glX rendering context for this window. More...
|
|
|
void | makeCurrent (const bool cache=true) const override |
|
void | doneCurrent () const override |
|
void | swapBuffers () override |
|
void | joinNVSwapBarrier (const uint32_t group, const uint32_t barrier) override |
| Implementation untested for glX. More...
|
|
void | leaveNVSwapBarrier () |
| Unbind a GLX_NV_swap_barrier. More...
|
|
EQ_API bool | processEvent (EventType type, const XEvent &xEvent, PointerEvent &event) override |
| Process a mouse event. More...
|
|
| WindowIF (NotifierInterface &parent, const WindowSettings &settings) |
|
virtual bool | processEvent (EventType type, const XEvent &, SizeEvent &event) |
| Process a (re)size event. More...
|
|
virtual bool | processEvent (EventType type, const XEvent &, KeyEvent &event) |
| Process a keyboard event. More...
|
|
virtual bool | processEvent (EventType type, const XEvent &, AxisEvent &event) |
| Process an axis event. More...
|
|
virtual bool | processEvent (EventType type, const XEvent &, ButtonEvent &event) |
| Process a button event. More...
|
|
virtual bool | processEvent (EventType, const XEvent &) |
| Process a stateless event. More...
|
|
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 | bindDrawFrameBuffer () const override |
| Bind the window's draw FBO, used for multisampling. More...
|
|
EQ_API void | updateFrameBuffer () const override |
| Update the window's FBO from the multisampled FBO. 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 |
|
EQ_API util::FrameBufferObject * | getFrameBufferObject () override |
|
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...
|
|
EQ_API bool | processEvent (EventType type) |
| Process a stateless event. More...
|
|
EQ_API bool | processEvent (EventType type, SizeEvent &event) |
| Process a (re)size event. More...
|
|
EQ_API bool | processEvent (EventType type, PointerEvent &event) |
| Process a mouse event. More...
|
|
EQ_API bool | processEvent (EventType type, KeyEvent &event) |
| Process a keyboard event. More...
|
|
EQ_API bool | processEvent (EventType type, AxisEvent &event) |
| Process an axis event. More...
|
|
EQ_API bool | processEvent (EventType type, ButtonEvent &event) |
| Process a button 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 glX window.
Definition at line 79 of file glx/window.h.