Public Member Functions | Protected Attributes | Private Attributes
Ogre::SDLGLSupport Class Reference

#include <OgreSDLGLSupport.h>

Inheritance diagram for Ogre::SDLGLSupport:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 SDLGLSupport ()
 SDLGLSupport ()
 ~SDLGLSupport ()
 ~SDLGLSupport ()
void addConfig (void)
 Add any special config values to the system.
void addConfig (void)
 Add any special config values to the system.
virtual bool checkExtension (const String &ext) const
 Check if an extension is available.
virtual bool checkExtension (const String &ext) const
 Check if an extension is available.
bool checkMinGLVersion (const String &v) const
 Compare GL version numbers.
bool checkMinGLVersion (const String &v) const
 Compare GL version numbers.
virtual GLPBuffercreatePBuffer (PixelComponentType format, size_t width, size_t height)
virtual RenderWindowcreateWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle)
virtual RenderWindowcreateWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
virtual ConfigOptionMapgetConfigOptions (void)
virtual ConfigOptionMapgetConfigOptions (void)
virtual unsigned int getDisplayMonitorCount () const
virtual unsigned int getDisplayMonitorCount () const
const StringgetGLVendor (void) const
 Get vendor information.
const StringgetGLVendor (void) const
 Get vendor information.
const StringgetGLVersion (void) const
 Get version information.
const StringgetGLVersion (void) const
 Get version information.
void * getProcAddress (const String &procname)
 Get the address of a function.
void * getProcAddress (const String &procname)
 Get the address of a function.
const StringgetShaderCachePath (void) const
 Get shader cache path.
const StringgetShaderLibraryPath (void) const
 Get shader library path.
GLStateCacheManagergetStateCacheManager () const
virtual void initialiseExtensions ()
 Initialises GL extensions, must be done AFTER the GL context has been established.
virtual void initialiseExtensions ()
 Initialises GL extensions, must be done AFTER the GL context has been established.
virtual RenderWindownewWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
virtual RenderWindownewWindow (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.
void setShaderLibraryPath (String path)
 Set shader library path.
void setStateCacheManager (GLStateCacheManager *stateCacheMgr)
void start ()
 Start anything special.
void start ()
 Start anything special.
void stop ()
 Stop anything special.
void stop ()
 Stop anything special.
virtual bool supportsPBuffers ()
String validateConfig (void)
 Make sure all the extra options are valid.
String validateConfig (void)
 Make sure all the extra options are valid.

Protected Attributes

set< String >::type extensionList
set< String >::type extensionList
ConfigOptionMap mOptions
ConfigOptionMap mOptions

Private Attributes

SDL_Rect ** mVideoModes

Detailed Description

Definition at line 10 of file include/OgreSDLGLSupport.h.


Constructor & Destructor Documentation


Member Function Documentation

void Ogre::SDLGLSupport::addConfig ( void  ) [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.

void Ogre::SDLGLSupport::addConfig ( void  ) [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 bool Ogre::GLSupport::checkExtension ( const String ext) const [virtual, inherited]

Check if an extension is available.

Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.

virtual bool Ogre::GL3PlusSupport::checkExtension ( const String ext) const [virtual, inherited]

Check if an extension is available.

Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.

bool Ogre::GLSupport::checkMinGLVersion ( const String v) const [inherited]

Compare GL version numbers.

Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.

bool Ogre::GL3PlusSupport::checkMinGLVersion ( const String v) const [inherited]

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, inherited]

Reimplemented in Ogre::Win32GLSupport, and Ogre::GLXGLSupport.

virtual RenderWindow* Ogre::SDLGLSupport::createWindow ( bool  autoCreateWindow,
GL3PlusRenderSystem renderSystem,
const String windowTitle 
) [virtual]

Implements Ogre::GL3PlusSupport.

virtual RenderWindow* Ogre::SDLGLSupport::createWindow ( bool  autoCreateWindow,
GLRenderSystem renderSystem,
const String windowTitle 
) [virtual]

Implements Ogre::GLSupport.

virtual ConfigOptionMap& Ogre::GL3PlusSupport::getConfigOptions ( void  ) [virtual, inherited]
virtual ConfigOptionMap& Ogre::GLSupport::getConfigOptions ( void  ) [virtual, inherited]
virtual unsigned int Ogre::GLSupport::getDisplayMonitorCount ( ) const [virtual, inherited]

Gets the number of display monitors.

See also:
Root::getDisplayMonitorCount

Reimplemented in Ogre::Win32GLSupport, and Ogre::Win32GLSupport.

Definition at line 130 of file OgreGLSupport.h.

virtual unsigned int Ogre::GL3PlusSupport::getDisplayMonitorCount ( ) const [virtual, inherited]

Gets the number of display monitors.

See also:
Root::getDisplayMonitorCount

Reimplemented in Ogre::Win32GLSupport, and Ogre::Win32GLSupport.

Definition at line 139 of file OgreGL3PlusSupport.h.

const String& Ogre::GL3PlusSupport::getGLVendor ( void  ) const [inherited]

Get vendor information.

Definition at line 73 of file OgreGL3PlusSupport.h.

const String& Ogre::GLSupport::getGLVendor ( void  ) const [inherited]

Get vendor information.

Definition at line 97 of file OgreGLSupport.h.

const String& Ogre::GL3PlusSupport::getGLVersion ( void  ) const [inherited]

Get version information.

Definition at line 81 of file OgreGL3PlusSupport.h.

const String& Ogre::GLSupport::getGLVersion ( void  ) const [inherited]

Get version information.

Definition at line 105 of file OgreGLSupport.h.

void* Ogre::SDLGLSupport::getProcAddress ( const String procname) [virtual]

Get the address of a function.

Implements Ogre::GLSupport.

void* Ogre::SDLGLSupport::getProcAddress ( const String procname) [virtual]

Get the address of a function.

Implements Ogre::GLSupport.

const String& Ogre::GL3PlusSupport::getShaderCachePath ( void  ) const [inherited]

Get shader cache path.

Definition at line 89 of file OgreGL3PlusSupport.h.

const String& Ogre::GL3PlusSupport::getShaderLibraryPath ( void  ) const [inherited]

Get shader library path.

Definition at line 97 of file OgreGL3PlusSupport.h.

Definition at line 75 of file OgreGLSupport.h.

virtual void Ogre::GLSupport::initialiseExtensions ( ) [virtual, inherited]

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 void Ogre::GL3PlusSupport::initialiseExtensions ( ) [virtual, inherited]

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::SDLGLSupport::newWindow ( const String name,
unsigned int  width,
unsigned int  height,
bool  fullScreen,
const NameValuePairList miscParams = 0 
) [virtual]

Implements Ogre::GLSupport.

virtual RenderWindow* Ogre::SDLGLSupport::newWindow ( const String name,
unsigned int  width,
unsigned int  height,
bool  fullScreen,
const NameValuePairList miscParams = 0 
) [virtual]

Implements Ogre::GLSupport.

virtual void Ogre::GL3PlusSupport::setConfigOption ( const String name,
const String value 
) [virtual, inherited]
virtual void Ogre::GLSupport::setConfigOption ( const String name,
const String value 
) [virtual, inherited]

Set shader cache path.

Definition at line 105 of file OgreGL3PlusSupport.h.

Set shader library path.

Definition at line 113 of file OgreGL3PlusSupport.h.

void Ogre::GLSupport::setStateCacheManager ( GLStateCacheManager stateCacheMgr) [inherited]

Definition at line 80 of file OgreGLSupport.h.

void Ogre::SDLGLSupport::start ( ) [virtual]

Start anything special.

Implements Ogre::GLSupport.

void Ogre::SDLGLSupport::start ( ) [virtual]

Start anything special.

Implements Ogre::GLSupport.

void Ogre::SDLGLSupport::stop ( ) [virtual]

Stop anything special.

Implements Ogre::GLSupport.

void Ogre::SDLGLSupport::stop ( ) [virtual]

Stop anything special.

Implements Ogre::GLSupport.

virtual bool Ogre::GLSupport::supportsPBuffers ( ) [virtual, inherited]

Reimplemented in Ogre::Win32GLSupport, and Ogre::OSXGLSupport.

Make sure all the extra options are valid.

Implements Ogre::GLSupport.

Make sure all the extra options are valid.

Implements Ogre::GLSupport.


Member Data Documentation

set<String>::type Ogre::GLSupport::extensionList [protected, inherited]

Definition at line 140 of file OgreGLSupport.h.

set<String>::type Ogre::GL3PlusSupport::extensionList [protected, inherited]

Definition at line 164 of file OgreGL3PlusSupport.h.

Definition at line 137 of file OgreGLSupport.h.

Definition at line 161 of file OgreGL3PlusSupport.h.

SDL_Rect ** Ogre::SDLGLSupport::mVideoModes [private]

Definition at line 48 of file include/OgreSDLGLSupport.h.


The documentation for this class was generated from the following files:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:36