Equalizer
1.2.1
|
A system window for OpenGL rendering. More...
#include <glWindow.h>
Public Member Functions | |
GLWindow (Window *parent) | |
Construct a new OpenGL window. | |
virtual | ~GLWindow () |
Destruct a new OpenGL window. | |
virtual void | makeCurrent () const |
Bind the FBO and update the pipe's current cache. | |
virtual void | initGLEW () |
Initialize the GLEW context for this window. | |
virtual void | exitGLEW () |
De-initialize the GLEW context. | |
virtual const GLEWContext * | glewGetContext () const |
Get the GLEW context for this window. | |
virtual void | queryDrawableConfig (DrawableConfig &) |
Set up the drawable config by querying the current context. | |
Frame Buffer Object support. | |
virtual void | bindFrameBuffer () const |
Bind the window's FBO, if it uses an FBO drawable. | |
virtual bool | configInitFBO () |
Build and initialize the FBO. | |
virtual void | configExitFBO () |
Destroy the FBO. | |
virtual const util::FrameBufferObject * | getFrameBufferObject () const |
A system window for OpenGL rendering.
The GLWindow implements all generic OpenGL functionality for a SystemWindow. It is subclassed by OS-specific implementations which provide the the glue to the actual window system.
Definition at line 33 of file glWindow.h.
eq::GLWindow::GLWindow | ( | Window * | parent | ) |
Construct a new OpenGL window.
virtual eq::GLWindow::~GLWindow | ( | ) | [virtual] |
Destruct a new OpenGL window.
virtual void eq::GLWindow::bindFrameBuffer | ( | ) | const [virtual] |
virtual void eq::GLWindow::configExitFBO | ( | ) | [virtual] |
virtual bool eq::GLWindow::configInitFBO | ( | ) | [virtual] |
virtual void eq::GLWindow::exitGLEW | ( | ) | [inline, virtual] |
virtual const util::FrameBufferObject* eq::GLWindow::getFrameBufferObject | ( | ) | const [inline, virtual] |
Reimplemented from eq::SystemWindow.
Definition at line 57 of file glWindow.h.
virtual const GLEWContext* eq::GLWindow::glewGetContext | ( | ) | const [virtual] |
Get the GLEW context for this window.
The glew context is initialized during window initialization, and provides access to OpenGL extensions. This function does not follow the Equalizer naming conventions, since GLEW uses a function of this name to automatically resolve OpenGL function entry points. Therefore, any supported GL function can be called directly from an initialized GLWindow.
Reimplemented from eq::SystemWindow.
virtual void eq::GLWindow::initGLEW | ( | ) | [virtual] |
Initialize the GLEW context for this window.
virtual void eq::GLWindow::makeCurrent | ( | ) | const [virtual] |
Bind the FBO and update the pipe's current cache.
Implements eq::SystemWindow.
Reimplemented in eq::wgl::Window, eq::agl::Window, and eq::glx::Window.
virtual void eq::GLWindow::queryDrawableConfig | ( | DrawableConfig & | ) | [virtual] |
Set up the drawable config by querying the current context.
Implements eq::SystemWindow.