1 #ifndef OGRE_GLXGLSupport_H
2 #define OGRE_GLXGLSupport_H
25 String validateConfig(
void);
28 void setConfigOption(
const String &name,
const String &value);
47 void initialiseExtensions();
50 void* getProcAddress(
const String& procname);
67 String getDisplayName (
void);
76 Display* getGLDisplay(
void);
83 Display* getXDisplay(
void);
92 void switchMode (
uint& width,
uint& height,
short& frequency);
97 void switchMode (
void);
109 bool loadIcon(
const String &name, Pixmap *pix, Pixmap *mask);
117 GLXFBConfig getFBConfigFromContext (::
GLXContext context);
128 GLXFBConfig getFBConfigFromDrawable (GLXDrawable drawable,
unsigned int *width,
unsigned int *height);
137 GLXFBConfig selectFBConfig(
const int *minAttribs,
const int *maxAttribs);
149 GLXFBConfig getFBConfigFromVisualID(VisualID visualid);
154 GLXFBConfig* chooseFBConfig(
const GLint *attribList, GLint *nElements);
159 ::GLXContext createNewContext(GLXFBConfig fbConfig, GLint renderType, ::
GLXContext shareList, GLboolean direct)
const;
164 GLint getFBConfigAttrib(GLXFBConfig fbConfig, GLint attribute, GLint *value);
169 XVisualInfo* getVisualFromFBConfig(GLXFBConfig fbConfig);
175 void initialiseGLXEW(
void);
180 void refreshConfig(
void);
198 #if OGRE_THREAD_SUPPORT == 1
199 GLXEWContext* glxewGetContext();
203 #endif // OGRE_GLXGLSupport_H
std::pair< ScreenSize, Rate > VideoMode
Manages the target rendering window.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
std::pair< uint, uint > ScreenSize
StringVector mSampleLevels
PixelComponentType
Pixel component format.
std::vector< VideoMode > VideoModes
vector< String >::type StringVector
An off-screen rendering context.
Implementation of GL as a rendering system.