19 #ifndef EQ_GL_WINDOW_H
20 #define EQ_GL_WINDOW_H
22 #include <eq/client/systemWindow.h>
43 EQ_API
virtual void makeCurrent(
const bool cache =
true )
const;
57 EQ_API
virtual void flush();
60 EQ_API
virtual void finish();
70 const {
return _fbo; }
77 virtual void exitGLEW() { _glewInitialized =
false; }
102 bool _glewInitialized ;
105 GLEWContext*
const _glewContext;
118 #endif // EQ_GL_WINDOW_H
virtual void finish()
Finish execution of all commands.
virtual void queryDrawableConfig(DrawableConfig &)
Set up the drawable config by querying the current context.
virtual void configExitFBO()
Destroy the FBO.
A C++ class to abstract OpenGL frame buffer objects.
virtual const util::FrameBufferObject * getFrameBufferObject() const
A Window represents an on-screen or off-screen drawable.
A system window for OpenGL rendering.
virtual void makeCurrent(const bool cache=true) const
Bind the FBO and update the current cache.
GLWindow(Window *parent)
Construct a new OpenGL window.
virtual ~GLWindow()
Destruct a new OpenGL window.
virtual void initGLEW()
Initialize the GLEW context for this window.
virtual void bindFrameBuffer() const
Bind the window's FBO, if it uses an FBO drawable.
virtual void exitGLEW()
De-initialize the GLEW context.
The interface definition for system-specific windowing code.
virtual void flush()
Flush all command buffers.
virtual bool configInitFBO()
Build and initialize the FBO.
virtual const GLEWContext * glewGetContext() const
Get the GLEW context for this window.