Public Member Functions | Protected Attributes
Ogre::EGLContext Class Reference

#include <OgreEGLContext.h>

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

List of all members.

Public Member Functions

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

Protected Attributes

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

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 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::SymbianEGLContext, and Ogre::Win32EGLContext.

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::SymbianEGLContext, and Ogre::Win32EGLContext.

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 ( ) [inherited]

Definition at line 58 of file OgreGLES2Context.h.

bool Ogre::GLESContext::getInitialized ( ) [inherited]

Definition at line 59 of file OgreGLESContext.h.

virtual void Ogre::GLES2Context::releaseContext ( ) [virtual, inherited]

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 ( ) [inherited]

Definition at line 59 of file OgreGLES2Context.h.

void Ogre::GLESContext::setInitialized ( ) [inherited]

Definition at line 60 of file OgreGLESContext.h.


Member Data Documentation

bool Ogre::GLESContext::initialized [protected, inherited]

Definition at line 69 of file OgreGLESContext.h.

bool Ogre::GLES2Context::initialized [protected, inherited]

Definition at line 73 of file OgreGLES2Context.h.

EGLConfig Ogre::EGLContext::mConfig [protected]

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

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.

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


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

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 Fri May 25 2012 21:49:22