OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::SDLGLSupport Class Reference

#include <OgreSDLGLSupport.h>

+ Inheritance diagram for Ogre::SDLGLSupport:
+ Collaboration diagram for Ogre::SDLGLSupport:

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 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
 Gets the number of display monitors. More...
 
virtual unsigned int getDisplayMonitorCount () const
 Gets the number of display monitors. More...
 
const StringgetGLVendor (void) const
 Get vendor information. More...
 
const StringgetGLVendor (void) const
 Get vendor information. More...
 
const StringgetGLVersion (void) const
 Get version information. More...
 
const StringgetGLVersion (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 StringgetShaderCachePath (void) const
 Get shader cache path. More...
 
const StringgetShaderLibraryPath (void) const
 Get shader library path. More...
 
GLStateCacheManagergetStateCacheManager () 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 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. 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
 

Detailed Description

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

Constructor & Destructor Documentation

Ogre::SDLGLSupport::SDLGLSupport ( )
Ogre::SDLGLSupport::~SDLGLSupport ( )
Ogre::SDLGLSupport::SDLGLSupport ( )
Ogre::SDLGLSupport::~SDLGLSupport ( )

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
virtualinherited

Check if an extension is available.

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

virtual bool Ogre::GL3PlusSupport::checkExtension ( const String ext) const
virtualinherited

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.

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

Compare GL version numbers.

virtual GLPBuffer* Ogre::GLSupport::createPBuffer ( PixelComponentType  format,
size_t  width,
size_t  height 
)
virtualinherited

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  )
virtualinherited
virtual ConfigOptionMap& Ogre::GLSupport::getConfigOptions ( void  )
virtualinherited
virtual unsigned int Ogre::GLSupport::getDisplayMonitorCount ( ) const
inlinevirtualinherited

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
inlinevirtualinherited

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
inlineinherited

Get vendor information.

Definition at line 73 of file OgreGL3PlusSupport.h.

const String& Ogre::GLSupport::getGLVendor ( void  ) const
inlineinherited

Get vendor information.

Definition at line 97 of file OgreGLSupport.h.

const String& Ogre::GL3PlusSupport::getGLVersion ( void  ) const
inlineinherited

Get version information.

Definition at line 81 of file OgreGL3PlusSupport.h.

const String& Ogre::GLSupport::getGLVersion ( void  ) const
inlineinherited

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
inlineinherited

Get shader cache path.

Definition at line 89 of file OgreGL3PlusSupport.h.

const String& Ogre::GL3PlusSupport::getShaderLibraryPath ( void  ) const
inlineinherited

Get shader library path.

Definition at line 97 of file OgreGL3PlusSupport.h.

GLStateCacheManager* Ogre::GLSupport::getStateCacheManager ( ) const
inlineinherited

Definition at line 75 of file OgreGLSupport.h.

virtual void Ogre::GLSupport::initialiseExtensions ( )
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 void Ogre::GL3PlusSupport::initialiseExtensions ( )
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 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 
)
virtualinherited
virtual void Ogre::GLSupport::setConfigOption ( const String name,
const String value 
)
virtualinherited
void Ogre::GL3PlusSupport::setShaderCachePath ( String  path)
inlineinherited

Set shader cache path.

Definition at line 105 of file OgreGL3PlusSupport.h.

void Ogre::GL3PlusSupport::setShaderLibraryPath ( String  path)
inlineinherited

Set shader library path.

Definition at line 113 of file OgreGL3PlusSupport.h.

void Ogre::GLSupport::setStateCacheManager ( GLStateCacheManager stateCacheMgr)
inlineinherited

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 ( )
virtualinherited

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

String Ogre::SDLGLSupport::validateConfig ( void  )
virtual

Make sure all the extra options are valid.

Implements Ogre::GLSupport.

String Ogre::SDLGLSupport::validateConfig ( void  )
virtual

Make sure all the extra options are valid.

Implements Ogre::GLSupport.

Member Data Documentation

set<String>::type Ogre::GLSupport::extensionList
protectedinherited

Definition at line 140 of file OgreGLSupport.h.

set<String>::type Ogre::GL3PlusSupport::extensionList
protectedinherited

Definition at line 164 of file OgreGL3PlusSupport.h.

ConfigOptionMap Ogre::GLSupport::mOptions
protectedinherited

Definition at line 137 of file OgreGLSupport.h.

ConfigOptionMap Ogre::GL3PlusSupport::mOptions
protectedinherited

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 file: