#include <OgreOSXGLSupport.h>

Public Member Functions | |
| OSXGLSupport () | |
| ~OSXGLSupport () | |
| void | addConfig (void) |
| 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 GLPBuffer * | createPBuffer (PixelComponentType format, uint32 width, uint32 height) |
| RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle) |
| 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. | |
| void * | getProcAddress (const char *name) |
| Get the address of a function. | |
| void * | getProcAddress (const String &procname) |
| 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) |
| bool | OSVersionIsAtLeast (String newVersion) |
| virtual void | setConfigOption (const String &name, const String &value) |
| void | setStateCacheManager (GLStateCacheManager *stateCacheMgr) |
| void | start () |
| Start anything special. | |
| void | stop () |
| Stop anything special. | |
| virtual bool | supportsPBuffers () |
| String | validateConfig (void) |
| Make sure all the extra options are valid. | |
Static Public Member Functions | |
| static CFComparisonResult | _compareModes (const void *val1, const void *val2, void *context) |
| static Boolean | _getDictionaryBoolean (CFDictionaryRef dict, const void *key) |
| static long | _getDictionaryLong (CFDictionaryRef dict, const void *key) |
Protected Attributes | |
| set< String >::type | extensionList |
| String | mAPI |
| String | mContextType |
| class OSXGLSupportImpl * | mImpl |
| ConfigOptionMap | mOptions |
Definition at line 37 of file OgreOSXGLSupport.h.
| static CFComparisonResult Ogre::OSXGLSupport::_compareModes | ( | const void * | val1, |
| const void * | val2, | ||
| void * | context | ||
| ) | [static] |
| static Boolean Ogre::OSXGLSupport::_getDictionaryBoolean | ( | CFDictionaryRef | dict, |
| const void * | key | ||
| ) | [static] |
| static long Ogre::OSXGLSupport::_getDictionaryLong | ( | CFDictionaryRef | dict, |
| const void * | key | ||
| ) | [static] |
| void Ogre::OSXGLSupport::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.
| bool Ogre::GLSupport::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 GLPBuffer* Ogre::OSXGLSupport::createPBuffer | ( | PixelComponentType | format, |
| uint32 | width, | ||
| uint32 | height | ||
| ) | [virtual] |
| RenderWindow* Ogre::OSXGLSupport::createWindow | ( | bool | autoCreateWindow, |
| GLRenderSystem * | renderSystem, | ||
| const String & | windowTitle | ||
| ) | [virtual] |
Implements Ogre::GLSupport.
| virtual ConfigOptionMap& Ogre::GLSupport::getConfigOptions | ( | void | ) | [virtual, inherited] |
| virtual unsigned int Ogre::GLSupport::getDisplayMonitorCount | ( | ) | const [virtual, inherited] |
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 [inherited] |
Get vendor information.
Definition at line 97 of file OgreGLSupport.h.
| const String& Ogre::GLSupport::getGLVersion | ( | void | ) | const [inherited] |
Get version information.
Definition at line 105 of file OgreGLSupport.h.
| void* Ogre::OSXGLSupport::getProcAddress | ( | const char * | name | ) |
Get the address of a function.
| void* Ogre::OSXGLSupport::getProcAddress | ( | const String & | procname | ) | [virtual] |
Get the address of a function.
Implements Ogre::GLSupport.
| GLStateCacheManager* Ogre::GLSupport::getStateCacheManager | ( | ) | const [inherited] |
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 RenderWindow* Ogre::OSXGLSupport::newWindow | ( | const String & | name, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| bool | fullScreen, | ||
| const NameValuePairList * | miscParams = 0 |
||
| ) | [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:
|
Implements Ogre::GLSupport.
| bool Ogre::OSXGLSupport::OSVersionIsAtLeast | ( | String | newVersion | ) |
| virtual void Ogre::GLSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual, inherited] |
Reimplemented in Ogre::GLXGLSupport, Ogre::Win32GLSupport, Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
| void Ogre::GLSupport::setStateCacheManager | ( | GLStateCacheManager * | stateCacheMgr | ) | [inherited] |
Definition at line 80 of file OgreGLSupport.h.
| void Ogre::OSXGLSupport::start | ( | ) | [virtual] |
Start anything special.
Implements Ogre::GLSupport.
| void Ogre::OSXGLSupport::stop | ( | ) | [virtual] |
Stop anything special.
Implements Ogre::GLSupport.
| virtual bool Ogre::OSXGLSupport::supportsPBuffers | ( | ) | [virtual] |
Reimplemented from Ogre::GLSupport.
| String Ogre::OSXGLSupport::validateConfig | ( | void | ) | [virtual] |
Make sure all the extra options are valid.
Implements Ogre::GLSupport.
set<String>::type Ogre::GLSupport::extensionList [protected, inherited] |
Definition at line 140 of file OgreGLSupport.h.
String Ogre::OSXGLSupport::mAPI [protected] |
Definition at line 89 of file OgreOSXGLSupport.h.
String Ogre::OSXGLSupport::mContextType [protected] |
Definition at line 90 of file OgreOSXGLSupport.h.
class OSXGLSupportImpl* Ogre::OSXGLSupport::mImpl [protected] |
Definition at line 93 of file OgreOSXGLSupport.h.
ConfigOptionMap Ogre::GLSupport::mOptions [protected, inherited] |
Definition at line 137 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:23