#include <OgreOSXGLSupport.h>
Public Member Functions | |
OSXGLSupport () | |
~OSXGLSupport () | |
void | addConfig (void) |
Add any special config values to the system. | |
String | validateConfig (void) |
Make sure all the extra options are valid. | |
RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle) |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
void | start () |
Start anything special. | |
void | stop () |
Stop anything special. | |
void * | getProcAddress (const char *name) |
Get the address of a function. | |
void * | getProcAddress (const String &procname) |
Get the address of a function. | |
virtual bool | supportsPBuffers () |
virtual GLPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height) |
virtual void | setConfigOption (const String &name, const String &value) |
virtual ConfigOptionMap & | getConfigOptions (void) |
const String & | getGLVendor (void) const |
Get vendor information. | |
const String & | getGLVersion (void) const |
Get version information. | |
bool | checkMinGLVersion (const String &v) const |
Compare GL version numbers. | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. | |
virtual void | initialiseExtensions () |
Initialises GL extensions, must be done AFTER the GL context has been established. | |
virtual unsigned int | getDisplayMonitorCount () const |
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 | |
String | mAPI |
String | mContextType |
ConfigOptionMap | mOptions |
set< String >::type | extensionList |
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.
bool Ogre::GLSupport::checkMinGLVersion | ( | const String & | v | ) | const [inherited] |
Compare GL version numbers.
Reimplemented in Ogre::GTKGLSupport.
virtual GLPBuffer* Ogre::OSXGLSupport::createPBuffer | ( | PixelComponentType | format, |
size_t | width, | ||
size_t | height | ||
) | [virtual] |
Reimplemented from Ogre::GLSupport.
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.
Definition at line 118 of file OgreGLSupport.h.
const String& Ogre::GLSupport::getGLVendor | ( | void | ) | const [inherited] |
Get vendor information.
Definition at line 85 of file OgreGLSupport.h.
const String& Ogre::GLSupport::getGLVersion | ( | void | ) | const [inherited] |
Get version information.
Definition at line 93 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.
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::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] |
Implements Ogre::GLSupport.
virtual void Ogre::GLSupport::setConfigOption | ( | const String & | name, |
const String & | value | ||
) | [virtual, inherited] |
Reimplemented in Ogre::Win32GLSupport, and Ogre::GLXGLSupport.
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 128 of file OgreGLSupport.h.
String Ogre::OSXGLSupport::mAPI [protected] |
Definition at line 88 of file OgreOSXGLSupport.h.
String Ogre::OSXGLSupport::mContextType [protected] |
Definition at line 89 of file OgreOSXGLSupport.h.
ConfigOptionMap Ogre::GLSupport::mOptions [protected, inherited] |
Definition at line 125 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 Fri May 25 2012 21:49:21