#include <OgreGLXGLSupport.h>
Inheritance diagram for Ogre::GLXGLSupport:
Public Methods | |
GLXGLSupport () | |
~GLXGLSupport () | |
void | addConfig (void) |
Add any special config values to the system. | |
String | validateConfig (void) |
Make sure all the extra options are valid. | |
virtual RenderWindow * | createWindow (bool autoCreateWindow, GLRenderSystem *renderSystem, const String &windowTitle) |
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. | |
virtual void | setConfigOption (const String &name, const String &value) |
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. | |
void | setExternalWindowHandle (void *hwnd) |
virtual void | initialiseExtensions (void) |
Intialises GL extensions, must be done AFTER the GL context has been established. | |
virtual void | resizeRepositionWindow (void *window) |
virtual void | resizeReposition (void *) |
Protected Attributes | |
ConfigOptionMap | mOptions |
void * | m_windowToResize |
Private Attributes | |
Display * | mDisplay |
|
Definition at line 36 of file OgreGLXGLSupport.cpp. |
|
Definition at line 39 of file OgreGLXGLSupport.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 wxh Implements Ogre::GLSupport. Definition at line 41 of file OgreGLXGLSupport.cpp. References Ogre::_ConfigOption::currentValue, Ogre::_ConfigOption::immutable, Ogre::GLSupport::mOptions, Ogre::_ConfigOption::name, and Ogre::_ConfigOption::possibleValues. |
|
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 78 of file OgreGLXGLSupport.cpp. References Ogre::GLRenderSystem::createRenderWindow(), Except, mDisplay, Ogre::GLSupport::mOptions, 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 142 of file OgreGLXGLSupport.cpp. References Ogre::glXGetProcAddressARB, and 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 108 of file OgreGLXGLSupport.cpp. References Ogre::GLXWindow::create(), mDisplay, and Ogre::String. |
|
Reimplemented in Ogre::Win32GLSupport. Definition at line 108 of file OgreGLSupport.h. Referenced by Ogre::GLRenderSystem::resizeRepositionWindow(). |
|
Definition at line 107 of file OgreGLSupport.h. References Ogre::GLSupport::m_windowToResize. Referenced by Ogre::GLRenderSystem::resizeRepositionWindow(). |
|
Reimplemented in Ogre::Win32GLSupport. Definition at line 33 of file OgreGLSupport.cpp. References Ogre::GLSupport::mOptions, and Ogre::String. Referenced by Ogre::GLRenderSystem::setConfigOption(). |
|
Reimplemented in Ogre::Win32GLSupport. Definition at line 100 of file OgreGLSupport.h. Referenced by Ogre::GLRenderSystem::createRenderWindow(). |
|
Start anything special.
Implements Ogre::GLSupport. Definition at line 117 of file OgreGLXGLSupport.cpp. |
|
Stop anything special.
Implements Ogre::GLSupport. Definition at line 129 of file OgreGLXGLSupport.cpp. References mDisplay. |
|
Make sure all the extra options are valid.
Implements Ogre::GLSupport. Definition at line 74 of file OgreGLXGLSupport.cpp. References Ogre::String. |
|
Definition at line 114 of file OgreGLSupport.h. Referenced by Ogre::Win32GLSupport::resizeReposition(), and Ogre::GLSupport::resizeRepositionWindow(). |
|
Definition at line 55 of file OgreGLXGLSupport.h. Referenced by createWindow(), newWindow(), start(), and stop(). |
|
Definition at line 112 of file OgreGLSupport.h. Referenced by Ogre::Win32GLSupport::addConfig(), Ogre::SDLGLSupport::addConfig(), Ogre::GTKGLSupport::addConfig(), addConfig(), Ogre::Win32GLSupport::createWindow(), Ogre::SDLGLSupport::createWindow(), Ogre::GTKGLSupport::createWindow(), createWindow(), Ogre::GLSupport::getConfigOptions(), Ogre::Win32GLSupport::newWindow(), Ogre::Win32GLSupport::refreshConfig(), Ogre::Win32GLSupport::setConfigOption(), and Ogre::GLSupport::setConfigOption(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:49:39 2004