28 #ifndef OGRE_GLXGLSupport_H 29 #define OGRE_GLXGLSupport_H 41 Atom mAtomDeleteWindow;
49 String validateConfig(
void);
52 void setConfigOption(
const String &name,
const String &value);
55 RenderWindow* createWindow(
bool autoCreateWindow, GL3PlusRenderSystem* renderSystem,
const String& windowTitle);
58 RenderWindow* newWindow(
const String &name,
unsigned int width,
unsigned int height,
68 void initialiseExtensions();
71 void* getProcAddress(
const String& procname);
88 String getDisplayName (
void);
97 Display* getGLDisplay(
void);
104 Display* getXDisplay(
void);
113 void switchMode (
uint& width,
uint& height,
short& frequency);
118 void switchMode (
void);
131 bool loadIcon(
const String &name, Pixmap *pix, Pixmap *mask);
139 GLXFBConfig getFBConfigFromContext (::GLXContext context);
150 GLXFBConfig getFBConfigFromDrawable (GLXDrawable drawable,
unsigned int *width,
unsigned int *height);
159 GLXFBConfig selectFBConfig(
const int *minAttribs,
const int *maxAttribs);
171 GLXFBConfig getFBConfigFromVisualID(VisualID visualid);
176 GLXFBConfig* chooseFBConfig(
const GLint *attribList, GLint *nElements);
181 ::GLXContext createNewContext(GLXFBConfig fbConfig, GLint renderType, ::GLXContext shareList, GLboolean direct)
const;
186 GLint getFBConfigAttrib(GLXFBConfig fbConfig, GLint attribute, GLint *value);
191 XVisualInfo* getVisualFromFBConfig(GLXFBConfig fbConfig);
198 void refreshConfig(
void);
202 bool mIsExternalDisplay;
209 VideoModes mVideoModes;
210 VideoMode mOriginalMode;
211 VideoMode mCurrentMode;
217 #endif // OGRE_GLXGLSupport_H
vector< String >::type StringVector
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
std::pair< uint, uint > ScreenSize
std::vector< VideoMode > VideoModes
std::pair< ScreenSize, Rate > VideoMode