#include <OgreGLSupport.h>

Public Member Functions | |
| GLSupport () | |
| virtual | ~GLSupport () |
| virtual void | addConfig ()=0 |
| Add any special config values to the system. | |
| virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available. | |
| bool | checkMinGLVersion (const String &v) const |
| Compare GL version numbers. | |
| virtual GLPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height) |
| virtual RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle)=0 |
| virtual ConfigOptionMap & | getConfigOptions (void) |
| virtual unsigned int | getDisplayMonitorCount () const |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const String & | getGLVersion (void) const |
| Get version information. | |
| virtual void * | getProcAddress (const String &procname)=0 |
| Get the address of a function. | |
| GLStateCacheManager * | getStateCacheManager () const |
| virtual void | initialiseExtensions () |
| Initialises GL extensions, must be done AFTER the GL context has been established. | |
| virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0 |
| virtual void | setConfigOption (const String &name, const String &value) |
| void | setStateCacheManager (GLStateCacheManager *stateCacheMgr) |
| virtual void | start ()=0 |
| Start anything special. | |
| virtual void | stop ()=0 |
| Stop anything special. | |
| virtual bool | supportsPBuffers () |
| virtual String | validateConfig ()=0 |
| Make sure all the extra options are valid. | |
Protected Attributes | |
| set< String >::type | extensionList |
| ConfigOptionMap | mOptions |
Private Attributes | |
| GLStateCacheManager * | mStateCacheManager |
| String | mVendor |
| String | mVersion |
Definition at line 43 of file OgreGLSupport.h.
Definition at line 46 of file OgreGLSupport.h.
| virtual Ogre::GLSupport::~GLSupport | ( | ) | [virtual] |
Definition at line 47 of file OgreGLSupport.h.
| virtual void Ogre::GLSupport::addConfig | ( | ) | [pure virtual] |
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
Implemented in Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::OSXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual bool Ogre::GLSupport::checkExtension | ( | const String & | ext | ) | const [virtual] |
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
| bool Ogre::GLSupport::checkMinGLVersion | ( | const String & | v | ) | const |
Compare GL version numbers.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
| virtual GLPBuffer* Ogre::GLSupport::createPBuffer | ( | PixelComponentType | format, |
| size_t | width, | ||
| size_t | height | ||
| ) | [virtual] |
Reimplemented in Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
| virtual RenderWindow* Ogre::GLSupport::createWindow | ( | bool | autoCreateWindow, |
| GLRenderSystem * | renderSystem, | ||
| const String & | windowTitle | ||
| ) | [pure virtual] |
Implemented in Ogre::OSXGLSupport, Ogre::Win32GLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, and Ogre::SDLGLSupport.
| virtual ConfigOptionMap& Ogre::GLSupport::getConfigOptions | ( | void | ) | [virtual] |
| virtual unsigned int Ogre::GLSupport::getDisplayMonitorCount | ( | ) | const [virtual] |
Gets the number of display monitors.
Reimplemented in Ogre::Win32GLSupport, and Ogre::Win32GLSupport.
Definition at line 130 of file OgreGLSupport.h.
| const String& Ogre::GLSupport::getGLVendor | ( | void | ) | const |
Get vendor information.
Definition at line 97 of file OgreGLSupport.h.
| const String& Ogre::GLSupport::getGLVersion | ( | void | ) | const |
Get version information.
Definition at line 105 of file OgreGLSupport.h.
| virtual void* Ogre::GLSupport::getProcAddress | ( | const String & | procname | ) | [pure virtual] |
Get the address of a function.
Implemented in Ogre::OSXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
Definition at line 75 of file OgreGLSupport.h.
| virtual void Ogre::GLSupport::initialiseExtensions | ( | ) | [virtual] |
Initialises GL extensions, must be done AFTER the GL context has been established.
Reimplemented in Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, and Ogre::GLXGLSupport.
| virtual RenderWindow* Ogre::GLSupport::newWindow | ( | const String & | name, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| bool | fullScreen, | ||
| const NameValuePairList * | miscParams = 0 |
||
| ) | [pure virtual] |
Creates a new rendering window.
| name | The name of the window. Used in other methods later like setRenderTarget and getRenderTarget. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| width | The width of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| height | The height of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fullScreen | Specify true to make the window full screen without borders, title bar or menu bar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise:
|
Implemented in Ogre::OSXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual void Ogre::GLSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual] |
Reimplemented in Ogre::GLXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
| void Ogre::GLSupport::setStateCacheManager | ( | GLStateCacheManager * | stateCacheMgr | ) |
Definition at line 80 of file OgreGLSupport.h.
| virtual void Ogre::GLSupport::start | ( | ) | [pure virtual] |
Start anything special.
Implemented in Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::OSXGLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual void Ogre::GLSupport::stop | ( | ) | [pure virtual] |
Stop anything special.
Implemented in Ogre::OSXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GLXGLSupport, Ogre::GTKGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
| virtual bool Ogre::GLSupport::supportsPBuffers | ( | ) | [virtual] |
Reimplemented in Ogre::Win32GLSupport, and Ogre::OSXGLSupport.
| virtual String Ogre::GLSupport::validateConfig | ( | ) | [pure virtual] |
Make sure all the extra options are valid.
Implemented in Ogre::Win32GLSupport, Ogre::Win32GLSupport, Ogre::GTKGLSupport, Ogre::OSXGLSupport, Ogre::GTKGLSupport, Ogre::GLXGLSupport, Ogre::GLXGLSupport, Ogre::SDLGLSupport, and Ogre::SDLGLSupport.
set<String>::type Ogre::GLSupport::extensionList [protected] |
Definition at line 140 of file OgreGLSupport.h.
ConfigOptionMap Ogre::GLSupport::mOptions [protected] |
Definition at line 137 of file OgreGLSupport.h.
Definition at line 145 of file OgreGLSupport.h.
String Ogre::GLSupport::mVendor [private] |
Definition at line 143 of file OgreGLSupport.h.
String Ogre::GLSupport::mVersion [private] |
Definition at line 142 of file OgreGLSupport.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:13