19 #ifndef EQ_SYSTEM_WINDOW_H
20 #define EQ_SYSTEM_WINDOW_H
22 #include <eq/client/types.h>
76 EQ_API
virtual void makeCurrent(
const bool cache =
true )
const = 0;
85 EQ_API
virtual void flush() = 0;
88 EQ_API
virtual void finish() = 0;
101 const uint32_t barrier ) = 0;
177 EQ_API
void setError(
const int32_t error );
195 #endif // EQ_SYSTEM_WINDOW_H
A configuration is a visualization session driven by an application.
int32_t getIAttribute(const Window::IAttribute attr) const
Event structure to report window system and other events.
virtual void flush()=0
Flush all command buffers.
virtual void bindFrameBuffer() const =0
Bind the window's FBO, if it uses an FBO drawable.
virtual void joinNVSwapBarrier(const uint32_t group, const uint32_t barrier)=0
Join a NV_swap_group.
A C++ class to abstract OpenGL frame buffer objects.
bool configInitFBO()
Build and initialize the FBO.
virtual void makeCurrent(const bool cache=true) const =0
Make the system window rendering context and drawable current.
virtual void queryDrawableConfig(DrawableConfig &dc)=0
Set up the given drawable based on the current context.
virtual bool processEvent(const Event &event)
Process an event.
A Window represents an on-screen or off-screen drawable.
virtual const GLEWContext * glewGetContext() const
Get the GLEW context for this window.
Error
Defines errors produced by Equalizer classes.
SystemWindow(Window *parent)
Create a new SystemWindow for the given eq::Window.
A Node represents a single computer in the cluster.
const Window * getWindow() const
A Pipe represents a graphics card (GPU) on a Node.
void configExitFBO()
Destroy FBO.
virtual void swapBuffers()=0
Swap the front and back buffer.
eq::fabric::Error getError() const
IAttribute
Window attributes.
The interface definition for system-specific windowing code.
virtual const util::FrameBufferObject * getFrameBufferObject() const
virtual bool configInit()=0
Initialize this system window.
virtual void finish()=0
Finish execution of all commands.
virtual void configExit()=0
De-initialize this system window.
void setError(const int32_t error)
Set an error code why the last operation failed.
virtual ~SystemWindow()
Destroy the SystemWindow.