#include <OgreAndroidEGLSupport.h>

Public Member Functions | |
| AndroidEGLSupport () | |
| AndroidEGLSupport () | |
| virtual | ~AndroidEGLSupport () |
| virtual | ~AndroidEGLSupport () |
| void | addConfig (void) |
| Add any special config values to the system. | |
| void | addConfig (void) |
| Add any special config values to the system. | |
| virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available. | |
| virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available. | |
| 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) |
| 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 |
| 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. | |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const String & | getGLVersion (void) const |
| Get version information. | |
| const String & | getGLVersion (void) const |
| Get version information. | |
| void * | getProcAddress (const Ogre::String &name) |
| Get the address of a function. | |
| void * | getProcAddress (const Ogre::String &name) |
| Get the address of a function. | |
| const String & | getShaderCachePath (void) const |
| Get shader cache path. | |
| const String & | getShaderLibraryPath (void) const |
| Get shader library path. | |
| GLESStateCacheManager * | getStateCacheManager () const |
| Get the state cache manager. | |
| GLES2StateCacheManager * | getStateCacheManager () const |
| Get the state cache manager. | |
| virtual void | initialiseExtensions () |
| Initialises GL extensions, must be done AFTER the GL context has been established. | |
| virtual void | initialiseExtensions () |
| Initialises GL extensions, must be done AFTER the GL context has been established. | |
| virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
| virtual RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
| ::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. | |
| void | setShaderLibraryPath (String path) |
| Set shader library path. | |
| void | setStateCacheManager (GLESStateCacheManager *stateCacheMgr) |
| Set a valid state cache manager. | |
| void | setStateCacheManager (GLES2StateCacheManager *stateCacheMgr) |
| Set a valid state cache manager. | |
| void | start (void) |
| Start anything special. | |
| void | start (void) |
| Start anything special. | |
| void | stop (void) |
| Stop anything special. | |
| void | stop (void) |
| Stop anything special. | |
| virtual void | switchMode (uint &width, uint &height, short &frequency) |
| virtual void | switchMode (uint &width, uint &height, short &frequency) |
| void | switchMode (void) |
| String | validateConfig (void) |
| Make sure all the extra options are valid. | |
| String | validateConfig (void) |
| Make sure all the extra options are valid. | |
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 35 of file include/EGL/Android/OgreAndroidEGLSupport.h.
typedef short Ogre::EGLSupport::Rate [protected, inherited] |
Definition at line 58 of file include/EGL/OgreEGLSupport.h.
typedef short Ogre::EGLSupport::Rate [protected, inherited] |
Definition at line 58 of file /include/EGL/OgreEGLSupport.h.
typedef std::pair<uint, uint> Ogre::EGLSupport::ScreenSize [protected, inherited] |
Definition at line 57 of file /include/EGL/OgreEGLSupport.h.
typedef std::pair<uint, uint> Ogre::EGLSupport::ScreenSize [protected, inherited] |
Definition at line 57 of file include/EGL/OgreEGLSupport.h.
typedef std::pair<ScreenSize, Rate> Ogre::EGLSupport::VideoMode [protected, inherited] |
Definition at line 59 of file include/EGL/OgreEGLSupport.h.
typedef std::pair<ScreenSize, Rate> Ogre::EGLSupport::VideoMode [protected, inherited] |
Definition at line 59 of file /include/EGL/OgreEGLSupport.h.
typedef std::vector<VideoMode> Ogre::EGLSupport::VideoModes [protected, inherited] |
Definition at line 60 of file /include/EGL/OgreEGLSupport.h.
typedef std::vector<VideoMode> Ogre::EGLSupport::VideoModes [protected, inherited] |
Definition at line 60 of file include/EGL/OgreEGLSupport.h.
| virtual Ogre::AndroidEGLSupport::~AndroidEGLSupport | ( | ) | [virtual] |
| virtual Ogre::AndroidEGLSupport::~AndroidEGLSupport | ( | ) | [virtual] |
| void Ogre::EGLSupport::addConfig | ( | void | ) | [virtual, inherited] |
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.
| void Ogre::EGLSupport::addConfig | ( | void | ) | [virtual, inherited] |
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 bool Ogre::GLESSupport::checkExtension | ( | const String & | ext | ) | const [virtual, inherited] |
Check if an extension is available.
| virtual bool Ogre::GLES2Support::checkExtension | ( | const String & | ext | ) | const [virtual, inherited] |
Check if an extension is available.
| EGLConfig* Ogre::EGLSupport::chooseGLConfig | ( | const EGLint * | attribList, |
| EGLint * | nElements | ||
| ) | [inherited] |
| EGLConfig* Ogre::EGLSupport::chooseGLConfig | ( | const EGLint * | attribList, |
| EGLint * | nElements | ||
| ) | [inherited] |
| ::EGLContext Ogre::EGLSupport::createNewContext | ( | EGLDisplay | eglDisplay, |
| ::EGLConfig | glconfig, | ||
| ::EGLContext | shareList | ||
| ) | const [inherited] |
| ::EGLContext Ogre::EGLSupport::createNewContext | ( | EGLDisplay | eglDisplay, |
| ::EGLConfig | glconfig, | ||
| ::EGLContext | shareList | ||
| ) | const [inherited] |
| virtual GLESPBuffer* Ogre::AndroidEGLSupport::createPBuffer | ( | PixelComponentType | format, |
| size_t | width, | ||
| size_t | height | ||
| ) | [virtual] |
Implements Ogre::EGLSupport.
| RenderWindow* Ogre::EGLSupport::createWindow | ( | bool | autoCreateWindow, |
| GLESRenderSystem * | renderSystem, | ||
| const String & | windowTitle | ||
| ) | [virtual, inherited] |
Implements Ogre::GLESSupport.
| RenderWindow* Ogre::EGLSupport::createWindow | ( | bool | autoCreateWindow, |
| GLES2RenderSystem * | renderSystem, | ||
| const String & | windowTitle | ||
| ) | [virtual, inherited] |
Implements Ogre::GLES2Support.
| virtual ConfigOptionMap& Ogre::GLES2Support::getConfigOptions | ( | void | ) | [virtual, inherited] |
| virtual ConfigOptionMap& Ogre::GLESSupport::getConfigOptions | ( | void | ) | [virtual, inherited] |
| EGLConfig* Ogre::EGLSupport::getConfigs | ( | EGLint * | nElements | ) | [inherited] |
| virtual unsigned int Ogre::GLESSupport::getDisplayMonitorCount | ( | ) | const [virtual, inherited] |
Definition at line 104 of file OgreGLESSupport.h.
| virtual unsigned int Ogre::GLES2Support::getDisplayMonitorCount | ( | ) | const [virtual, inherited] |
Gets the number of display monitors.
Definition at line 135 of file OgreGLES2Support.h.
| virtual String Ogre::EGLSupport::getDisplayName | ( | void | ) | [virtual, inherited] |
Reimplemented in Ogre::X11EGLSupport, and Ogre::X11EGLSupport.
| virtual String Ogre::EGLSupport::getDisplayName | ( | void | ) | [virtual, inherited] |
Reimplemented in Ogre::X11EGLSupport, and Ogre::X11EGLSupport.
| EGLBoolean Ogre::EGLSupport::getGLConfigAttrib | ( | EGLConfig | fbConfig, |
| EGLint | attribute, | ||
| EGLint * | value | ||
| ) | [inherited] |
| EGLBoolean Ogre::EGLSupport::getGLConfigAttrib | ( | EGLConfig | fbConfig, |
| EGLint | attribute, | ||
| EGLint * | value | ||
| ) | [inherited] |
| ::EGLConfig Ogre::EGLSupport::getGLConfigFromContext | ( | ::EGLContext | context | ) | [inherited] |
| ::EGLConfig Ogre::EGLSupport::getGLConfigFromContext | ( | ::EGLContext | context | ) | [inherited] |
| ::EGLConfig Ogre::EGLSupport::getGLConfigFromDrawable | ( | ::EGLSurface | drawable, |
| unsigned int * | w, | ||
| unsigned int * | h | ||
| ) | [inherited] |
| ::EGLConfig Ogre::EGLSupport::getGLConfigFromDrawable | ( | ::EGLSurface | drawable, |
| unsigned int * | w, | ||
| unsigned int * | h | ||
| ) | [inherited] |
| EGLDisplay Ogre::EGLSupport::getGLDisplay | ( | void | ) | [inherited] |
Reimplemented in Ogre::X11EGLSupport, Ogre::X11EGLSupport, Ogre::Win32EGLSupport, and Ogre::Win32EGLSupport.
| EGLDisplay Ogre::EGLSupport::getGLDisplay | ( | void | ) | [inherited] |
Reimplemented in Ogre::X11EGLSupport, Ogre::X11EGLSupport, Ogre::Win32EGLSupport, and Ogre::Win32EGLSupport.
| const String& Ogre::GLES2Support::getGLVendor | ( | void | ) | const [inherited] |
Get vendor information.
Definition at line 74 of file OgreGLES2Support.h.
| const String& Ogre::GLESSupport::getGLVendor | ( | void | ) | const [inherited] |
Get vendor information.
Definition at line 76 of file OgreGLESSupport.h.
| const String& Ogre::GLES2Support::getGLVersion | ( | void | ) | const [inherited] |
Get version information.
Definition at line 82 of file OgreGLES2Support.h.
| const String& Ogre::GLESSupport::getGLVersion | ( | void | ) | const [inherited] |
Get version information.
Definition at line 84 of file OgreGLESSupport.h.
| void* Ogre::EGLSupport::getProcAddress | ( | const Ogre::String & | procname | ) | [virtual, inherited] |
Get the address of a function.
Implements Ogre::GLESSupport.
| void* Ogre::EGLSupport::getProcAddress | ( | const Ogre::String & | procname | ) | [virtual, inherited] |
Get the address of a function.
Implements Ogre::GLESSupport.
| const String& Ogre::GLES2Support::getShaderCachePath | ( | void | ) | const [inherited] |
Get shader cache path.
Definition at line 90 of file OgreGLES2Support.h.
| const String& Ogre::GLES2Support::getShaderLibraryPath | ( | void | ) | const [inherited] |
Get shader library path.
Definition at line 98 of file OgreGLES2Support.h.
| GLESStateCacheManager* Ogre::GLESSupport::getStateCacheManager | ( | ) | const [inherited] |
Get the state cache manager.
Definition at line 112 of file OgreGLESSupport.h.
| GLES2StateCacheManager* Ogre::GLES2Support::getStateCacheManager | ( | ) | const [inherited] |
Get the state cache manager.
Definition at line 143 of file OgreGLES2Support.h.
| virtual void Ogre::GLESSupport::initialiseExtensions | ( | ) | [virtual, inherited] |
Initialises GL extensions, must be done AFTER the GL context has been established.
| virtual void Ogre::GLES2Support::initialiseExtensions | ( | ) | [virtual, inherited] |
Initialises GL extensions, must be done AFTER the GL context has been established.
| virtual RenderWindow* Ogre::AndroidEGLSupport::newWindow | ( | const String & | name, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| bool | fullScreen, | ||
| const NameValuePairList * | miscParams = 0 |
||
| ) | [virtual] |
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:
|
Implements Ogre::GLESSupport.
| virtual RenderWindow* Ogre::AndroidEGLSupport::newWindow | ( | const String & | name, |
| unsigned int | width, | ||
| unsigned int | height, | ||
| bool | fullScreen, | ||
| const NameValuePairList * | miscParams = 0 |
||
| ) | [virtual] |
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:
|
Implements Ogre::GLESSupport.
| void Ogre::EGLSupport::refreshConfig | ( | void | ) | [protected, inherited] |
| void Ogre::EGLSupport::refreshConfig | ( | void | ) | [protected, inherited] |
| ::EGLConfig Ogre::EGLSupport::selectGLConfig | ( | const EGLint * | minAttribs, |
| const EGLint * | maxAttribs | ||
| ) | [inherited] |
| ::EGLConfig Ogre::EGLSupport::selectGLConfig | ( | const EGLint * | minAttribs, |
| const EGLint * | maxAttribs | ||
| ) | [inherited] |
| void Ogre::EGLSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual, inherited] |
Reimplemented from Ogre::GLESSupport.
| void Ogre::EGLSupport::setConfigOption | ( | const String & | name, |
| const String & | value | ||
| ) | [virtual, inherited] |
Reimplemented from Ogre::GLESSupport.
| void Ogre::EGLSupport::setGLDisplay | ( | EGLDisplay | val | ) | [inherited] |
| void Ogre::EGLSupport::setGLDisplay | ( | EGLDisplay | val | ) | [inherited] |
| void Ogre::GLES2Support::setShaderCachePath | ( | String | path | ) | [inherited] |
Set shader cache path.
Definition at line 106 of file OgreGLES2Support.h.
| void Ogre::GLES2Support::setShaderLibraryPath | ( | String | path | ) | [inherited] |
Set shader library path.
Definition at line 114 of file OgreGLES2Support.h.
| void Ogre::GLESSupport::setStateCacheManager | ( | GLESStateCacheManager * | stateCacheMgr | ) | [inherited] |
Set a valid state cache manager.
Definition at line 120 of file OgreGLESSupport.h.
| void Ogre::GLES2Support::setStateCacheManager | ( | GLES2StateCacheManager * | stateCacheMgr | ) | [inherited] |
Set a valid state cache manager.
Definition at line 151 of file OgreGLES2Support.h.
| void Ogre::EGLSupport::start | ( | void | ) | [virtual, inherited] |
Start anything special.
Implements Ogre::GLESSupport.
| void Ogre::EGLSupport::start | ( | void | ) | [virtual, inherited] |
Start anything special.
Implements Ogre::GLESSupport.
| void Ogre::EGLSupport::stop | ( | void | ) | [virtual, inherited] |
Stop anything special.
Implements Ogre::GLESSupport.
| void Ogre::EGLSupport::stop | ( | void | ) | [virtual, inherited] |
Stop anything special.
Implements Ogre::GLESSupport.
| virtual void Ogre::AndroidEGLSupport::switchMode | ( | uint & | width, |
| uint & | height, | ||
| short & | frequency | ||
| ) | [virtual] |
Implements Ogre::EGLSupport.
| virtual void Ogre::AndroidEGLSupport::switchMode | ( | uint & | width, |
| uint & | height, | ||
| short & | frequency | ||
| ) | [virtual] |
Implements Ogre::EGLSupport.
| void Ogre::EGLSupport::switchMode | ( | void | ) | [inherited] |
| String Ogre::EGLSupport::validateConfig | ( | void | ) | [virtual, inherited] |
Make sure all the extra options are valid.
Implements Ogre::GLESSupport.
| String Ogre::EGLSupport::validateConfig | ( | void | ) | [virtual, inherited] |
Make sure all the extra options are valid.
Implements Ogre::GLESSupport.
std::set<String> Ogre::GLESSupport::extensionList [protected, inherited] |
Definition at line 144 of file OgreGLESSupport.h.
set<String>::type Ogre::GLES2Support::extensionList [protected, inherited] |
Definition at line 176 of file OgreGLES2Support.h.
VideoMode Ogre::EGLSupport::mCurrentMode [protected, inherited] |
Definition at line 63 of file include/EGL/OgreEGLSupport.h.
EGLDisplay Ogre::EGLSupport::mGLDisplay [protected, inherited] |
Definition at line 52 of file include/EGL/OgreEGLSupport.h.
bool Ogre::EGLSupport::mIsExternalDisplay [protected, inherited] |
Definition at line 55 of file include/EGL/OgreEGLSupport.h.
NativeDisplayType Ogre::EGLSupport::mNativeDisplay [protected, inherited] |
Definition at line 53 of file include/EGL/OgreEGLSupport.h.
ConfigOptionMap Ogre::GLESSupport::mOptions [protected, inherited] |
Definition at line 141 of file OgreGLESSupport.h.
ConfigOptionMap Ogre::GLES2Support::mOptions [protected, inherited] |
Definition at line 173 of file OgreGLES2Support.h.
VideoMode Ogre::EGLSupport::mOriginalMode [protected, inherited] |
Definition at line 62 of file include/EGL/OgreEGLSupport.h.
bool Ogre::EGLSupport::mRandr [protected, inherited] |
Definition at line 56 of file include/EGL/OgreEGLSupport.h.
StringVector Ogre::EGLSupport::mSampleLevels [protected, inherited] |
Definition at line 64 of file include/EGL/OgreEGLSupport.h.
GLESStateCacheManager* Ogre::GLESSupport::mStateCacheMgr [protected, inherited] |
Definition at line 146 of file OgreGLESSupport.h.
GLES2StateCacheManager* Ogre::GLES2Support::mStateCacheMgr [protected, inherited] |
Definition at line 179 of file OgreGLES2Support.h.
VideoModes Ogre::EGLSupport::mVideoModes [protected, inherited] |
Definition at line 61 of file include/EGL/OgreEGLSupport.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:40:50