Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
Ogre::X11EGLSupport Class Reference

#include <OgreX11EGLSupport.h>

Inheritance diagram for Ogre::X11EGLSupport:
Inheritance graph
[legend]

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...
 
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 GLESPBuffercreatePBuffer (PixelComponentType format, size_t width, size_t height)
 
RenderWindowcreateWindow (bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle)
 
RenderWindowcreateWindow (bool autoCreateWindow, GLESRenderSystem *renderSystem, const String &windowTitle)
 
virtual ConfigOptionMapgetConfigOptions (void)
 
EGLConfig * getConfigs (EGLint *nElements)
 
virtual unsigned int getDisplayMonitorCount () const
 
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 StringgetGLVendor (void) const
 Get vendor information. More...
 
const StringgetGLVersion (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...
 
GLESStateCacheManagergetStateCacheManager () const
 Get the state cache manager. 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...
 
RenderWindownewWindow (const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
 Creates a new rendering window. More...
 
RenderWindownewWindow (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 setStateCacheManager (GLESStateCacheManager *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...
 
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. 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, uintScreenSize
 
typedef std::pair< uint, uintScreenSize
 
typedef std::pair< ScreenSize, RateVideoMode
 
typedef std::pair< ScreenSize, RateVideoMode
 
typedef std::vector< VideoModeVideoModes
 
typedef std::vector< VideoModeVideoModes
 

Protected Member Functions

void refreshConfig (void)
 
void refreshConfig (void)
 

Protected Attributes

std::set< StringextensionList
 
VideoMode mCurrentMode
 
EGLDisplay mGLDisplay
 
bool mIsExternalDisplay
 
NativeDisplayType mNativeDisplay
 
ConfigOptionMap mOptions
 
VideoMode mOriginalMode
 
bool mRandr
 
StringVector mSampleLevels
 
GLESStateCacheManagermStateCacheMgr
 
VideoModes mVideoModes
 

Private Attributes

String mVendor
 
String mVersion
 

Detailed Description

Definition at line 139 of file include/EGL/X11/OgreX11EGLSupport.h.

Member Typedef Documentation

◆ Rate [1/2]

typedef short Ogre::EGLSupport::Rate
protectedinherited

Definition at line 58 of file include/EGL/OgreEGLSupport.h.

◆ Rate [2/2]

typedef short Ogre::EGLSupport::Rate
protectedinherited

Definition at line 58 of file /include/EGL/OgreEGLSupport.h.

◆ ScreenSize [1/2]

typedef std::pair<uint, uint> Ogre::EGLSupport::ScreenSize
protectedinherited

Definition at line 57 of file /include/EGL/OgreEGLSupport.h.

◆ ScreenSize [2/2]

typedef std::pair<uint, uint> Ogre::EGLSupport::ScreenSize
protectedinherited

Definition at line 57 of file include/EGL/OgreEGLSupport.h.

◆ VideoMode [1/2]

typedef std::pair<ScreenSize, Rate> Ogre::EGLSupport::VideoMode
protectedinherited

Definition at line 59 of file include/EGL/OgreEGLSupport.h.

◆ VideoMode [2/2]

typedef std::pair<ScreenSize, Rate> Ogre::EGLSupport::VideoMode
protectedinherited

Definition at line 59 of file /include/EGL/OgreEGLSupport.h.

◆ VideoModes [1/2]

typedef std::vector<VideoMode> Ogre::EGLSupport::VideoModes
protectedinherited

Definition at line 60 of file /include/EGL/OgreEGLSupport.h.

◆ VideoModes [2/2]

typedef std::vector<VideoMode> Ogre::EGLSupport::VideoModes
protectedinherited

Definition at line 60 of file include/EGL/OgreEGLSupport.h.

Constructor & Destructor Documentation

◆ X11EGLSupport() [1/2]

Ogre::X11EGLSupport::X11EGLSupport ( )

◆ ~X11EGLSupport() [1/2]

virtual Ogre::X11EGLSupport::~X11EGLSupport ( )
virtual

◆ X11EGLSupport() [2/2]

Ogre::X11EGLSupport::X11EGLSupport ( )

◆ ~X11EGLSupport() [2/2]

virtual Ogre::X11EGLSupport::~X11EGLSupport ( )
virtual

Member Function Documentation

◆ addConfig() [1/2]

void Ogre::EGLSupport::addConfig ( void  )
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.

◆ addConfig() [2/2]

void Ogre::EGLSupport::addConfig ( void  )
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.

◆ checkExtension()

virtual bool Ogre::GLESSupport::checkExtension ( const String ext) const
virtualinherited

Check if an extension is available.

◆ chooseGLConfig() [1/2]

EGLConfig* Ogre::EGLSupport::chooseGLConfig ( const EGLint *  attribList,
EGLint *  nElements 
)
inherited

◆ chooseGLConfig() [2/2]

EGLConfig* Ogre::EGLSupport::chooseGLConfig ( const EGLint *  attribList,
EGLint *  nElements 
)
inherited

◆ createNewContext() [1/2]

::EGLContext Ogre::EGLSupport::createNewContext ( EGLDisplay  eglDisplay,
::EGLConfig  glconfig,
::EGLContext  shareList 
) const
inherited

◆ createNewContext() [2/2]

::EGLContext Ogre::EGLSupport::createNewContext ( EGLDisplay  eglDisplay,
::EGLConfig  glconfig,
::EGLContext  shareList 
) const
inherited

◆ createPBuffer()

virtual GLESPBuffer* Ogre::X11EGLSupport::createPBuffer ( PixelComponentType  format,
size_t  width,
size_t  height 
)
virtual

Implements Ogre::EGLSupport.

◆ createWindow() [1/2]

RenderWindow* Ogre::EGLSupport::createWindow ( bool  autoCreateWindow,
GLES2RenderSystem renderSystem,
const String windowTitle 
)
inherited

◆ createWindow() [2/2]

RenderWindow* Ogre::EGLSupport::createWindow ( bool  autoCreateWindow,
GLESRenderSystem renderSystem,
const String windowTitle 
)
virtualinherited

Implements Ogre::GLESSupport.

◆ getConfigOptions()

virtual ConfigOptionMap& Ogre::GLESSupport::getConfigOptions ( void  )
virtualinherited

◆ getConfigs()

EGLConfig* Ogre::EGLSupport::getConfigs ( EGLint *  nElements)
inherited

◆ getDisplayMonitorCount()

virtual unsigned int Ogre::GLESSupport::getDisplayMonitorCount ( ) const
virtualinherited

Definition at line 104 of file OgreGLESSupport.h.

◆ getDisplayName() [1/2]

String Ogre::X11EGLSupport::getDisplayName ( void  )
virtual

Reimplemented from Ogre::EGLSupport.

◆ getDisplayName() [2/2]

String Ogre::X11EGLSupport::getDisplayName ( void  )
virtual

Reimplemented from Ogre::EGLSupport.

◆ getGLConfigAttrib() [1/2]

EGLBoolean Ogre::EGLSupport::getGLConfigAttrib ( EGLConfig  fbConfig,
EGLint  attribute,
EGLint *  value 
)
inherited

◆ getGLConfigAttrib() [2/2]

EGLBoolean Ogre::EGLSupport::getGLConfigAttrib ( EGLConfig  fbConfig,
EGLint  attribute,
EGLint *  value 
)
inherited

◆ getGLConfigFromContext() [1/2]

::EGLConfig Ogre::EGLSupport::getGLConfigFromContext ( ::EGLContext  context)
inherited

◆ getGLConfigFromContext() [2/2]

::EGLConfig Ogre::EGLSupport::getGLConfigFromContext ( ::EGLContext  context)
inherited

◆ getGLConfigFromDrawable() [1/2]

::EGLConfig Ogre::EGLSupport::getGLConfigFromDrawable ( ::EGLSurface  drawable,
unsigned int *  w,
unsigned int *  h 
)
inherited

◆ getGLConfigFromDrawable() [2/2]

::EGLConfig Ogre::EGLSupport::getGLConfigFromDrawable ( ::EGLSurface  drawable,
unsigned int *  w,
unsigned int *  h 
)
inherited

◆ getGLDisplay() [1/2]

EGLDisplay Ogre::X11EGLSupport::getGLDisplay ( )

◆ getGLDisplay() [2/2]

EGLDisplay Ogre::X11EGLSupport::getGLDisplay ( )

◆ getGLVendor()

const String& Ogre::GLESSupport::getGLVendor ( void  ) const
inherited

Get vendor information.

Definition at line 76 of file OgreGLESSupport.h.

◆ getGLVersion()

const String& Ogre::GLESSupport::getGLVersion ( void  ) const
inherited

Get version information.

Definition at line 84 of file OgreGLESSupport.h.

◆ getNativeDisplay() [1/2]

NativeDisplayType Ogre::X11EGLSupport::getNativeDisplay ( void  )

◆ getNativeDisplay() [2/2]

NativeDisplayType Ogre::X11EGLSupport::getNativeDisplay ( void  )

◆ getProcAddress() [1/2]

void* Ogre::EGLSupport::getProcAddress ( const Ogre::String procname)
virtualinherited

Get the address of a function.

Implements Ogre::GLESSupport.

◆ getProcAddress() [2/2]

void* Ogre::EGLSupport::getProcAddress ( const Ogre::String procname)
virtualinherited

Get the address of a function.

Implements Ogre::GLESSupport.

◆ getStateCacheManager()

GLESStateCacheManager* Ogre::GLESSupport::getStateCacheManager ( ) const
inherited

Get the state cache manager.

Definition at line 112 of file OgreGLESSupport.h.

◆ getVisualFromFBConfig() [1/2]

XVisualInfo* Ogre::X11EGLSupport::getVisualFromFBConfig ( ::EGLConfig  glConfig)

◆ getVisualFromFBConfig() [2/2]

XVisualInfo* Ogre::X11EGLSupport::getVisualFromFBConfig ( ::EGLConfig  glConfig)

◆ initialiseExtensions()

virtual void Ogre::GLESSupport::initialiseExtensions ( )
virtualinherited

Initialises GL extensions, must be done AFTER the GL context has been established.

◆ newWindow() [1/2]

RenderWindow* Ogre::X11EGLSupport::newWindow ( const String name,
unsigned int  width,
unsigned int  height,
bool  fullScreen,
const NameValuePairList miscParams = 0 
)
virtual

Creates a new rendering window.

Remarks
This method creates a new rendering window as specified by the paramteters. The rendering system could be responible for only a single window (e.g. in the case of a game), or could be in charge of multiple ones (in the case of a level editor). The option to create the window as a child of another is therefore given. This method will create an appropriate subclass of RenderWindow depending on the API and platform implementation.
After creation, this window can be retrieved using getRenderTarget().
Parameters
nameThe name of the window. Used in other methods later like setRenderTarget and getRenderTarget.
widthThe width of the new window.
heightThe height of the new window.
fullScreenSpecify true to make the window full screen without borders, title bar or menu bar.
miscParamsA 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:
Key Type/Values Default Description Notes
title Any string RenderTarget name The title of the window that will appear in the title bar  
colourDepth 16, 32 Desktop depth Colour depth of the resulting rendering window; only applies if fullScreen Win32 Specific
left Positive integers Centred Screen x coordinate from left  
top Positive integers Centred Screen y coordinate from left  
depthBuffer true, false true Use depth buffer DirectX9 specific
externalWindowHandle Win32: HWND as integer
GLX: poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*)
OS X: WindowRef for Carbon or NSWindow for Cocoa address as an integer iOS: UIWindow address as an integer
0 (none) External window handle, for embedding the OGRE render in an existing window  
externalGLControl true, false false Let the external window control OpenGL i.e. don't select a pixel format for the window, do not change v-sync and do not swap buffer. When set to true, the calling application is responsible of OpenGL initialization and buffer swapping. It should also create an OpenGL context for its own rendering, Ogre will create one for its use. Then the calling application must also enable Ogre OpenGL context before calling any Ogre function and restore its OpenGL context after these calls. OpenGL specific
externalGLContext Context as Unsigned Long 0 (create own context) Use an externally created GL context OpenGL Specific
parentWindowHandle Win32: HWND as integer
GLX: poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*)
0 (none) Parent window handle, for embedding the OGRE in a child of an external window  
macAPI String: "cocoa" or "carbon" "carbon" Specifies the type of rendering window on the Mac Platform. Mac OS X Specific  
macAPICocoaUseNSView bool "true" or "false" "false" On the Mac platform the most diffused method to embed OGRE in a custom application is to use Interface Builder and add to the interface an instance of OgreView. The pointer to this instance is then used as "externalWindowHandle". However, there are cases where you are NOT using Interface Builder and you get the Cocoa NSView* of an existing interface. For example, this is happens when you want to render into a Java/AWT interface. In short, by setting this flag to "true" the Ogre::Root::createRenderWindow interprets the "externalWindowHandle" as a NSView* instead of an OgreView*. See OgreOSXCocoaView.h/mm. Mac OS X Specific  
contentScalingFactor Positive Float greater than 1.0 The default content scaling factor of the screen Specifies the CAEAGLLayer content scaling factor. Only supported on iOS 4 or greater. This can be useful to limit the resolution of the OpenGL ES backing store. For example, the iPhone 4's native resolution is 960 x 640. Windows are always 320 x 480, if you would like to limit the display to 720 x 480, specify 1.5 as the scaling factor. iOS Specific  
externalViewHandle UIView pointer as an integer 0 External view handle, for rendering OGRE render in an existing view iOS Specific  
externalViewControllerHandle UIViewController pointer as an integer 0 External view controller handle, for embedding OGRE in an existing view controller iOS Specific  
externalSharegroup EAGLSharegroup pointer as an integer 0 External sharegroup, used to shared GL resources between contexts iOS Specific  
Full Screen true, false false Specify whether to create the window in full screen mode OS X Specific  
FSAA Positive integer (usually 0, 2, 4, 8, 16) 0 Full screen antialiasing factor  
FSAAHint Depends on RenderSystem and hardware. Currently supports:
"Quality": on systems that have an option to prefer higher AA quality over speed, use it
Blank Full screen antialiasing hint  
displayFrequency Refresh rate in Hertz (e.g. 60, 75, 100) Desktop vsync rate Display frequency rate, for fullscreen mode  
vsync true, false false Synchronize buffer swaps to monitor vsync, eliminating tearing at the expense of a fixed frame rate  
vsyncInterval 1, 2, 3, 4 1 If vsync is enabled, the minimum number of vertical blanks that should occur between renders. For example if vsync is enabled, the refresh rate is 60 and this is set to 2, then the frame rate will be locked at 30.  
border none, fixed, resize resize The type of window border (in windowed mode)  
outerDimensions true, false false Whether the width/height is expressed as the size of the outer window, rather than the content area  
useNVPerfHUD true, false false Enable the use of nVidia NVPerfHUD  
gamma true, false false Enable hardware conversion from linear colour space to gamma colour space on rendering to the window.  
enableDoubleClick true, false false Enable the window to keep track and transmit double click messages. Win32 Specific

Implements Ogre::GLESSupport.

◆ newWindow() [2/2]

RenderWindow* Ogre::X11EGLSupport::newWindow ( const String name,
unsigned int  width,
unsigned int  height,
bool  fullScreen,
const NameValuePairList miscParams = 0 
)
virtual

Creates a new rendering window.

Remarks
This method creates a new rendering window as specified by the paramteters. The rendering system could be responible for only a single window (e.g. in the case of a game), or could be in charge of multiple ones (in the case of a level editor). The option to create the window as a child of another is therefore given. This method will create an appropriate subclass of RenderWindow depending on the API and platform implementation.
After creation, this window can be retrieved using getRenderTarget().
Parameters
nameThe name of the window. Used in other methods later like setRenderTarget and getRenderTarget.
widthThe width of the new window.
heightThe height of the new window.
fullScreenSpecify true to make the window full screen without borders, title bar or menu bar.
miscParamsA 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:
Key Type/Values Default Description Notes
title Any string RenderTarget name The title of the window that will appear in the title bar  
colourDepth 16, 32 Desktop depth Colour depth of the resulting rendering window; only applies if fullScreen Win32 Specific
left Positive integers Centred Screen x coordinate from left  
top Positive integers Centred Screen y coordinate from left  
depthBuffer true, false true Use depth buffer DirectX9 specific
externalWindowHandle Win32: HWND as integer
GLX: poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*)
OS X: WindowRef for Carbon or NSWindow for Cocoa address as an integer iOS: UIWindow address as an integer
0 (none) External window handle, for embedding the OGRE render in an existing window  
externalGLControl true, false false Let the external window control OpenGL i.e. don't select a pixel format for the window, do not change v-sync and do not swap buffer. When set to true, the calling application is responsible of OpenGL initialization and buffer swapping. It should also create an OpenGL context for its own rendering, Ogre will create one for its use. Then the calling application must also enable Ogre OpenGL context before calling any Ogre function and restore its OpenGL context after these calls. OpenGL specific
externalGLContext Context as Unsigned Long 0 (create own context) Use an externally created GL context OpenGL Specific
parentWindowHandle Win32: HWND as integer
GLX: poslong:posint:poslong (display*:screen:windowHandle) or poslong:posint:poslong:poslong (display*:screen:windowHandle:XVisualInfo*)
0 (none) Parent window handle, for embedding the OGRE in a child of an external window  
macAPI String: "cocoa" or "carbon" "carbon" Specifies the type of rendering window on the Mac Platform. Mac OS X Specific  
macAPICocoaUseNSView bool "true" or "false" "false" On the Mac platform the most diffused method to embed OGRE in a custom application is to use Interface Builder and add to the interface an instance of OgreView. The pointer to this instance is then used as "externalWindowHandle". However, there are cases where you are NOT using Interface Builder and you get the Cocoa NSView* of an existing interface. For example, this is happens when you want to render into a Java/AWT interface. In short, by setting this flag to "true" the Ogre::Root::createRenderWindow interprets the "externalWindowHandle" as a NSView* instead of an OgreView*. See OgreOSXCocoaView.h/mm. Mac OS X Specific  
contentScalingFactor Positive Float greater than 1.0 The default content scaling factor of the screen Specifies the CAEAGLLayer content scaling factor. Only supported on iOS 4 or greater. This can be useful to limit the resolution of the OpenGL ES backing store. For example, the iPhone 4's native resolution is 960 x 640. Windows are always 320 x 480, if you would like to limit the display to 720 x 480, specify 1.5 as the scaling factor. iOS Specific  
externalViewHandle UIView pointer as an integer 0 External view handle, for rendering OGRE render in an existing view iOS Specific  
externalViewControllerHandle UIViewController pointer as an integer 0 External view controller handle, for embedding OGRE in an existing view controller iOS Specific  
externalSharegroup EAGLSharegroup pointer as an integer 0 External sharegroup, used to shared GL resources between contexts iOS Specific  
Full Screen true, false false Specify whether to create the window in full screen mode OS X Specific  
FSAA Positive integer (usually 0, 2, 4, 8, 16) 0 Full screen antialiasing factor  
FSAAHint Depends on RenderSystem and hardware. Currently supports:
"Quality": on systems that have an option to prefer higher AA quality over speed, use it
Blank Full screen antialiasing hint  
displayFrequency Refresh rate in Hertz (e.g. 60, 75, 100) Desktop vsync rate Display frequency rate, for fullscreen mode  
vsync true, false false Synchronize buffer swaps to monitor vsync, eliminating tearing at the expense of a fixed frame rate  
vsyncInterval 1, 2, 3, 4 1 If vsync is enabled, the minimum number of vertical blanks that should occur between renders. For example if vsync is enabled, the refresh rate is 60 and this is set to 2, then the frame rate will be locked at 30.  
border none, fixed, resize resize The type of window border (in windowed mode)  
outerDimensions true, false false Whether the width/height is expressed as the size of the outer window, rather than the content area  
useNVPerfHUD true, false false Enable the use of nVidia NVPerfHUD  
gamma true, false false Enable hardware conversion from linear colour space to gamma colour space on rendering to the window.  
enableDoubleClick true, false false Enable the window to keep track and transmit double click messages. Win32 Specific

Implements Ogre::GLESSupport.

◆ refreshConfig() [1/2]

void Ogre::EGLSupport::refreshConfig ( void  )
protectedinherited

◆ refreshConfig() [2/2]

void Ogre::EGLSupport::refreshConfig ( void  )
protectedinherited

◆ selectGLConfig() [1/2]

::EGLConfig Ogre::EGLSupport::selectGLConfig ( const EGLint *  minAttribs,
const EGLint *  maxAttribs 
)
inherited

◆ selectGLConfig() [2/2]

::EGLConfig Ogre::EGLSupport::selectGLConfig ( const EGLint *  minAttribs,
const EGLint *  maxAttribs 
)
inherited

◆ setConfigOption() [1/2]

void Ogre::EGLSupport::setConfigOption ( const String name,
const String value 
)
virtualinherited

Reimplemented from Ogre::GLESSupport.

◆ setConfigOption() [2/2]

void Ogre::EGLSupport::setConfigOption ( const String name,
const String value 
)
virtualinherited

Reimplemented from Ogre::GLESSupport.

◆ setGLDisplay() [1/2]

void Ogre::EGLSupport::setGLDisplay ( EGLDisplay  val)
inherited

◆ setGLDisplay() [2/2]

void Ogre::EGLSupport::setGLDisplay ( EGLDisplay  val)
inherited

◆ setStateCacheManager()

void Ogre::GLESSupport::setStateCacheManager ( GLESStateCacheManager stateCacheMgr)
inherited

Set a valid state cache manager.

Definition at line 120 of file OgreGLESSupport.h.

◆ start() [1/2]

void Ogre::EGLSupport::start ( void  )
virtualinherited

Start anything special.

Implements Ogre::GLESSupport.

◆ start() [2/2]

void Ogre::EGLSupport::start ( void  )
virtualinherited

Start anything special.

Implements Ogre::GLESSupport.

◆ stop() [1/2]

void Ogre::EGLSupport::stop ( void  )
virtualinherited

Stop anything special.

Implements Ogre::GLESSupport.

◆ stop() [2/2]

void Ogre::EGLSupport::stop ( void  )
virtualinherited

Stop anything special.

Implements Ogre::GLESSupport.

◆ switchMode() [1/3]

virtual void Ogre::X11EGLSupport::switchMode ( uint width,
uint height,
short &  frequency 
)
virtual

Implements Ogre::EGLSupport.

◆ switchMode() [2/3]

virtual void Ogre::X11EGLSupport::switchMode ( uint width,
uint height,
short &  frequency 
)
virtual

Implements Ogre::EGLSupport.

◆ switchMode() [3/3]

void Ogre::EGLSupport::switchMode ( void  )
inherited

◆ validateConfig() [1/2]

String Ogre::EGLSupport::validateConfig ( void  )
virtualinherited

Make sure all the extra options are valid.

Returns
string with error message

Implements Ogre::GLESSupport.

◆ validateConfig() [2/2]

String Ogre::EGLSupport::validateConfig ( void  )
virtualinherited

Make sure all the extra options are valid.

Returns
string with error message

Implements Ogre::GLESSupport.

Member Data Documentation

◆ extensionList

std::set<String> Ogre::GLESSupport::extensionList
protectedinherited

Definition at line 144 of file OgreGLESSupport.h.

◆ mAtomDeleteWindow

Atom Ogre::X11EGLSupport::mAtomDeleteWindow

Definition at line 159 of file include/EGL/X11/OgreX11EGLSupport.h.

◆ mAtomFullScreen

Atom Ogre::X11EGLSupport::mAtomFullScreen

Definition at line 160 of file include/EGL/X11/OgreX11EGLSupport.h.

◆ mAtomState

Atom Ogre::X11EGLSupport::mAtomState

Definition at line 161 of file include/EGL/X11/OgreX11EGLSupport.h.

◆ mCurrentMode

VideoMode Ogre::EGLSupport::mCurrentMode
protectedinherited

Definition at line 63 of file include/EGL/OgreEGLSupport.h.

◆ mGLDisplay

EGLDisplay Ogre::EGLSupport::mGLDisplay
protectedinherited

Definition at line 52 of file include/EGL/OgreEGLSupport.h.

◆ mIsExternalDisplay

bool Ogre::EGLSupport::mIsExternalDisplay
protectedinherited

Definition at line 55 of file include/EGL/OgreEGLSupport.h.

◆ mNativeDisplay

NativeDisplayType Ogre::EGLSupport::mNativeDisplay
protectedinherited

Definition at line 53 of file include/EGL/OgreEGLSupport.h.

◆ mOptions

ConfigOptionMap Ogre::GLESSupport::mOptions
protectedinherited

Definition at line 141 of file OgreGLESSupport.h.

◆ mOriginalMode

VideoMode Ogre::EGLSupport::mOriginalMode
protectedinherited

Definition at line 62 of file include/EGL/OgreEGLSupport.h.

◆ mRandr

bool Ogre::EGLSupport::mRandr
protectedinherited

Definition at line 56 of file include/EGL/OgreEGLSupport.h.

◆ mSampleLevels

StringVector Ogre::EGLSupport::mSampleLevels
protectedinherited

Definition at line 64 of file include/EGL/OgreEGLSupport.h.

◆ mStateCacheMgr

GLESStateCacheManager* Ogre::GLESSupport::mStateCacheMgr
protectedinherited

Definition at line 146 of file OgreGLESSupport.h.

◆ mVendor

String Ogre::GLESSupport::mVendor
privateinherited

Definition at line 137 of file OgreGLESSupport.h.

◆ mVersion

String Ogre::GLESSupport::mVersion
privateinherited

Definition at line 136 of file OgreGLESSupport.h.

◆ mVideoModes

VideoModes Ogre::EGLSupport::mVideoModes
protectedinherited

Definition at line 61 of file include/EGL/OgreEGLSupport.h.


The documentation for this class was generated from the following file:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15