#include <OgreWin32GLSupport.h>
Classes | |
struct | DisplayMonitorInfo |
Public Member Functions | |
Win32GLSupport () | |
Win32GLSupport () | |
void | addConfig () |
Add any special config values to the system. More... | |
void | addConfig () |
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 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 |
Gets the number of display monitors. More... | |
virtual unsigned int | getDisplayMonitorCount () const |
Gets the number of display monitors. More... | |
const String & | getGLVendor (void) const |
Get vendor information. More... | |
const String & | getGLVendor (void) const |
Get vendor information. More... | |
const String & | getGLVersion (void) const |
Get version information. More... | |
const String & | getGLVersion (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 String & | getShaderCachePath (void) const |
Get shader cache path. More... | |
const String & | getShaderLibraryPath (void) const |
Get shader library path. More... | |
GLStateCacheManager * | getStateCacheManager () const |
virtual void | initialiseExtensions () |
Initialise extensions. More... | |
virtual void | initialiseExtensions () |
Initialise extensions. More... | |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
Creates a new rendering window. More... | |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
Creates a new rendering window. More... | |
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. 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 () |
Make sure all the extra options are valid. More... | |
String | validateConfig () |
Make sure all the extra options are valid. More... | |
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.
|
private |
Definition at line 103 of file Plus/include/win32/OgreWin32GLSupport.h.
|
private |
Definition at line 104 of file include/Win32/OgreWin32GLSupport.h.
|
private |
Definition at line 102 of file Plus/include/win32/OgreWin32GLSupport.h.
|
private |
Definition at line 103 of file include/Win32/OgreWin32GLSupport.h.
Ogre::Win32GLSupport::Win32GLSupport | ( | ) |
Ogre::Win32GLSupport::Win32GLSupport | ( | ) |
|
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 |
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.
|
virtualinherited |
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
|
virtualinherited |
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport, and Ogre::GTKGLSupport.
|
inherited |
Compare GL version numbers.
|
inherited |
Compare GL version numbers.
|
virtual |
Reimplemented from Ogre::GLSupport.
|
virtual |
Implements Ogre::GLSupport.
|
virtual |
Implements Ogre::GL3PlusSupport.
|
staticprivate |
|
staticprivate |
|
virtualinherited |
|
virtualinherited |
|
virtual |
Gets the number of display monitors.
Reimplemented from Ogre::GLSupport.
|
virtual |
Gets the number of display monitors.
Reimplemented from Ogre::GLSupport.
|
inlineinherited |
Get vendor information.
Definition at line 73 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Get vendor information.
Definition at line 97 of file OgreGLSupport.h.
|
inlineinherited |
Get version information.
Definition at line 81 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Get version information.
Definition at line 105 of file OgreGLSupport.h.
|
virtual |
Get the address of a function.
Implements Ogre::GLSupport.
|
virtual |
Get the address of a function.
Implements Ogre::GLSupport.
|
inlineinherited |
Get shader cache path.
Definition at line 89 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Get shader library path.
Definition at line 97 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Definition at line 75 of file OgreGLSupport.h.
|
virtual |
Initialise extensions.
Reimplemented from Ogre::GLSupport.
|
virtual |
Initialise extensions.
Reimplemented from Ogre::GLSupport.
|
private |
|
private |
|
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 |
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.
|
private |
|
private |
|
staticprivate |
|
staticprivate |
bool Ogre::Win32GLSupport::selectPixelFormat | ( | HDC | hdc, |
int | colourDepth, | ||
int | multisample, | ||
bool | hwGamma | ||
) |
bool Ogre::Win32GLSupport::selectPixelFormat | ( | HDC | hdc, |
int | colourDepth, | ||
int | multisample, | ||
bool | hwGamma | ||
) |
Reimplemented from Ogre::GLSupport.
Reimplemented from Ogre::GLSupport.
|
inlineinherited |
Set shader cache path.
Definition at line 105 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Set shader library path.
Definition at line 113 of file OgreGL3PlusSupport.h.
|
inlineinherited |
Definition at line 80 of file OgreGLSupport.h.
|
virtual |
Start anything special.
Implements Ogre::GLSupport.
|
virtual |
Start anything special.
Implements Ogre::GLSupport.
|
virtual |
Stop anything special.
Implements Ogre::GLSupport.
|
virtual |
Stop anything special.
Implements Ogre::GLSupport.
|
virtual |
Reimplemented from Ogre::GLSupport.
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GLSupport.
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GLSupport.
Definition at line 140 of file OgreGLSupport.h.
Definition at line 164 of file OgreGL3PlusSupport.h.
|
private |
Definition at line 90 of file include/Win32/OgreWin32GLSupport.h.
|
private |
Definition at line 92 of file include/Win32/OgreWin32GLSupport.h.
|
private |
Definition at line 95 of file include/Win32/OgreWin32GLSupport.h.
|
private |
Definition at line 94 of file include/Win32/OgreWin32GLSupport.h.
|
private |
Definition at line 93 of file include/Win32/OgreWin32GLSupport.h.
|
private |
Definition at line 91 of file include/Win32/OgreWin32GLSupport.h.
|
private |
Definition at line 106 of file include/Win32/OgreWin32GLSupport.h.
|
protectedinherited |
Definition at line 137 of file OgreGLSupport.h.
|
protectedinherited |
Definition at line 161 of file OgreGL3PlusSupport.h.
|
private |
Definition at line 94 of file Plus/include/win32/OgreWin32GLSupport.h.