OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::EGLContext Class Referenceabstract

#include <OgreEGLContext.h>

+ Inheritance diagram for Ogre::EGLContext:

Public Member Functions

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

Constructor & Destructor Documentation

◆ EGLContext()

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

◆ ~EGLContext()

virtual Ogre::EGLContext::~EGLContext ( )
virtual

Member Function Documentation

◆ _createInternalResources()

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

◆ _destroyInternalResources()

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

◆ clone()

virtual GLES2Context * Ogre::EGLContext::clone ( ) const
pure 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::GLES2Context.

Implemented in Ogre::AndroidEGLContext, Ogre::EmscriptenEGLContext, Ogre::Win32EGLContext, and Ogre::X11EGLContext.

◆ endCurrent()

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

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLES2Context.

◆ getDrawable()

EGLSurface Ogre::EGLContext::getDrawable ( ) const

◆ getInitialized()

bool Ogre::GLES2Context::getInitialized ( )
inlineinherited

◆ releaseContext()

virtual void Ogre::GLES2Context::releaseContext ( )
inlinevirtualinherited

Release the render context.

◆ setCurrent()

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLES2Context.

◆ setInitialized()

void Ogre::GLES2Context::setInitialized ( )
inlineinherited

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