29 #ifndef __GLES2Support_H__
30 #define __GLES2Support_H__
38 class GLES2RenderSystem;
39 class GLES2StateCacheManager;
52 virtual void addConfig() = 0;
53 virtual void setConfigOption(
const String &name,
const String &value);
59 virtual String validateConfig() = 0;
61 virtual RenderWindow* createWindow(
bool autoCreateWindow,
63 const String& windowTitle) = 0;
67 unsigned int width,
unsigned int height,
92 return mShaderCachePath;
100 return mShaderLibraryPath;
108 mShaderCachePath = path;
116 mShaderLibraryPath = path;
122 virtual void *getProcAddress(
const String& procname) = 0;
127 virtual void initialiseExtensions();
132 virtual bool checkExtension(
const String& ext)
const;
145 return mStateCacheMgr;
153 mStateCacheMgr = stateCacheMgr;
159 virtual void start() = 0;
163 virtual void stop() = 0;
Manages the target rendering window.
const String & getShaderCachePath(void) const
Get shader cache path.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
const String & getGLVersion(void) const
Get version information.
String mShaderLibraryPath
An in memory cache of the OpenGL ES state.
void setShaderLibraryPath(String path)
Set shader library path.
void setStateCacheManager(GLES2StateCacheManager *stateCacheMgr)
Set a valid state cache manager.
Implementation of GL ES 2.x as a rendering system.
const String & getGLVendor(void) const
Get vendor information.
set< String >::type extensionList
map< String, ConfigOption >::type ConfigOptionMap
GLES2StateCacheManager * getStateCacheManager() const
Get the state cache manager.
const String & getShaderLibraryPath(void) const
Get shader library path.
void setShaderCachePath(String path)
Set shader cache path.
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
GLES2StateCacheManager * mStateCacheMgr