Public Member Functions | Protected Attributes | List of all members
Ogre::EGLContext Class Referenceabstract

#include <OgreEGLContext.h>

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

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

◆ EGLContext() [1/2]

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

◆ ~EGLContext() [1/2]

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

◆ EGLContext() [2/2]

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

◆ ~EGLContext() [2/2]

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

Member Function Documentation

◆ _createInternalResources() [1/2]

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

◆ _createInternalResources() [2/2]

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

◆ _destroyInternalResources() [1/2]

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

◆ _destroyInternalResources() [2/2]

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

◆ clone() [1/2]

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.

◆ clone() [2/2]

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.

◆ endCurrent() [1/2]

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

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 ( )
virtual

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

◆ getDrawable() [2/2]

EGLSurface Ogre::EGLContext::getDrawable ( ) const

◆ getInitialized() [1/2]

bool Ogre::GLES2Context::getInitialized ( )
inherited

Definition at line 58 of file OgreGLES2Context.h.

◆ getInitialized() [2/2]

bool Ogre::GLESContext::getInitialized ( )
inherited

Definition at line 59 of file OgreGLESContext.h.

◆ releaseContext()

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

Release the render context.

Definition at line 70 of file OgreGLES2Context.h.

◆ setCurrent() [1/2]

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

◆ setCurrent() [2/2]

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

◆ setInitialized() [1/2]

void Ogre::GLES2Context::setInitialized ( )
inherited

Definition at line 59 of file OgreGLES2Context.h.

◆ setInitialized() [2/2]

void Ogre::GLESContext::setInitialized ( )
inherited

Definition at line 60 of file OgreGLESContext.h.

Member Data Documentation

◆ initialized [1/2]

bool Ogre::GLESContext::initialized
protectedinherited

Definition at line 69 of file OgreGLESContext.h.

◆ initialized [2/2]

bool Ogre::GLES2Context::initialized
protectedinherited

Definition at line 73 of file OgreGLES2Context.h.

◆ mConfig

EGLConfig Ogre::EGLContext::mConfig
protected

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

◆ mContext

EGLContext Ogre::EGLContext::mContext
protected

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

◆ mDrawable

EGLSurface Ogre::EGLContext::mDrawable
protected

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

◆ mEglDisplay

EGLDisplay Ogre::EGLContext::mEglDisplay
protected

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

◆ mGLSupport

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:

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 Sun Oct 22 2017 04:04:15