OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::Win32EGLContext Class Reference

#include <OgreWin32EGLContext.h>

+ Inheritance diagram for Ogre::Win32EGLContext:

Public Member Functions

 Win32EGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
 
virtual ~Win32EGLContext ()
 
virtual void _createInternalResources (EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLSurface drawable, ::EGLContext shareContext)
 
virtual void _destroyInternalResources ()
 
GLES2Contextclone () 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
 
bool getInitialized ()
 
bool getInitialized ()
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void setCurrent ()
 Enable the context. More...
 
virtual void setCurrent ()
 Enable the context. More...
 
void setInitialized ()
 
void setInitialized ()
 

Public Attributes

EGLSurface mDrawable
 

Constructor & Destructor Documentation

◆ Win32EGLContext()

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

◆ ~Win32EGLContext()

virtual Ogre::Win32EGLContext::~Win32EGLContext ( )
virtual

Member Function Documentation

◆ _createInternalResources()

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

◆ _destroyInternalResources()

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

◆ clone()

GLES2Context* Ogre::Win32EGLContext::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.

Reimplemented from 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::GL3PlusContext.

◆ 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::GL3PlusContext.

◆ getDrawable()

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

◆ getInitialized() [1/2]

bool Ogre::GL3PlusContext::getInitialized ( )
inlineinherited

◆ getInitialized() [2/2]

bool Ogre::GLES2Context::getInitialized ( )
inlineinherited

◆ releaseContext() [1/2]

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

Release the render context.

Reimplemented in Ogre::Win32Context.

◆ releaseContext() [2/2]

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

Release the render context.

◆ setCurrent() [1/2]

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GL3PlusContext.

◆ setCurrent() [2/2]

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GL3PlusContext.

◆ setInitialized() [1/2]

void Ogre::GL3PlusContext::setInitialized ( )
inlineinherited

◆ setInitialized() [2/2]

void Ogre::GLES2Context::setInitialized ( )
inlineinherited

Member Data Documentation

◆ mDrawable

EGLSurface Ogre::EGLContext::mDrawable
inherited

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