#include <OgreX11EGLSupport.h>
Public Member Functions | |
X11EGLSupport () | |
X11EGLSupport () | |
virtual | ~X11EGLSupport () |
virtual | ~X11EGLSupport () |
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) |
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... | |
String | getDisplayName (void) |
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 () |
EGLDisplay | getGLDisplay () |
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... | |
NativeDisplayType | getNativeDisplay (void) |
NativeDisplayType | getNativeDisplay (void) |
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... | |
XVisualInfo * | getVisualFromFBConfig (::EGLConfig glConfig) |
XVisualInfo * | getVisualFromFBConfig (::EGLConfig glConfig) |
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... | |
RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0) |
Creates a new rendering window. More... | |
RenderWindow * | newWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=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 | 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) |
virtual void | switchMode (uint &width, uint &height, short &frequency) |
virtual void | switchMode (uint &width, uint &height, short &frequency) |
String | validateConfig (void) |
Make sure all the extra options are valid. More... | |
String | validateConfig (void) |
Make sure all the extra options are valid. More... | |
Public Attributes | |
Atom | mAtomDeleteWindow |
Atom | mAtomFullScreen |
Atom | mAtomState |
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 |
VideoModes | mVideoModes |
Definition at line 139 of file include/EGL/X11/OgreX11EGLSupport.h.
|
protectedinherited |
Definition at line 58 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 58 of file /include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 57 of file /include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 57 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 59 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 59 of file /include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 60 of file /include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 60 of file include/EGL/OgreEGLSupport.h.
Ogre::X11EGLSupport::X11EGLSupport | ( | ) |
|
virtual |
Ogre::X11EGLSupport::X11EGLSupport | ( | ) |
|
virtual |
|
virtualinherited |
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 |
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.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtual |
Implements Ogre::EGLSupport.
|
virtualinherited |
Implements Ogre::GLESSupport.
|
virtualinherited |
Implements Ogre::GLES2Support.
|
virtualinherited |
|
virtualinherited |
|
inherited |
|
inlinevirtualinherited |
Definition at line 103 of file OgreGLESSupport.h.
|
inlinevirtualinherited |
Gets the number of display monitors.
Definition at line 134 of file OgreGLES2Support.h.
|
virtual |
Reimplemented from Ogre::EGLSupport.
|
virtual |
Reimplemented from Ogre::EGLSupport.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
EGLDisplay Ogre::X11EGLSupport::getGLDisplay | ( | ) |
EGLDisplay Ogre::X11EGLSupport::getGLDisplay | ( | ) |
|
inlineinherited |
Get vendor information.
Definition at line 73 of file OgreGLES2Support.h.
|
inlineinherited |
Get vendor information.
Definition at line 75 of file OgreGLESSupport.h.
|
inlineinherited |
Get version information.
Definition at line 81 of file OgreGLES2Support.h.
|
inlineinherited |
Get version information.
Definition at line 83 of file OgreGLESSupport.h.
NativeDisplayType Ogre::X11EGLSupport::getNativeDisplay | ( | void | ) |
NativeDisplayType Ogre::X11EGLSupport::getNativeDisplay | ( | void | ) |
|
virtualinherited |
Get the address of a function.
Implements Ogre::GLESSupport.
|
virtualinherited |
Get the address of a function.
Implements Ogre::GLESSupport.
|
inlineinherited |
Get shader cache path.
Definition at line 89 of file OgreGLES2Support.h.
|
inlineinherited |
Get shader library path.
Definition at line 97 of file OgreGLES2Support.h.
XVisualInfo* Ogre::X11EGLSupport::getVisualFromFBConfig | ( | ::EGLConfig | glConfig | ) |
XVisualInfo* Ogre::X11EGLSupport::getVisualFromFBConfig | ( | ::EGLConfig | glConfig | ) |
|
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.
|
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 |
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.
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
virtualinherited |
Reimplemented from Ogre::GLESSupport.
|
virtualinherited |
Reimplemented from Ogre::GLESSupport.
|
inherited |
|
inherited |
|
inlineinherited |
Set shader cache path.
Definition at line 105 of file OgreGLES2Support.h.
|
inlineinherited |
Set shader library path.
Definition at line 113 of file OgreGLES2Support.h.
|
virtualinherited |
Start anything special.
Implements Ogre::GLESSupport.
|
virtualinherited |
Start anything special.
Implements Ogre::GLESSupport.
|
virtualinherited |
Stop anything special.
Implements Ogre::GLESSupport.
|
virtualinherited |
Stop anything special.
Implements Ogre::GLESSupport.
|
inherited |
|
virtual |
Implements Ogre::EGLSupport.
|
virtual |
Implements Ogre::EGLSupport.
|
virtualinherited |
Make sure all the extra options are valid.
Implements Ogre::GLESSupport.
|
virtualinherited |
Make sure all the extra options are valid.
Implements Ogre::GLESSupport.
|
protectedinherited |
Definition at line 127 of file OgreGLESSupport.h.
Definition at line 159 of file OgreGLES2Support.h.
Atom Ogre::X11EGLSupport::mAtomDeleteWindow |
Definition at line 159 of file include/EGL/X11/OgreX11EGLSupport.h.
Atom Ogre::X11EGLSupport::mAtomFullScreen |
Definition at line 160 of file include/EGL/X11/OgreX11EGLSupport.h.
Atom Ogre::X11EGLSupport::mAtomState |
Definition at line 161 of file include/EGL/X11/OgreX11EGLSupport.h.
|
protectedinherited |
Definition at line 63 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 52 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 55 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 53 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 124 of file OgreGLESSupport.h.
|
protectedinherited |
Definition at line 156 of file OgreGLES2Support.h.
|
protectedinherited |
Definition at line 62 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 56 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 64 of file include/EGL/OgreEGLSupport.h.
|
protectedinherited |
Definition at line 61 of file include/EGL/OgreEGLSupport.h.