#include <OgreWin32GLSupport.h>

Classes | |
| struct | DisplayMonitorInfo |
Public Member Functions | |
| Win32GLSupport () | |
| Win32GLSupport () | |
| void | addConfig () |
| Add any special config values to the system. | |
| void | addConfig () |
| 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 GLPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height) |
| virtual RenderWindow * | createWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle="OGRE Render Window") |
| virtual RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle="OGRE Render Window") |
| virtual ConfigOptionMap & | getConfigOptions (void) |
| virtual ConfigOptionMap & | getConfigOptions (void) |
| virtual unsigned int | getDisplayMonitorCount () const |
| virtual unsigned int | getDisplayMonitorCount () const |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const String & | getGLVersion (void) const |
| Get version information. | |
| const String & | getGLVersion (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 String & | getShaderCachePath (void) const |
| Get shader cache path. | |
| const String & | getShaderLibraryPath (void) const |
| Get shader library path. | |
| GLStateCacheManager * | getStateCacheManager () const |
| virtual void | initialiseExtensions () |
| Initialise extensions. | |
| virtual void | initialiseExtensions () |
| Initialise extensions. | |
| 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) |
| bool | selectPixelFormat (HDC hdc, int colourDepth, int multisample, bool hwGamma) |
| bool | selectPixelFormat (HDC hdc, int colourDepth, int multisample, bool hwGamma) |
| void | setConfigOption (const String &name, const String &value) |
| 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 () |
| Make sure all the extra options are valid. | |
| String | validateConfig () |
| Make sure all the extra options are valid. | |
Protected Attributes | |
| set< String >::type | extensionList |
| set< String >::type | extensionList |
| ConfigOptionMap | mOptions |
| ConfigOptionMap | mOptions |
Private Types | |
| typedef DisplayMonitorInfoList::iterator | DisplayMonitorInfoIterator |
| typedef DisplayMonitorInfoList::iterator | DisplayMonitorInfoIterator |
| typedef vector < DisplayMonitorInfo >::type | DisplayMonitorInfoList |
| typedef vector < DisplayMonitorInfo >::type | DisplayMonitorInfoList |
Private Member Functions | |
| void | initialiseWGL () |
| void | initialiseWGL () |
| void | refreshConfig () |
| void | refreshConfig () |
Static Private Member Functions | |
| static LRESULT CALLBACK | dummyWndProc (HWND hwnd, UINT umsg, WPARAM wp, LPARAM lp) |
| static LRESULT CALLBACK | dummyWndProc (HWND hwnd, UINT umsg, WPARAM wp, LPARAM lp) |
| static BOOL CALLBACK | sCreateMonitorsInfoEnumProc (HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData) |
| static BOOL CALLBACK | sCreateMonitorsInfoEnumProc (HMONITOR hMonitor, HDC hdcMonitor, LPRECT lprcMonitor, LPARAM dwData) |
Private Attributes | |
| vector< DEVMODE >::type | mDevModes |
| vector< int >::type | mFSAALevels |
| bool | mHasHardwareGamma |
| bool | mHasMultisample |
| bool | mHasPixelFormatARB |
| Win32Window * | mInitialWindow |
| DisplayMonitorInfoList | mMonitorInfoList |
| PFNWGLCHOOSEPIXELFORMATARBPROC | mWglChoosePixelFormat |
Definition at line 38 of file include/Win32/OgreWin32GLSupport.h.
typedef DisplayMonitorInfoList::iterator Ogre::Win32GLSupport::DisplayMonitorInfoIterator [private] |
Definition at line 103 of file Plus/include/win32/OgreWin32GLSupport.h.
typedef DisplayMonitorInfoList::iterator Ogre::Win32GLSupport::DisplayMonitorInfoIterator [private] |
Definition at line 104 of file include/Win32/OgreWin32GLSupport.h.
typedef vector<DisplayMonitorInfo>::type Ogre::Win32GLSupport::DisplayMonitorInfoList [private] |
Definition at line 102 of file Plus/include/win32/OgreWin32GLSupport.h.
typedef vector<DisplayMonitorInfo>::type Ogre::Win32GLSupport::DisplayMonitorInfoList [private] |
Definition at line 103 of file include/Win32/OgreWin32GLSupport.h.
| void Ogre::Win32GLSupport::addConfig | ( | ) | [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 wxhxb
Implements Ogre::GLSupport.
| void Ogre::Win32GLSupport::addConfig | ( | ) | [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 wxhxb
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::Win32GLSupport::createPBuffer | ( | PixelComponentType | format, |
| size_t | width, | ||
| size_t | height | ||
| ) | [virtual] |
Reimplemented from Ogre::GLSupport.
| virtual RenderWindow* Ogre::Win32GLSupport::createWindow | ( | bool | autoCreateWindow, |
| GLRenderSystem * | renderSystem, | ||
| const String & | windowTitle = "OGRE Render Window" |
||
| ) | [virtual] |
Implements Ogre::GLSupport.
| virtual RenderWindow* Ogre::Win32GLSupport::createWindow | ( | bool | autoCreateWindow, |
| GL3PlusRenderSystem * | renderSystem, | ||
| const String & | windowTitle = "OGRE Render Window" |
||
| ) | [virtual] |
Implements Ogre::GL3PlusSupport.
| static LRESULT CALLBACK Ogre::Win32GLSupport::dummyWndProc | ( | HWND | hwnd, |
| UINT | umsg, | ||
| WPARAM | wp, | ||
| LPARAM | lp | ||
| ) | [static, private] |
| static LRESULT CALLBACK Ogre::Win32GLSupport::dummyWndProc | ( | HWND | hwnd, |
| UINT | umsg, | ||
| WPARAM | wp, | ||
| LPARAM | lp | ||
| ) | [static, private] |
| virtual ConfigOptionMap& Ogre::GL3PlusSupport::getConfigOptions | ( | void | ) | [virtual, inherited] |
| virtual ConfigOptionMap& Ogre::GLSupport::getConfigOptions | ( | void | ) | [virtual, inherited] |
| virtual unsigned int Ogre::Win32GLSupport::getDisplayMonitorCount | ( | ) | const [virtual] |
Gets the number of display monitors.
Reimplemented from Ogre::GLSupport.
| virtual unsigned int Ogre::Win32GLSupport::getDisplayMonitorCount | ( | ) | const [virtual] |
Gets the number of display monitors.
Reimplemented from Ogre::GLSupport.
| 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::Win32GLSupport::getProcAddress | ( | const String & | procname | ) | [virtual] |
Get the address of a function.
Implements Ogre::GLSupport.
| void* Ogre::Win32GLSupport::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.
| GLStateCacheManager* Ogre::GLSupport::getStateCacheManager | ( | ) | const [inherited] |
Definition at line 75 of file OgreGLSupport.h.
| virtual void Ogre::Win32GLSupport::initialiseExtensions | ( | ) | [virtual] |
Initialise extensions.
Reimplemented from Ogre::GLSupport.
| virtual void Ogre::Win32GLSupport::initialiseExtensions | ( | ) | [virtual] |
Initialise extensions.
Reimplemented from Ogre::GLSupport.
| void Ogre::Win32GLSupport::initialiseWGL | ( | ) | [private] |
| void Ogre::Win32GLSupport::initialiseWGL | ( | ) | [private] |
| virtual RenderWindow* Ogre::Win32GLSupport::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.
| virtual RenderWindow* Ogre::Win32GLSupport::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.
| void Ogre::Win32GLSupport::refreshConfig | ( | ) | [private] |
| void Ogre::Win32GLSupport::refreshConfig | ( | ) | [private] |
| static BOOL CALLBACK Ogre::Win32GLSupport::sCreateMonitorsInfoEnumProc | ( | HMONITOR | hMonitor, |
| HDC | hdcMonitor, | ||
| LPRECT | lprcMonitor, | ||
| LPARAM | dwData | ||
| ) | [static, private] |
| static BOOL CALLBACK Ogre::Win32GLSupport::sCreateMonitorsInfoEnumProc | ( | HMONITOR | hMonitor, |
| HDC | hdcMonitor, | ||
| LPRECT | lprcMonitor, | ||
| LPARAM | dwData | ||
| ) | [static, private] |
| bool Ogre::Win32GLSupport::selectPixelFormat | ( | HDC | hdc, |
| int | colourDepth, | ||
| int | multisample, | ||
| bool | hwGamma | ||
| ) |
| bool Ogre::Win32GLSupport::selectPixelFormat | ( | HDC | hdc, |
| int | colourDepth, | ||
| int | multisample, | ||
| bool | hwGamma | ||
| ) |
| void Ogre::Win32GLSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual] |
Reimplemented from Ogre::GLSupport.
| void Ogre::Win32GLSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual] |
Reimplemented from Ogre::GLSupport.
| void Ogre::GL3PlusSupport::setShaderCachePath | ( | String | path | ) | [inherited] |
Set shader cache path.
Definition at line 105 of file OgreGL3PlusSupport.h.
| void Ogre::GL3PlusSupport::setShaderLibraryPath | ( | String | path | ) | [inherited] |
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::Win32GLSupport::start | ( | ) | [virtual] |
Start anything special.
Implements Ogre::GLSupport.
| void Ogre::Win32GLSupport::start | ( | ) | [virtual] |
Start anything special.
Implements Ogre::GLSupport.
| void Ogre::Win32GLSupport::stop | ( | ) | [virtual] |
Stop anything special.
Implements Ogre::GLSupport.
| void Ogre::Win32GLSupport::stop | ( | ) | [virtual] |
Stop anything special.
Implements Ogre::GLSupport.
| virtual bool Ogre::Win32GLSupport::supportsPBuffers | ( | ) | [virtual] |
Reimplemented from Ogre::GLSupport.
| String Ogre::Win32GLSupport::validateConfig | ( | ) | [virtual] |
Make sure all the extra options are valid.
Implements Ogre::GLSupport.
| String Ogre::Win32GLSupport::validateConfig | ( | ) | [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.
set<String>::type Ogre::GL3PlusSupport::extensionList [protected, inherited] |
Definition at line 164 of file OgreGL3PlusSupport.h.
vector< DEVMODE >::type Ogre::Win32GLSupport::mDevModes [private] |
Definition at line 90 of file include/Win32/OgreWin32GLSupport.h.
vector< int >::type Ogre::Win32GLSupport::mFSAALevels [private] |
Definition at line 92 of file include/Win32/OgreWin32GLSupport.h.
bool Ogre::Win32GLSupport::mHasHardwareGamma [private] |
Definition at line 95 of file include/Win32/OgreWin32GLSupport.h.
bool Ogre::Win32GLSupport::mHasMultisample [private] |
Definition at line 94 of file include/Win32/OgreWin32GLSupport.h.
bool Ogre::Win32GLSupport::mHasPixelFormatARB [private] |
Definition at line 93 of file include/Win32/OgreWin32GLSupport.h.
Win32Window * Ogre::Win32GLSupport::mInitialWindow [private] |
Definition at line 91 of file include/Win32/OgreWin32GLSupport.h.
Definition at line 106 of file include/Win32/OgreWin32GLSupport.h.
ConfigOptionMap Ogre::GLSupport::mOptions [protected, inherited] |
Definition at line 137 of file OgreGLSupport.h.
ConfigOptionMap Ogre::GL3PlusSupport::mOptions [protected, inherited] |
Definition at line 161 of file OgreGL3PlusSupport.h.
PFNWGLCHOOSEPIXELFORMATARBPROC Ogre::Win32GLSupport::mWglChoosePixelFormat [private] |
Definition at line 94 of file Plus/include/win32/OgreWin32GLSupport.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:46