#include <OgreWin32GLSupport.h>
Inheritance diagram for Ogre::Win32GLSupport:
Public Methods | |
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, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, RenderWindow *parentWindowHandle, bool vsync) |
Create a new specific render window. | |
void | start () |
Start anything special. | |
void | stop () |
Stop anything special. | |
void * | getProcAddress (const String &procname) |
Get the address of a function. | |
void | setExternalWindowHandle (void *hwnd) |
virtual void | resizeReposition (void *) |
virtual ConfigOptionMap & | getConfigOptions (void) |
virtual void | begin_context (RenderTarget *_target=0) |
Set the correct context (that of _target) as active. | |
virtual void | end_context () |
Stop the currrent context. | |
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 (void) |
Intialises GL extensions, must be done AFTER the GL context has been established. | |
virtual void | resizeRepositionWindow (void *window) |
Protected Attributes | |
ConfigOptionMap | mOptions |
void * | m_windowToResize |
Private Methods | |
void | refreshConfig () |
Private Attributes | |
vector< DEVMODE > | mDevModes |
HWND | mExternalWindowHandle |
|
Definition at line 14 of file OgreWin32GLSupport.cpp. |
|
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. Definition at line 26 of file OgreWin32GLSupport.cpp. References Ogre::_ConfigOption::currentValue, Ogre::_ConfigOption::immutable, mDevModes, Ogre::GLSupport::mOptions, Ogre::_ConfigOption::name, Ogre::_ConfigOption::possibleValues, refreshConfig(), and Ogre::remove_duplicates(). |
|
Set the correct context (that of _target) as active. 0 means 'activate some context', for example in case of uploading textures. This obviously fails if there is no context yet. Reimplemented in Ogre::GTKGLSupport. Definition at line 60 of file OgreGLSupport.h. Referenced by Ogre::GLRenderSystem::_setViewport(), Ogre::GLTexture::blitToTexture(), Ogre::GLTexture::createRenderTexture(), Ogre::GLTexture::generateMipMaps(), Ogre::GLTexture::loadImages(), and Ogre::GLTexture::rescaleNPower2(). |
|
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport. Definition at line 125 of file OgreGLSupport.cpp. References Ogre::GLSupport::extensionList, and Ogre::String. Referenced by Ogre::GLRenderSystem::initGL(). |
|
compare GL version numbers
Reimplemented in Ogre::GTKGLSupport. Definition at line 88 of file OgreGLSupport.cpp. References Ogre::GLSupport::mVersion, and Ogre::String. Referenced by Ogre::GLRenderSystem::initGL(). |
|
Implements Ogre::GLSupport. Definition at line 161 of file OgreWin32GLSupport.cpp. References Ogre::GLRenderSystem::createRenderWindow(), Except, Ogre::GLSupport::mOptions, Ogre::RenderSystem::setWaitForVerticalBlank(), and Ogre::String. |
|
Stop the currrent context.
Reimplemented in Ogre::GTKGLSupport. Definition at line 67 of file OgreGLSupport.h. Referenced by Ogre::GLRenderSystem::_setViewport(), Ogre::GLTexture::blitToTexture(), Ogre::GLTexture::createRenderTexture(), Ogre::GLTexture::generateMipMaps(), Ogre::GLTexture::loadImages(), and Ogre::GLTexture::rescaleNPower2(). |
|
Definition at line 41 of file OgreGLSupport.cpp. References Ogre::ConfigOptionMap, and Ogre::GLSupport::mOptions. Referenced by Ogre::GLRenderSystem::getConfigOptions(). |
|
get vendor information
Definition at line 73 of file OgreGLSupport.h. References Ogre::GLSupport::mVendor, and Ogre::String. Referenced by Ogre::GLRenderSystem::initGL(). |
|
get version information
Definition at line 81 of file OgreGLSupport.h. References Ogre::GLSupport::mVersion, and Ogre::String. |
|
Get the address of a function.
Implements Ogre::GLSupport. Definition at line 231 of file OgreWin32GLSupport.cpp. References Ogre::String. |
|
Intialises GL extensions, must be done AFTER the GL context has been established.
Reimplemented in Ogre::GTKGLSupport. Definition at line 46 of file OgreGLSupport.cpp. References Ogre::GLSupport::extensionList, Ogre::GLSupport::mVendor, Ogre::GLSupport::mVersion, and Ogre::String. Referenced by Ogre::GLRenderSystem::initGL(). |
|
Create a new specific render window.
Implements Ogre::GLSupport. Definition at line 201 of file OgreWin32GLSupport.cpp. References Ogre::Win32Window::create(), Except, mExternalWindowHandle, Ogre::GLSupport::mOptions, Ogre::Win32Window::setExternalWindowHandle(), and Ogre::String. |
|
Definition at line 90 of file OgreWin32GLSupport.cpp. References Ogre::_ConfigOption::currentValue, Except, mDevModes, Ogre::GLSupport::mOptions, Ogre::_ConfigOption::possibleValues, Ogre::remove_duplicates(), and Ogre::String. Referenced by addConfig(), and setConfigOption(). |
|
Reimplemented from Ogre::GLSupport. Definition at line 236 of file OgreWin32GLSupport.cpp. References Ogre::Win32Window::getWindowHandle(), Ogre::GLSupport::m_windowToResize, and Ogre::Win32Window::windowMovedOrResized(). |
|
Definition at line 107 of file OgreGLSupport.h. References Ogre::GLSupport::m_windowToResize. Referenced by Ogre::GLRenderSystem::resizeRepositionWindow(). |
|
Reimplemented from Ogre::GLSupport. Definition at line 122 of file OgreWin32GLSupport.cpp. References Except, Ogre::GLSupport::mOptions, refreshConfig(), and Ogre::String. |
|
Reimplemented from Ogre::GLSupport. Definition at line 54 of file OgreWin32GLSupport.h. References mExternalWindowHandle. |
|
Start anything special.
Implements Ogre::GLSupport. Definition at line 221 of file OgreWin32GLSupport.cpp. |
|
Stop anything special.
Implements Ogre::GLSupport. Definition at line 226 of file OgreWin32GLSupport.cpp. |
|
Make sure all the extra options are valid.
Implements Ogre::GLSupport. Definition at line 155 of file OgreWin32GLSupport.cpp. References Ogre::String. |
|
Definition at line 114 of file OgreGLSupport.h. Referenced by resizeReposition(), and Ogre::GLSupport::resizeRepositionWindow(). |
|
Definition at line 61 of file OgreWin32GLSupport.h. Referenced by addConfig(), and refreshConfig(). |
|
Definition at line 65 of file OgreWin32GLSupport.h. Referenced by newWindow(), and setExternalWindowHandle(). |
|
Definition at line 112 of file OgreGLSupport.h. Referenced by addConfig(), Ogre::SDLGLSupport::addConfig(), Ogre::GTKGLSupport::addConfig(), Ogre::GLXGLSupport::addConfig(), createWindow(), Ogre::SDLGLSupport::createWindow(), Ogre::GTKGLSupport::createWindow(), Ogre::GLXGLSupport::createWindow(), Ogre::GLSupport::getConfigOptions(), newWindow(), refreshConfig(), setConfigOption(), and Ogre::GLSupport::setConfigOption(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:47 2004