#include <OgreSDLGLSupport.h>
Public Member Functions | |
SDLGLSupport () | |
SDLGLSupport () | |
~SDLGLSupport () | |
~SDLGLSupport () | |
void | addConfig (void) |
Add any special config values to the system. More... | |
void | addConfig (void) |
Add any special config values to the system. More... | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. More... | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. More... | |
bool | checkMinGLVersion (const String &v) const |
Compare GL version numbers. More... | |
bool | checkMinGLVersion (const String &v) const |
Compare GL version numbers. More... | |
virtual GLPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height) |
virtual RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle) |
virtual RenderWindow * | createWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle) |
virtual ConfigOptionMap & | getConfigOptions (void) |
virtual ConfigOptionMap & | getConfigOptions (void) |
virtual unsigned int | getDisplayMonitorCount () const |
Gets the number of display monitors. More... | |
virtual unsigned int | getDisplayMonitorCount () const |
Gets the number of display monitors. More... | |
const String & | getGLVendor (void) const |
Get vendor information. More... | |
const String & | getGLVendor (void) const |
Get vendor information. More... | |
const String & | getGLVersion (void) const |
Get version information. More... | |
const String & | getGLVersion (void) const |
Get version information. More... | |
void * | getProcAddress (const String &procname) |
Get the address of a function. More... | |
void * | getProcAddress (const String &procname) |
Get the address of a function. More... | |
const String & | getShaderCachePath (void) const |
Get shader cache path. More... | |
const String & | getShaderLibraryPath (void) const |
Get shader library path. More... | |
GLStateCacheManager * | getStateCacheManager () const |
virtual void | initialiseExtensions () |
Initialises GL extensions, must be done AFTER the GL context has been established. More... | |
virtual void | initialiseExtensions () |
Initialises GL extensions, must be done AFTER the GL context has been established. More... | |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
virtual void | setConfigOption (const String &name, const String &value) |
virtual void | setConfigOption (const String &name, const String &value) |
void | setShaderCachePath (String path) |
Set shader cache path. More... | |
void | setShaderLibraryPath (String path) |
Set shader library path. More... | |
void | setStateCacheManager (GLStateCacheManager *stateCacheMgr) |
void | start () |
Start anything special. More... | |
void | start () |
Start anything special. More... | |
void | stop () |
Stop anything special. More... | |
void | stop () |
Stop anything special. More... | |
virtual bool | supportsPBuffers () |
String | validateConfig (void) |
Make sure all the extra options are valid. More... | |
String | validateConfig (void) |
Make sure all the extra options are valid. More... | |
Protected Attributes | |
set< String >::type | extensionList |
set< String >::type | extensionList |
ConfigOptionMap | mOptions |
ConfigOptionMap | mOptions |
Private Attributes | |
SDL_Rect ** | mVideoModes |
Definition at line 10 of file include/OgreSDLGLSupport.h.
Ogre::SDLGLSupport::SDLGLSupport | ( | ) |
Ogre::SDLGLSupport::~SDLGLSupport | ( | ) |
Ogre::SDLGLSupport::SDLGLSupport | ( | ) |
Ogre::SDLGLSupport::~SDLGLSupport | ( | ) |
|
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
Implements Ogre::GLSupport.
|
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
Implements Ogre::GLSupport.
|
virtualinherited |
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
|
virtualinherited |
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
|
inherited |
Compare GL version numbers.
|
inherited |
Compare GL version numbers.
|
virtualinherited |
Reimplemented in Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
|
virtual |
Implements Ogre::GL3PlusSupport.
|
virtual |
Implements Ogre::GLSupport.
|
virtualinherited |
|
virtualinherited |
|
inlinevirtualinherited |
Gets the number of display monitors.
Reimplemented in Ogre::Win32GLSupport, and Ogre::Win32GLSupport.
Definition at line 130 of file OgreGLSupport.h.
|
inlinevirtualinherited |
Gets the number of display monitors.
Reimplemented in Ogre::Win32GLSupport, and Ogre::Win32GLSupport.
Definition at line 139 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Get vendor information.
Definition at line 73 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Get vendor information.
Definition at line 97 of file OgreGLSupport.h.
|
inlineinherited |
Get version information.
Definition at line 81 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Get version information.
Definition at line 105 of file OgreGLSupport.h.
|
virtual |
Get the address of a function.
Implements Ogre::GLSupport.
|
virtual |
Get the address of a function.
Implements Ogre::GLSupport.
|
inlineinherited |
Get shader cache path.
Definition at line 89 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Get shader library path.
Definition at line 97 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Definition at line 75 of file OgreGLSupport.h.
|
virtualinherited |
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.
|
virtualinherited |
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 |
Implements Ogre::GLSupport.
|
virtual |
Implements Ogre::GLSupport.
|
virtualinherited |
Reimplemented in Ogre::GLXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
|
virtualinherited |
Reimplemented in Ogre::GLXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
|
inlineinherited |
Set shader cache path.
Definition at line 105 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Set shader library path.
Definition at line 113 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Definition at line 80 of file OgreGLSupport.h.
|
virtual |
Start anything special.
Implements Ogre::GLSupport.
|
virtual |
Start anything special.
Implements Ogre::GLSupport.
|
virtual |
Stop anything special.
Implements Ogre::GLSupport.
|
virtual |
Stop anything special.
Implements Ogre::GLSupport.
|
virtualinherited |
Reimplemented in Ogre::Win32GLSupport, and Ogre::OSXGLSupport.
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GLSupport.
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GLSupport.
Definition at line 140 of file OgreGLSupport.h.
Definition at line 164 of file OgreGL3PlusSupport.h.
|
protectedinherited |
Definition at line 137 of file OgreGLSupport.h.
|
protectedinherited |
Definition at line 161 of file OgreGL3PlusSupport.h.
|
private |
Definition at line 48 of file include/OgreSDLGLSupport.h.