#include <OgreGTKGLSupport.h>
Inheritance diagram for Ogre::GTKGLSupport:
Public Methods | |
GTKGLSupport () | |
void | addConfig () |
Add any special config values to the system. | |
void | setConfigOptions (const String &name, const String &value) |
String | validateConfig () |
Make sure all the extra options are valid. | |
RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem) |
RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, RenderWindow *parentWindowHandle, bool vsync) |
Create a specific instance of a render window. | |
void | start () |
Start anything special. | |
void | stop () |
Stop anything special. | |
void | begin_context () |
Set the correct context as active. | |
void | end_context () |
Stop the currrent context. | |
void | initialiseExtensions (void) |
Intialises GL extensions, must be done AFTER the GL context has been established. | |
bool | checkMinGLVersion (const String &v) const |
compare GL version numbers | |
bool | checkExtension (const String &ext) const |
Check if an extension is available. | |
void * | getProcAddress (const String &procname) |
Get the address of a function. | |
virtual void | setConfigOption (const String &name, const String &value) |
virtual ConfigOptionMap & | getConfigOptions (void) |
const String & | getGLVendor (void) const |
get vendor information | |
const String & | getGLVersion (void) const |
get version information | |
Protected Attributes | |
ConfigOptionMap | mOptions |
Private Attributes | |
Gtk::Main | _kit |
int | _context_ref |
OGREWidget * | _ogre_widget |
|
Definition at line 35 of file OgreGTKGLSupport.cpp. |
|
Add any special config values to the system. Must have a "Full Screen" value that is a bool and a "Video Mode" value that is a string in the form of wxh Implements Ogre::GLSupport. Definition at line 41 of file OgreGTKGLSupport.cpp. References Ogre::_ConfigOption::currentValue, Ogre::_ConfigOption::immutable, Ogre::GLSupport::mOptions, Ogre::_ConfigOption::name, and Ogre::_ConfigOption::possibleValues. |
|
Set the correct context as active.
Reimplemented from Ogre::GLSupport. Definition at line 128 of file OgreGTKGLSupport.cpp. References _context_ref, and _ogre_widget. |
|
Check if an extension is available.
Reimplemented from Ogre::GLSupport. Definition at line 163 of file OgreGTKGLSupport.cpp. |
|
compare GL version numbers
Reimplemented from Ogre::GLSupport. Definition at line 151 of file OgreGTKGLSupport.cpp. |
|
Implements Ogre::GLSupport. Definition at line 69 of file OgreGTKGLSupport.cpp. References Ogre::GLRenderSystem::createRenderWindow(), Except, and Ogre::GLSupport::mOptions. |
|
Stop the currrent context.
Reimplemented from Ogre::GLSupport. Definition at line 135 of file OgreGTKGLSupport.cpp. References _context_ref, _ogre_widget, and Except. |
|
Definition at line 41 of file OgreGLSupport.cpp. References Ogre::ConfigOptionMap, and Ogre::GLSupport::mOptions. Referenced by Ogre::GLRenderSystem::getConfigOptions(). |
|
get vendor information
Definition at line 70 of file OgreGLSupport.h. References Ogre::GLSupport::mVendor. Referenced by Ogre::GLRenderSystem::initGL(). |
|
get version information
Definition at line 78 of file OgreGLSupport.h. References Ogre::GLSupport::mVersion. |
|
Get the address of a function.
Implements Ogre::GLSupport. Definition at line 168 of file OgreGTKGLSupport.cpp. |
|
Intialises GL extensions, must be done AFTER the GL context has been established.
Reimplemented from Ogre::GLSupport. Definition at line 146 of file OgreGTKGLSupport.cpp. |
|
Create a specific instance of a render window.
Implements Ogre::GLSupport. Definition at line 100 of file OgreGTKGLSupport.cpp. References _ogre_widget. |
|
Reimplemented in Ogre::Win32GLSupport. Definition at line 33 of file OgreGLSupport.cpp. References Ogre::GLSupport::mOptions. Referenced by Ogre::GLRenderSystem::setConfigOption(). |
|
|
|
Start anything special.
Implements Ogre::GLSupport. Definition at line 112 of file OgreGTKGLSupport.cpp. |
|
Stop anything special.
Implements Ogre::GLSupport. Definition at line 120 of file OgreGTKGLSupport.cpp. |
|
Make sure all the extra options are valid.
Implements Ogre::GLSupport. Definition at line 64 of file OgreGTKGLSupport.cpp. |
|
Definition at line 61 of file OgreGTKGLSupport.h. Referenced by begin_context(), and end_context(). |
|
Definition at line 60 of file OgreGTKGLSupport.h. |
|
Definition at line 62 of file OgreGTKGLSupport.h. Referenced by begin_context(), end_context(), and newWindow(). |
|
Definition at line 103 of file OgreGLSupport.h. Referenced by Ogre::Win32GLSupport::addConfig(), Ogre::SDLGLSupport::addConfig(), addConfig(), Ogre::Win32GLSupport::createWindow(), Ogre::SDLGLSupport::createWindow(), createWindow(), Ogre::GLSupport::getConfigOptions(), Ogre::Win32GLSupport::newWindow(), Ogre::Win32GLSupport::refreshConfig(), Ogre::Win32GLSupport::setConfigOption(), and Ogre::GLSupport::setConfigOption(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:12:44 2004