#include <OgreSDLGLSupport.h>
Inheritance diagram for Ogre::SDLGLSupport:
Public Methods | |
SDLGLSupport () | |
~SDLGLSupport () | |
void | addConfig (void) |
Add any special config values to the system. | |
String | validateConfig (void) |
Make sure all the extra options are valid. | |
virtual RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem) |
virtual 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 new specific render window. | |
void | start () |
Start anything special. | |
void | stop () |
Stop anything special. | |
void * | getProcAddress (const String &procname) |
Get the address of a function. | |
virtual void | setConfigOption (const String &name, const String &value) |
virtual ConfigOptionMap & | getConfigOptions (void) |
virtual void | begin_context () |
Set the correct context as active. | |
virtual void | end_context () |
Stop the currrent context. | |
const String & | getGLVendor (void) const |
get vendor information | |
const String & | getGLVersion (void) const |
get version information | |
bool | checkMinGLVersion (const String &v) const |
compare GL version numbers | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. | |
virtual void | initialiseExtensions (void) |
Intialises GL extensions, must be done AFTER the GL context has been established. | |
Protected Attributes | |
ConfigOptionMap | mOptions |
Private Attributes | |
SDL_Rect ** | mVideoModes |
|
Definition at line 11 of file OgreSDLGLSupport.cpp. |
|
Definition at line 17 of file OgreSDLGLSupport.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 21 of file OgreSDLGLSupport.cpp. References Ogre::_ConfigOption::currentValue, Except, Ogre::_ConfigOption::immutable, Ogre::GLSupport::mOptions, mVideoModes, Ogre::_ConfigOption::name, and Ogre::_ConfigOption::possibleValues. |
|
Set the correct context as active.
Reimplemented in Ogre::GTKGLSupport. Definition at line 58 of file OgreGLSupport.h. Referenced by Ogre::GLTexture::blitToTexture(), Ogre::GLTexture::createRenderTexture(), Ogre::GLTexture::generateMipMaps(), Ogre::GLTexture::loadImages(), and Ogre::GLTexture::rescaleNPower2(). |
|
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport. Definition at line 120 of file OgreGLSupport.cpp. References Ogre::GLSupport::extensionList. Referenced by Ogre::GLRenderSystem::initGL(). |
|
compare GL version numbers
Reimplemented in Ogre::GTKGLSupport. Definition at line 83 of file OgreGLSupport.cpp. References Ogre::GLSupport::mVersion. Referenced by Ogre::GLRenderSystem::initGL(). |
|
Implements Ogre::GLSupport. Definition at line 65 of file OgreSDLGLSupport.cpp. References Ogre::GLRenderSystem::createRenderWindow(), Except, and Ogre::GLSupport::mOptions. |
|
Stop the currrent context.
Reimplemented in Ogre::GTKGLSupport. Definition at line 64 of file OgreGLSupport.h. Referenced by Ogre::GLTexture::blitToTexture(), Ogre::GLTexture::createRenderTexture(), Ogre::GLTexture::generateMipMaps(), Ogre::GLTexture::loadImages(), and Ogre::GLTexture::rescaleNPower2(). |
|
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 124 of file OgreSDLGLSupport.cpp. |
|
Intialises GL extensions, must be done AFTER the GL context has been established.
Reimplemented in Ogre::GTKGLSupport. Definition at line 46 of file OgreGLSupport.cpp. References Ogre::GLSupport::extensionList, Ogre::GLSupport::mVendor, and Ogre::GLSupport::mVersion. Referenced by Ogre::GLRenderSystem::initGL(). |
|
Create a new specific render window.
Implements Ogre::GLSupport. Definition at line 94 of file OgreSDLGLSupport.cpp. References Ogre::SDLWindow::create(). |
|
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 104 of file OgreSDLGLSupport.cpp. |
|
Stop anything special.
Implements Ogre::GLSupport. Definition at line 114 of file OgreSDLGLSupport.cpp. |
|
Make sure all the extra options are valid.
Implements Ogre::GLSupport. Definition at line 60 of file OgreSDLGLSupport.cpp. |
|
Definition at line 103 of file OgreGLSupport.h. Referenced by Ogre::Win32GLSupport::addConfig(), addConfig(), Ogre::GTKGLSupport::addConfig(), Ogre::Win32GLSupport::createWindow(), createWindow(), Ogre::GTKGLSupport::createWindow(), Ogre::GLSupport::getConfigOptions(), Ogre::Win32GLSupport::newWindow(), Ogre::Win32GLSupport::refreshConfig(), Ogre::Win32GLSupport::setConfigOption(), and Ogre::GLSupport::setConfigOption(). |
|
Definition at line 53 of file OgreSDLGLSupport.h. Referenced by addConfig(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:13:41 2004