28 #ifndef OGRE_GLSUPPORT_H 29 #define OGRE_GLSUPPORT_H 41 class GLStateCacheManager;
54 virtual void addConfig() = 0;
56 virtual void setConfigOption(
const String &name,
const String &value);
62 virtual String validateConfig() = 0;
69 virtual RenderWindow* newWindow(
const String &name,
unsigned int width,
unsigned int height,
72 virtual bool supportsPBuffers();
77 return mStateCacheManager;
82 mStateCacheManager = stateCacheMgr;
88 virtual void start() = 0;
92 virtual void stop() = 0;
113 bool checkMinGLVersion(
const String& v)
const;
118 virtual bool checkExtension(
const String& ext)
const;
122 virtual void* getProcAddress(
const String& procname) = 0;
127 virtual void initialiseExtensions();
151 #endif // OGRE_GLSUPPORT_H An off-screen rendering context.
GLStateCacheManager * mStateCacheManager
const String & getGLVersion(void) const
Get version information.
An in memory cache of the OpenGL state.
const String & getGLVendor(void) const
Get vendor information.
PixelComponentType
Pixel component format.
Implementation of GL as a rendering system.
map< String, ConfigOption >::type ConfigOptionMap
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
set< String >::type extensionList
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
void setStateCacheManager(GLStateCacheManager *stateCacheMgr)
Manages the target rendering window.
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
GLStateCacheManager * getStateCacheManager() const