![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreEGLSupport.h>
Public Member Functions | |
| EGLSupport () | |
| virtual | ~EGLSupport () |
| void | addConfig (void) |
| Add any special config values to the system. | |
| virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available. | |
| EGLConfig * | chooseGLConfig (const EGLint *attribList, EGLint *nElements) |
| ::EGLContext | createNewContext (EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLContext shareList) const |
| RenderWindow * | createWindow (bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle) |
| virtual ConfigOptionMap & | getConfigOptions (void) |
| EGLConfig * | getConfigs (EGLint *nElements) |
| virtual unsigned int | getDisplayMonitorCount () const |
| Gets the number of display monitors. | |
| virtual String | getDisplayName (void) |
| EGLBoolean | getGLConfigAttrib (EGLConfig fbConfig, EGLint attribute, EGLint *value) |
| ::EGLConfig | getGLConfigFromContext (::EGLContext context) |
| ::EGLConfig | getGLConfigFromDrawable (::EGLSurface drawable, unsigned int *w, unsigned int *h) |
| EGLDisplay | getGLDisplay (void) |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const DriverVersion & | getGLVersion (void) const |
| Get version information. | |
| void * | getProcAddress (const char *procname) const |
| Get the address of a function. | |
| const String & | getShaderCachePath (void) const |
| Get shader cache path. | |
| const String & | getShaderLibraryPath (void) const |
| Get shader library path. | |
| bool | hasMinGLVersion (int major, int minor) const |
| Check if GL Version is supported. | |
| 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)=0 |
| Creates a new rendering window. | |
| ::EGLConfig | selectGLConfig (const EGLint *minAttribs, const EGLint *maxAttribs) |
| void | setConfigOption (const String &name, const String &value) |
| void | setGLDisplay (EGLDisplay val) |
| void | setShaderCachePath (String path) |
| Set shader cache path. | |
| void | setShaderLibraryPath (String path) |
| Set shader library path. | |
| void | start (void) |
| Start anything special. | |
| void | stop (void) |
| Stop anything special. | |
| virtual void | switchMode (uint &width, uint &height, short &frequency)=0 |
| void | switchMode (void) |
| String | validateConfig (void) |
| Make sure all the extra options are valid. | |
| 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::GLES2Support.
|
virtualinherited |
Check if an extension is available.
| EGLConfig * Ogre::EGLSupport::chooseGLConfig | ( | const EGLint * | attribList, |
| EGLint * | nElements ) |
| ::EGLContext Ogre::EGLSupport::createNewContext | ( | EGLDisplay | eglDisplay, |
| ::EGLConfig | glconfig, | ||
| ::EGLContext | shareList ) const |
|
virtual |
Implements Ogre::GLES2Support.
|
virtualinherited |
| EGLConfig * Ogre::EGLSupport::getConfigs | ( | EGLint * | nElements | ) |
|
inlinevirtualinherited |
Gets the number of display monitors.
|
virtual |
Reimplemented in Ogre::X11EGLSupport.
| EGLBoolean Ogre::EGLSupport::getGLConfigAttrib | ( | EGLConfig | fbConfig, |
| EGLint | attribute, | ||
| EGLint * | value ) |
| ::EGLConfig Ogre::EGLSupport::getGLConfigFromContext | ( | ::EGLContext | context | ) |
| ::EGLConfig Ogre::EGLSupport::getGLConfigFromDrawable | ( | ::EGLSurface | drawable, |
| unsigned int * | w, | ||
| unsigned int * | h ) |
| EGLDisplay Ogre::EGLSupport::getGLDisplay | ( | void | ) |
|
inlineinherited |
Get vendor information.
|
inlineinherited |
Get version information.
|
virtual |
Get the address of a function.
Implements Ogre::GLES2Support.
|
inlineinherited |
Get shader cache path.
|
inlineinherited |
Get shader library path.
|
inherited |
Check if GL Version is supported.
|
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:
|
Android Specific
CSAA
Positive integer (usually 0, 2, 4, 8, 16)
0
Coverage sampling factor (https://www.khronos.org/registry/egl/extensions/NV/EGL_NV_coverage_sample.txt)
Android Specific
maxColourBufferSize
Positive integer (usually 16, 32)
32
Max EGL_BUFFER_SIZE
Android Specific
minColourBufferSize
Positive integer (usually 16, 32)
16
Min EGL_BUFFER_SIZE
Android Specific
maxStencilBufferSize
Positive integer (usually 0, 8)
0
EGL_STENCIL_SIZE
Android Specific
maxDepthBufferSize
Positive integer (usually 0, 16, 24)
16
EGL_DEPTH_SIZE
Android Specific
Implemented in Ogre::AndroidEGLSupport, Ogre::EmscriptenEGLSupport, Ogre::NaClGLSupport, Ogre::Win32EGLSupport, and Ogre::X11EGLSupport.
| ::EGLConfig Ogre::EGLSupport::selectGLConfig | ( | const EGLint * | minAttribs, |
| const EGLint * | maxAttribs ) |
Reimplemented from Ogre::GLES2Support.
| void Ogre::EGLSupport::setGLDisplay | ( | EGLDisplay | val | ) |
|
inlineinherited |
Set shader cache path.
|
inlineinherited |
Set shader library path.
|
virtual |
Start anything special.
Implements Ogre::GLES2Support.
|
virtual |
Stop anything special.
Implements Ogre::GLES2Support.
|
pure virtual |
Implemented in Ogre::AndroidEGLSupport, Ogre::EmscriptenEGLSupport, Ogre::Win32EGLSupport, and Ogre::X11EGLSupport.
| void Ogre::EGLSupport::switchMode | ( | void | ) |
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GLES2Support.