Public Member Functions | Protected Attributes | List of all members
Ogre::X11EGLContext Class Reference

#include <OgreX11EGLContext.h>

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

Public Member Functions

 X11EGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
 
 X11EGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
 
virtual ~X11EGLContext ()
 
virtual ~X11EGLContext ()
 
virtual void _createInternalResources (EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLSurface drawable, ::EGLContext shareContext)
 
virtual void _createInternalResources (EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLSurface drawable, ::EGLContext shareContext)
 
virtual void _destroyInternalResources ()
 
virtual void _destroyInternalResources ()
 
GLES2Contextclone () const
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
GLESContextclone () const
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
virtual void endCurrent ()
 This is called before another context is made current. More...
 
virtual void endCurrent ()
 This is called before another context is made current. More...
 
EGLSurface getDrawable () const
 
EGLSurface getDrawable () const
 
bool getInitialized ()
 
virtual void setCurrent ()
 Enable the context. More...
 
virtual void setCurrent ()
 Enable the context. More...
 
void setInitialized ()
 

Protected Attributes

bool initialized
 
::EGLConfig mConfig
 
::EGLContext mContext
 
::EGLSurface mDrawable
 
EGLDisplay mEglDisplay
 
const EGLSupportmGLSupport
 

Detailed Description

Definition at line 38 of file include/EGL/X11/OgreX11EGLContext.h.

Constructor & Destructor Documentation

◆ X11EGLContext() [1/2]

Ogre::X11EGLContext::X11EGLContext ( EGLDisplay  eglDisplay,
const EGLSupport glsupport,
::EGLConfig  fbconfig,
::EGLSurface  drawable 
)

◆ ~X11EGLContext() [1/2]

virtual Ogre::X11EGLContext::~X11EGLContext ( )
virtual

◆ X11EGLContext() [2/2]

Ogre::X11EGLContext::X11EGLContext ( EGLDisplay  eglDisplay,
const EGLSupport glsupport,
::EGLConfig  fbconfig,
::EGLSurface  drawable 
)

◆ ~X11EGLContext() [2/2]

virtual Ogre::X11EGLContext::~X11EGLContext ( )
virtual

Member Function Documentation

◆ _createInternalResources() [1/2]

virtual void Ogre::EGLContext::_createInternalResources ( EGLDisplay  eglDisplay,
::EGLConfig  glconfig,
::EGLSurface  drawable,
::EGLContext  shareContext 
)
virtualinherited

◆ _createInternalResources() [2/2]

virtual void Ogre::EGLContext::_createInternalResources ( EGLDisplay  eglDisplay,
::EGLConfig  glconfig,
::EGLSurface  drawable,
::EGLContext  shareContext 
)
virtualinherited

◆ _destroyInternalResources() [1/2]

virtual void Ogre::EGLContext::_destroyInternalResources ( )
virtualinherited

◆ _destroyInternalResources() [2/2]

virtual void Ogre::EGLContext::_destroyInternalResources ( )
virtualinherited

◆ clone() [1/2]

GLES2Context* Ogre::X11EGLContext::clone ( ) const
virtual

Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.

Note
The caller is responsible for deleting the returned context.

Implements Ogre::EGLContext.

◆ clone() [2/2]

GLESContext* Ogre::X11EGLContext::clone ( ) const
virtual

Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads.

Note
The caller is responsible for deleting the returned context.

Implements Ogre::EGLContext.

◆ endCurrent() [1/2]

virtual void Ogre::EGLContext::endCurrent ( )
virtualinherited

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

◆ endCurrent() [2/2]

virtual void Ogre::EGLContext::endCurrent ( )
virtualinherited

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

◆ getDrawable() [1/2]

EGLSurface Ogre::EGLContext::getDrawable ( ) const
inherited

◆ getDrawable() [2/2]

EGLSurface Ogre::EGLContext::getDrawable ( ) const
inherited

◆ getInitialized()

bool Ogre::GLESContext::getInitialized ( )
inherited

Definition at line 59 of file OgreGLESContext.h.

◆ setCurrent() [1/2]

virtual void Ogre::EGLContext::setCurrent ( )
virtualinherited

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

◆ setCurrent() [2/2]

virtual void Ogre::EGLContext::setCurrent ( )
virtualinherited

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

◆ setInitialized()

void Ogre::GLESContext::setInitialized ( )
inherited

Definition at line 60 of file OgreGLESContext.h.

Member Data Documentation

◆ initialized

bool Ogre::GLESContext::initialized
protectedinherited

Definition at line 69 of file OgreGLESContext.h.

◆ mConfig

EGLConfig Ogre::EGLContext::mConfig
protectedinherited

Definition at line 41 of file include/EGL/OgreEGLContext.h.

◆ mContext

EGLContext Ogre::EGLContext::mContext
protectedinherited

Definition at line 44 of file include/EGL/OgreEGLContext.h.

◆ mDrawable

EGLSurface Ogre::EGLContext::mDrawable
protectedinherited

Definition at line 43 of file include/EGL/OgreEGLContext.h.

◆ mEglDisplay

EGLDisplay Ogre::EGLContext::mEglDisplay
protectedinherited

Definition at line 45 of file include/EGL/OgreEGLContext.h.

◆ mGLSupport

const EGLSupport * Ogre::EGLContext::mGLSupport
protectedinherited

Definition at line 42 of file include/EGL/OgreEGLContext.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