#include <OgreWin32GLSupport.h>
Inheritance diagram for Ogre::Win32GLSupport:

Public Member Functions | ||||||||||||||||
| Win32GLSupport () | ||||||||||||||||
| void | addConfig () | |||||||||||||||
| Add any special config values to the system. | ||||||||||||||||
| void | setConfigOption (const String &name, const String &value) | |||||||||||||||
| String | validateConfig () | |||||||||||||||
| Make sure all the extra options are valid. | ||||||||||||||||
| virtual RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle="OGRE Render Window") | |||||||||||||||
| virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) | |||||||||||||||
Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific] Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*) for GLX Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong for GLX (display*:screen:windowHandle) Default: 0 (None) Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0 Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0 Key: "border" Description: The type of window border (in windowed mode) Values: none, fixed, resize Default: resize Key: "outerDimensions" Description: Whether the width/height is expressed as the size of the outer window, rather than the content area Values: true, false Default: false
Key: "useNVPerfHUD" [DX9 specific] Description: Enable the use of nVidia NVPerfHUD Values: true, false Default: false | ||||||||||||||||
| void | start () | |||||||||||||||
| Start anything special. | ||||||||||||||||
| void | stop () | |||||||||||||||
| Stop anything special. | ||||||||||||||||
| void * | getProcAddress (const String &procname) | |||||||||||||||
| Get the address of a function. | ||||||||||||||||
| virtual void | initialiseExtensions () | |||||||||||||||
| Initialise extensions. | ||||||||||||||||
| bool | selectPixelFormat (HDC hdc, int colourDepth, int multisample=0) | |||||||||||||||
| virtual bool | supportsPBuffers () | |||||||||||||||
| virtual GLPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height) | |||||||||||||||
| 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. | ||||||||||||||||
Protected Attributes | ||||||||||||||||
| ConfigOptionMap | mOptions | |||||||||||||||
| std::set< String > | extensionList | |||||||||||||||
Private Member Functions | ||||||||||||||||
| void | refreshConfig () | |||||||||||||||
| void | initialiseWGL () | |||||||||||||||
Static Private Member Functions | ||||||||||||||||
| static LRESULT CALLBACK | dummyWndProc (HWND hwnd, UINT umsg, WPARAM wp, LPARAM lp) | |||||||||||||||
Private Attributes | ||||||||||||||||
| std::vector< DEVMODE > | mDevModes | |||||||||||||||
| Win32Window * | mInitialWindow | |||||||||||||||
| std::vector< int > | mFSAALevels | |||||||||||||||
| bool | mHasPixelFormatARB | |||||||||||||||
| bool | mHasMultisample | |||||||||||||||
|
|
|
|
|
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. |
|
|
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport. |
|
|
compare GL version numbers
Reimplemented in Ogre::GTKGLSupport. |
|
||||||||||||||||
|
Reimplemented from Ogre::GLSupport. |
|
||||||||||||||||
|
Implements Ogre::GLSupport. |
|
||||||||||||||||||||
|
|
|
|
|
|
|
get vendor information
Definition at line 58 of file OgreGLSupport.h. References Ogre::GLSupport::mVendor. |
|
|
get version information
Definition at line 66 of file OgreGLSupport.h. References Ogre::GLSupport::mVersion. |
|
|
Get the address of a function.
Implements Ogre::GLSupport. |
|
|
Initialise extensions.
Reimplemented from Ogre::GLSupport. |
|
|
|
|
||||||||||||||||||||||||
|
Key: "colourDepth" Description: Colour depth of the resulting rendering window; only applies if fullScreen is set. Values: 16 or 32 Default: desktop depth Notes: [W32 specific] Key: "left" Description: screen x coordinate from left Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "top" Description: screen y coordinate from top Values: positive integers Default: 'center window on screen' Notes: Ignored in case of full screen Key: "depthBuffer" [DX9 specific] Description: Use depth buffer Values: false or true Default: true Key: "externalWindowHandle" [API specific] Description: External window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*) for GLX Default: 0 (None) Key: "parentWindowHandle" [API specific] Description: Parent window handle, for embedding the OGRE context Values: positive integer for W32 (HWND handle) poslong:posint:poslong for GLX (display*:screen:windowHandle) Default: 0 (None) Key: "FSAA" Description: Full screen antialiasing factor Values: 0,2,4,6,... Default: 0 Key: "displayFrequency" Description: Display frequency rate, for fullscreen mode Values: 60...? Default: Desktop vsync rate Key: "vsync" Description: Synchronize buffer swaps to vsync Values: true, false Default: 0 Key: "border" Description: The type of window border (in windowed mode) Values: none, fixed, resize Default: resize Key: "outerDimensions" Description: Whether the width/height is expressed as the size of the outer window, rather than the content area Values: true, false Default: false Key: "useNVPerfHUD" [DX9 specific] Description: Enable the use of nVidia NVPerfHUD Values: true, false Default: false
Implements Ogre::GLSupport. |
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
Reimplemented from Ogre::GLSupport. |
|
|
Start anything special.
Implements Ogre::GLSupport. |
|
|
Stop anything special.
Implements Ogre::GLSupport. |
|
|
Reimplemented from Ogre::GLSupport. |
|
|
Make sure all the extra options are valid.
Implements Ogre::GLSupport. |
|
|
Definition at line 95 of file OgreGLSupport.h. |
|
|
Definition at line 62 of file OgreWin32GLSupport.h. |
|
|
Definition at line 64 of file OgreWin32GLSupport.h. |
|
|
Definition at line 66 of file OgreWin32GLSupport.h. |
|
|
Definition at line 65 of file OgreWin32GLSupport.h. |
|
|
Definition at line 63 of file OgreWin32GLSupport.h. |
|
|
Definition at line 92 of file OgreGLSupport.h. |
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Jan 21 10:12:08 2007