#include <OgreEGLSupport.h>
Public Member Functions | |
EGLSupport () | |
EGLSupport () | |
virtual | ~EGLSupport () |
virtual | ~EGLSupport () |
void | addConfig (void) |
Add any special config values to the system. More... | |
void | addConfig (void) |
Add any special config values to the system. More... | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. More... | |
virtual bool | checkExtension (const String &ext) const |
Check if an extension is available. More... | |
EGLConfig * | chooseGLConfig (const EGLint *attribList, EGLint *nElements) |
EGLConfig * | chooseGLConfig (const EGLint *attribList, EGLint *nElements) |
::EGLContext | createNewContext (EGLDisplay eglDisplay,::EGLConfig glconfig,::EGLContext shareList) const |
::EGLContext | createNewContext (EGLDisplay eglDisplay,::EGLConfig glconfig,::EGLContext shareList) const |
virtual GLESPBuffer * | createPBuffer (PixelComponentType format, size_t width, size_t height)=0 |
RenderWindow * | createWindow (bool autoCreateWindow, GLESRenderSystem *renderSystem, const String &windowTitle) |
RenderWindow * | createWindow (bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle) |
virtual ConfigOptionMap & | getConfigOptions (void) |
virtual ConfigOptionMap & | getConfigOptions (void) |
EGLConfig * | getConfigs (EGLint *nElements) |
virtual unsigned int | getDisplayMonitorCount () const |
virtual unsigned int | getDisplayMonitorCount () const |
Gets the number of display monitors. More... | |
virtual String | getDisplayName (void) |
virtual String | getDisplayName (void) |
EGLBoolean | getGLConfigAttrib (EGLConfig fbConfig, EGLint attribute, EGLint *value) |
EGLBoolean | getGLConfigAttrib (EGLConfig fbConfig, EGLint attribute, EGLint *value) |
::EGLConfig | getGLConfigFromContext (::EGLContext context) |
::EGLConfig | getGLConfigFromContext (::EGLContext context) |
::EGLConfig | getGLConfigFromDrawable (::EGLSurface drawable, unsigned int *w, unsigned int *h) |
::EGLConfig | getGLConfigFromDrawable (::EGLSurface drawable, unsigned int *w, unsigned int *h) |
EGLDisplay | getGLDisplay (void) |
EGLDisplay | getGLDisplay (void) |
const String & | getGLVendor (void) const |
Get vendor information. More... | |
const String & | getGLVendor (void) const |
Get vendor information. More... | |
const String & | getGLVersion (void) const |
Get version information. More... | |
const String & | getGLVersion (void) const |
Get version information. More... | |
void * | getProcAddress (const Ogre::String &name) |
Get the address of a function. More... | |
void * | getProcAddress (const Ogre::String &name) |
Get the address of a function. More... | |
const String & | getShaderCachePath (void) const |
Get shader cache path. More... | |
const String & | getShaderLibraryPath (void) const |
Get shader library path. More... | |
GLESStateCacheManager * | getStateCacheManager () const |
Get the state cache manager. More... | |
GLES2StateCacheManager * | getStateCacheManager () const |
Get the state cache manager. More... | |
virtual void | initialiseExtensions () |
Initialises GL extensions, must be done AFTER the GL context has been established. More... | |
virtual void | initialiseExtensions () |
Initialises GL extensions, must be done AFTER the GL context has been established. More... | |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0 |
Creates a new rendering window. More... | |
virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0 |
Creates a new rendering window. More... | |
::EGLConfig | selectGLConfig (const EGLint *minAttribs, const EGLint *maxAttribs) |
::EGLConfig | selectGLConfig (const EGLint *minAttribs, const EGLint *maxAttribs) |
void | setConfigOption (const String &name, const String &value) |
void | setConfigOption (const String &name, const String &value) |
void | setGLDisplay (EGLDisplay val) |
void | setGLDisplay (EGLDisplay val) |
void | setShaderCachePath (String path) |
Set shader cache path. More... | |
void | setShaderLibraryPath (String path) |
Set shader library path. More... | |
void | setStateCacheManager (GLESStateCacheManager *stateCacheMgr) |
Set a valid state cache manager. More... | |
void | setStateCacheManager (GLES2StateCacheManager *stateCacheMgr) |
Set a valid state cache manager. More... | |
void | start (void) |
Start anything special. More... | |
void | start (void) |
Start anything special. More... | |
void | stop (void) |
Stop anything special. More... | |
void | stop (void) |
Stop anything special. More... | |
void | switchMode (void) |
void | switchMode (void) |
virtual void | switchMode (uint &width, uint &height, short &frequency)=0 |
virtual void | switchMode (uint &width, uint &height, short &frequency)=0 |
String | validateConfig (void) |
Make sure all the extra options are valid. More... | |
String | validateConfig (void) |
Make sure all the extra options are valid. More... | |
Protected Types | |
typedef short | Rate |
typedef short | Rate |
typedef std::pair< uint, uint > | ScreenSize |
typedef std::pair< uint, uint > | ScreenSize |
typedef std::pair< ScreenSize, Rate > | VideoMode |
typedef std::pair< ScreenSize, Rate > | VideoMode |
typedef std::vector< VideoMode > | VideoModes |
typedef std::vector< VideoMode > | VideoModes |
Protected Member Functions | |
void | refreshConfig (void) |
void | refreshConfig (void) |
Protected Attributes | |
std::set< String > | extensionList |
set< String >::type | extensionList |
VideoMode | mCurrentMode |
EGLDisplay | mGLDisplay |
bool | mIsExternalDisplay |
NativeDisplayType | mNativeDisplay |
ConfigOptionMap | mOptions |
ConfigOptionMap | mOptions |
VideoMode | mOriginalMode |
bool | mRandr |
StringVector | mSampleLevels |
GLESStateCacheManager * | mStateCacheMgr |
GLES2StateCacheManager * | mStateCacheMgr |
VideoModes | mVideoModes |
Definition at line 47 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 58 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 58 of file /include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 57 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 57 of file /include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 59 of file /include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 59 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 60 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 60 of file /include/EGL/OgreEGLSupport.h.
Ogre::EGLSupport::EGLSupport | ( | ) |
|
virtual |
Ogre::EGLSupport::EGLSupport | ( | ) |
|
virtual |
|
virtual |
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::GLESSupport.
|
virtual |
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::GLESSupport.
|
virtualinherited |
Check if an extension is available.
|
virtualinherited |
Check if an extension is available.
EGLConfig* Ogre::EGLSupport::chooseGLConfig | ( | const EGLint * | attribList, |
EGLint * | nElements | ||
) |
EGLConfig* Ogre::EGLSupport::chooseGLConfig | ( | const EGLint * | attribList, |
EGLint * | nElements | ||
) |
::EGLContext Ogre::EGLSupport::createNewContext | ( | EGLDisplay | eglDisplay, |
::EGLConfig | glconfig, | ||
::EGLContext | shareList | ||
) | const |
::EGLContext Ogre::EGLSupport::createNewContext | ( | EGLDisplay | eglDisplay, |
::EGLConfig | glconfig, | ||
::EGLContext | shareList | ||
) | const |
|
pure virtual |
Implements Ogre::GLESSupport.
Implemented in Ogre::X11EGLSupport, Ogre::Win32EGLSupport, and Ogre::AndroidEGLSupport.
|
virtual |
Implements Ogre::GLESSupport.
|
virtual |
Implements Ogre::GLES2Support.
|
virtualinherited |
|
virtualinherited |
EGLConfig* Ogre::EGLSupport::getConfigs | ( | EGLint * | nElements | ) |
|
inlinevirtualinherited |
Definition at line 104 of file OgreGLESSupport.h.
|
inlinevirtualinherited |
Gets the number of display monitors.
Definition at line 135 of file OgreGLES2Support.h.
|
virtual |
Reimplemented in Ogre::X11EGLSupport, and Ogre::X11EGLSupport.
|
virtual |
Reimplemented in Ogre::X11EGLSupport, and Ogre::X11EGLSupport.
EGLBoolean Ogre::EGLSupport::getGLConfigAttrib | ( | EGLConfig | fbConfig, |
EGLint | attribute, | ||
EGLint * | value | ||
) |
EGLBoolean Ogre::EGLSupport::getGLConfigAttrib | ( | EGLConfig | fbConfig, |
EGLint | attribute, | ||
EGLint * | value | ||
) |
::EGLConfig Ogre::EGLSupport::getGLConfigFromContext | ( | ::EGLContext | context | ) |
::EGLConfig Ogre::EGLSupport::getGLConfigFromContext | ( | ::EGLContext | context | ) |
::EGLConfig Ogre::EGLSupport::getGLConfigFromDrawable | ( | ::EGLSurface | drawable, |
unsigned int * | w, | ||
unsigned int * | h | ||
) |
::EGLConfig Ogre::EGLSupport::getGLConfigFromDrawable | ( | ::EGLSurface | drawable, |
unsigned int * | w, | ||
unsigned int * | h | ||
) |
EGLDisplay Ogre::EGLSupport::getGLDisplay | ( | void | ) |
EGLDisplay Ogre::EGLSupport::getGLDisplay | ( | void | ) |
|
inlineinherited |
Get vendor information.
Definition at line 74 of file OgreGLES2Support.h.
|
inlineinherited |
Get vendor information.
Definition at line 76 of file OgreGLESSupport.h.
|
inlineinherited |
Get version information.
Definition at line 82 of file OgreGLES2Support.h.
|
inlineinherited |
Get version information.
Definition at line 84 of file OgreGLESSupport.h.
|
virtual |
Get the address of a function.
Implements Ogre::GLESSupport.
|
virtual |
Get the address of a function.
Implements Ogre::GLESSupport.
|
inlineinherited |
Get shader cache path.
Definition at line 90 of file OgreGLES2Support.h.
|
inlineinherited |
Get shader library path.
Definition at line 98 of file OgreGLES2Support.h.
|
inlineinherited |
Get the state cache manager.
Definition at line 112 of file OgreGLESSupport.h.
|
inlineinherited |
Get the state cache manager.
Definition at line 143 of file OgreGLES2Support.h.
|
virtualinherited |
Initialises GL extensions, must be done AFTER the GL context has been established.
|
virtualinherited |
Initialises GL extensions, must be done AFTER the GL context has been established.
|
pure virtualinherited |
Creates a new rendering window.
name | The name of the window. Used in other methods later like setRenderTarget and getRenderTarget. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
width | The width of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
height | The height of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fullScreen | Specify true to make the window full screen without borders, title bar or menu bar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise:
|
Implemented in Ogre::X11EGLSupport, Ogre::X11EGLSupport, Ogre::EAGL2Support, Ogre::Win32EGLSupport, Ogre::Win32EGLSupport, Ogre::NaClGLSupport, Ogre::AndroidEGLSupport, and Ogre::AndroidEGLSupport.
|
pure virtualinherited |
Creates a new rendering window.
name | The name of the window. Used in other methods later like setRenderTarget and getRenderTarget. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
width | The width of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
height | The height of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fullScreen | Specify true to make the window full screen without borders, title bar or menu bar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise:
|
Implemented in Ogre::X11EGLSupport, Ogre::X11EGLSupport, Ogre::EAGLSupport, Ogre::Win32EGLSupport, Ogre::Win32EGLSupport, Ogre::AndroidEGLSupport, and Ogre::AndroidEGLSupport.
|
protected |
|
protected |
::EGLConfig Ogre::EGLSupport::selectGLConfig | ( | const EGLint * | minAttribs, |
const EGLint * | maxAttribs | ||
) |
::EGLConfig Ogre::EGLSupport::selectGLConfig | ( | const EGLint * | minAttribs, |
const EGLint * | maxAttribs | ||
) |
Reimplemented from Ogre::GLESSupport.
Reimplemented from Ogre::GLESSupport.
void Ogre::EGLSupport::setGLDisplay | ( | EGLDisplay | val | ) |
void Ogre::EGLSupport::setGLDisplay | ( | EGLDisplay | val | ) |
|
inlineinherited |
Set shader cache path.
Definition at line 106 of file OgreGLES2Support.h.
|
inlineinherited |
Set shader library path.
Definition at line 114 of file OgreGLES2Support.h.
|
inlineinherited |
Set a valid state cache manager.
Definition at line 120 of file OgreGLESSupport.h.
|
inlineinherited |
Set a valid state cache manager.
Definition at line 151 of file OgreGLES2Support.h.
|
virtual |
Start anything special.
Implements Ogre::GLESSupport.
|
virtual |
Start anything special.
Implements Ogre::GLESSupport.
|
virtual |
Stop anything special.
Implements Ogre::GLESSupport.
|
virtual |
Stop anything special.
Implements Ogre::GLESSupport.
void Ogre::EGLSupport::switchMode | ( | void | ) |
void Ogre::EGLSupport::switchMode | ( | void | ) |
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GLESSupport.
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GLESSupport.
|
protectedinherited |
Definition at line 144 of file OgreGLESSupport.h.
Definition at line 176 of file OgreGLES2Support.h.
|
protected |
Definition at line 63 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 52 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 55 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 53 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 141 of file OgreGLESSupport.h.
|
protectedinherited |
Definition at line 173 of file OgreGLES2Support.h.
|
protected |
Definition at line 62 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 56 of file include/EGL/OgreEGLSupport.h.
|
protected |
Definition at line 64 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 146 of file OgreGLESSupport.h.
|
protectedinherited |
Definition at line 179 of file OgreGLES2Support.h.
|
protected |
Definition at line 61 of file include/EGL/OgreEGLSupport.h.