|
| GLXGLSupport () |
|
| ~GLXGLSupport () |
|
void | addConfig (void) |
| GL3PlusSupport::addConfig
|
|
virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available.
|
|
GLXFBConfig * | chooseFBConfig (const GLint *attribList, GLint *nElements) |
| Portable replacement for glXChooseFBConfig.
|
|
::GLXContext | createNewContext (GLXFBConfig fbConfig, GLint renderType, ::GLXContext shareList, GLboolean direct) const |
| Portable replacement for glXCreateNewContext.
|
|
RenderWindow * | createWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle) |
|
virtual ConfigOptionMap & | getConfigOptions (void) |
|
virtual unsigned int | getDisplayMonitorCount () const |
| Gets the number of display monitors.
|
|
String | getDisplayName (void) |
| Get the name of the display and screen used for rendering.
|
|
GLint | getFBConfigAttrib (GLXFBConfig fbConfig, GLint attribute, GLint *value) |
| Portable replacement for glXGetFBConfigAttrib.
|
|
GLXFBConfig | getFBConfigFromContext (::GLXContext context) |
| Get the GLXFBConfig used to create a ::GLXContext.
|
|
GLXFBConfig | getFBConfigFromDrawable (GLXDrawable drawable, unsigned int *width, unsigned int *height) |
| Get the GLXFBConfig used to create a GLXDrawable.
|
|
GLXFBConfig | getFBConfigFromVisualID (VisualID visualid) |
| Gets a GLXFBConfig compatible with a VisualID.
|
|
Display * | getGLDisplay (void) |
| Get the Display connection used for rendering.
|
|
const String & | getGLVendor (void) const |
| Get vendor information.
|
|
const DriverVersion & | getGLVersion (void) const |
| Get version information.
|
|
void * | getProcAddress (const char *procname) const |
| GL3PlusSupport::getProcAddress
|
|
const String & | getShaderCachePath (void) const |
| Get shader cache path.
|
|
const String & | getShaderLibraryPath (void) const |
| Get shader library path.
|
|
XVisualInfo * | getVisualFromFBConfig (GLXFBConfig fbConfig) |
| Portable replacement for glXGetVisualFromFBConfig.
|
|
Display * | getXDisplay (void) |
| Get the Display connection used for window management & events.
|
|
bool | hasMinGLVersion (int major, int minor) const |
| Check if GL Version is supported.
|
|
void | initialiseExtensions () |
| GL3PlusSupport::initialiseExtensions
|
|
bool | loadIcon (const String &name, Pixmap *pix, Pixmap *mask) |
| Loads an icon from an Ogre resource into the X Server.
|
|
RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
|
GLXFBConfig | selectFBConfig (const int *minAttribs, const int *maxAttribs) |
| Select an FBConfig given a list of required and a list of desired properties.
|
|
void | setConfigOption (const String &name, const String &value) |
| GL3PlusSupport::setConfigOption
|
|
void | setShaderCachePath (String path) |
| Set shader cache path.
|
|
void | setShaderLibraryPath (String path) |
| Set shader library path.
|
|
void | start () |
| GL3PlusSupport::start
|
|
void | stop () |
| GL3PlusSupport::stop
|
|
void | switchMode (uint &width, uint &height, short &frequency) |
| Switch video modes.
|
|
void | switchMode (void) |
| Switch back to original video mode.
|
|
String | validateConfig (void) |
| GL3PlusSupport::validateConfig
|
|
String Ogre::GLXGLSupport::getDisplayName |
( |
void |
| ) |
|
Get the name of the display and screen used for rendering.
Ogre normally opens its own connection to the X server and renders onto the screen where the user logged in
However, if Ogre is passed a current GL context when the first RenderTarget is created, then it will connect to the X server using the same connection as that GL context and direct all subsequent rendering to the screen targeted by that GL context.
- Returns
- Display name.