#include <OgreWin32GLSupport.h>
Inheritance diagram for Ogre::Win32GLSupport:


Public Methods | |
| void | addConfig () |
| Add any special config values to the system. | |
| void | setConfigOption (const String &name, const String &value) |
| String | validateConfig () |
| 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 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 Methods | |
| void | refreshConfig () |
Private Attributes | |
| vector< DEVMODE > | mDevModes |
|
|
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 wxhxb Implements Ogre::GLSupport. Definition at line 21 of file OgreWin32GLSupport.cpp. References Ogre::_ConfigOption::currentValue, Ogre::_ConfigOption::immutable, mDevModes, Ogre::GLSupport::mOptions, Ogre::_ConfigOption::name, Ogre::_ConfigOption::possibleValues, refreshConfig(), and Ogre::remove_duplicates(). |
|
|
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 156 of file OgreWin32GLSupport.cpp. References Ogre::GLRenderSystem::createRenderWindow(), Except, Ogre::GLSupport::mOptions, and Ogre::RenderSystem::setWaitForVerticalBlank(). |
|
|
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 221 of file OgreWin32GLSupport.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 196 of file OgreWin32GLSupport.cpp. References Ogre::Win32Window::create(), Except, and Ogre::GLSupport::mOptions. |
|
|
Definition at line 85 of file OgreWin32GLSupport.cpp. References Ogre::_ConfigOption::currentValue, Except, mDevModes, Ogre::GLSupport::mOptions, Ogre::_ConfigOption::possibleValues, and Ogre::remove_duplicates(). Referenced by addConfig(), and setConfigOption(). |
|
||||||||||||
|
Reimplemented from Ogre::GLSupport. Definition at line 117 of file OgreWin32GLSupport.cpp. References Except, Ogre::GLSupport::mOptions, and refreshConfig(). |
|
|
Start anything special.
Implements Ogre::GLSupport. Definition at line 211 of file OgreWin32GLSupport.cpp. |
|
|
Stop anything special.
Implements Ogre::GLSupport. Definition at line 216 of file OgreWin32GLSupport.cpp. |
|
|
Make sure all the extra options are valid.
Implements Ogre::GLSupport. Definition at line 150 of file OgreWin32GLSupport.cpp. |
|
|
Definition at line 54 of file OgreWin32GLSupport.h. Referenced by addConfig(), and refreshConfig(). |
|
|
Definition at line 103 of file OgreGLSupport.h. Referenced by addConfig(), Ogre::SDLGLSupport::addConfig(), Ogre::GTKGLSupport::addConfig(), createWindow(), Ogre::SDLGLSupport::createWindow(), Ogre::GTKGLSupport::createWindow(), Ogre::GLSupport::getConfigOptions(), newWindow(), refreshConfig(), setConfigOption(), and Ogre::GLSupport::setConfigOption(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Wed Jan 21 00:21:23 2004