OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::EGLContext Class Referenceabstract

#include <OgreEGLContext.h>

+ Inheritance diagram for Ogre::EGLContext:
+ Collaboration diagram for Ogre::EGLContext:

Public Member Functions

 EGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport,::EGLConfig fbconfig,::EGLSurface drawable)
 
 EGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport,::EGLConfig fbconfig,::EGLSurface drawable)
 
virtual ~EGLContext ()
 
virtual ~EGLContext ()
 
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 ()
 
virtual GLESContextclone () const =0
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
virtual GLES2Contextclone () const =0
 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 ()
 
bool getInitialized ()
 
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 ()
 

Protected Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void Ogre::EGLContext::_createInternalResources ( EGLDisplay  eglDisplay,
::EGLConfig  glconfig,
::EGLSurface  drawable,
::EGLContext  shareContext 
)
virtual
virtual void Ogre::EGLContext::_createInternalResources ( EGLDisplay  eglDisplay,
::EGLConfig  glconfig,
::EGLSurface  drawable,
::EGLContext  shareContext 
)
virtual
virtual void Ogre::EGLContext::_destroyInternalResources ( )
virtual
virtual void Ogre::EGLContext::_destroyInternalResources ( )
virtual
virtual GLESContext* 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::GLESContext.

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

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::GLESContext.

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

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

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

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

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

EGLSurface Ogre::EGLContext::getDrawable ( ) const
EGLSurface Ogre::EGLContext::getDrawable ( ) const
bool Ogre::GLES2Context::getInitialized ( )
inlineinherited

Definition at line 58 of file OgreGLES2Context.h.

bool Ogre::GLESContext::getInitialized ( )
inlineinherited

Definition at line 59 of file OgreGLESContext.h.

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

Release the render context.

Definition at line 70 of file OgreGLES2Context.h.

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

void Ogre::GLES2Context::setInitialized ( )
inlineinherited

Definition at line 59 of file OgreGLES2Context.h.

void Ogre::GLESContext::setInitialized ( )
inlineinherited

Definition at line 60 of file OgreGLESContext.h.

Member Data Documentation

bool Ogre::GLESContext::initialized
protectedinherited

Definition at line 69 of file OgreGLESContext.h.

bool Ogre::GLES2Context::initialized
protectedinherited

Definition at line 73 of file OgreGLES2Context.h.

EGLConfig Ogre::EGLContext::mConfig
protected

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

EGLContext Ogre::EGLContext::mContext
protected

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

EGLSurface Ogre::EGLContext::mDrawable
protected

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

EGLDisplay Ogre::EGLContext::mEglDisplay
protected

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

const EGLSupport * Ogre::EGLContext::mGLSupport
protected

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


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