18 #ifndef EQFABRIC_WINDOW_SETTINGS_H
19 #define EQFABRIC_WINDOW_SETTINGS_H
21 #include <eq/fabric/api.h>
22 #include <eq/fabric/pixelViewport.h>
29 namespace detail {
class WindowSettings; }
45 EQFABRIC_API WindowSettings& operator=(
const WindowSettings& rhs );
81 IATTR_ALL = IATTR_LAST
91 const int32_t value );
111 EQFABRIC_API
const std::string&
getName()
const;
114 EQFABRIC_API
void setName(
const std::string& name );
117 EQFABRIC_API
void serialize( co::DataOStream& os )
const;
120 EQFABRIC_API
void deserialize( co::DataIStream& is );
123 detail::WindowSettings*
const _impl;
129 #endif // EQFABRIC_WINDOW_SETTINGS_H
Minor version for GL context creation.
IAttribute
Possible values for integer attributes.
Screensaver (de)activation (WGL)
IAttribute
Window attributes.
Core profile context if possible.
A set of settings to setup an eq::fabric::Window.
No of alpha accum buffer planes.
EQFABRIC_API bool setIAttribute(const IAttribute attr, const int32_t value)
Set a window attribute.
EQFABRIC_API const std::string & getName() const
Swap sync on vertical retrace.
No of per-component color planes.
No of accumulation buffer planes.
No of multisample (AA) planes.
Default vertical resolution.
Default horizontal resolution.
Statistics gathering hint.
Window, pbuffer, FBO or OFF.
EQFABRIC_API void setName(const std::string &name)
Set the window's name.
EQFABRIC_API int32_t getIAttribute(const IAttribute attr) const
EQFABRIC_API WindowSettings()
Create a new WindowSettings.
EQFABRIC_API const PixelViewport & getPixelViewport() const
Major version for GL context creation.
Capture mouse outside window.
Holds a 2D pixel viewport with methods for manipulation.
virtual EQFABRIC_API ~WindowSettings()
Destroy the WindowSettings.
EQFABRIC_API void setPixelViewport(const PixelViewport &pvp)
Set the window's pixel viewport wrt its parent pipe.