20 #ifndef EQ_GL_WINDOW_H 21 #define EQ_GL_WINDOW_H 23 #include <eq/systemWindow.h> 46 EQ_API
virtual ~GLWindow();
49 EQ_API
void resize(
const PixelViewport& pvp)
override;
52 EQ_API
void makeCurrent(
const bool cache =
true)
const override;
55 EQ_API
void doneCurrent()
const override;
61 EQ_API
bool isCurrent()
const;
66 EQ_API
void bindFrameBuffer()
const override;
69 EQ_API
void bindDrawFrameBuffer()
const override;
72 EQ_API
void updateFrameBuffer()
const override;
75 EQ_API
void flush()
override;
78 EQ_API
void finish()
override;
81 EQ_API
virtual bool configInitFBO();
84 EQ_API
virtual void configExitFBO();
94 EQ_API
virtual void initGLEW();
97 EQ_API
virtual void exitGLEW();
112 EQ_API
const GLEWContext* glewGetContext()
const override;
118 EQ_API
void queryDrawableConfig(DrawableConfig&)
override;
121 GLWindow(
const GLWindow&) =
delete;
122 GLWindow& operator=(
const GLWindow&) =
delete;
126 detail::GLWindow*
const _impl;
128 GLEWContext* glewGetContext();
136 virtual void _resize(
const PixelViewport& pvp) = 0;
140 #endif // EQ_GL_WINDOW_H A C++ class to abstract OpenGL frame buffer objects.
A set of settings to setup an eq::SystemWindow.
A system window for OpenGL rendering.
A base class for notifying errors and events.
The Equalizer client library.
The interface definition for system-specific windowing code.