OGRE  1.7
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ogre::GtkEGLContext Class Reference

#include <OgreGtkEGLContext.h>

+ Inheritance diagram for Ogre::GtkEGLContext:
+ Collaboration diagram for Ogre::GtkEGLContext:

Public Member Functions

 GtkEGLContext (EGLDisplay eglDisplay, const EGLSupport *glsupport,::EGLConfig fbconfig,::EGLSurface drawable)
 
virtual ~GtkEGLContext ()
 
GLESContextclone () 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...
 
EGLSurface getDrawable () const
 
bool getInitialized ()
 
virtual void setCurrent ()
 Enable the context. More...
 
void setInitialized ()
 

Protected Attributes

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

Detailed Description

Definition at line 38 of file OgreGtkEGLContext.h.

Constructor & Destructor Documentation

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

Member Function Documentation

GLESContext* Ogre::GtkEGLContext::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.

Implements Ogre::EGLContext.

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

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLESContext.

EGLSurface Ogre::EGLContext::getDrawable ( ) const
inherited
bool Ogre::GLESContext::getInitialized ( )
inlineinherited

Definition at line 59 of file OgreGLESContext.h.

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLESContext.

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.

::EGLConfig Ogre::EGLContext::mConfig
protectedinherited

Definition at line 41 of file OgreEGLContext.h.

::EGLContext Ogre::EGLContext::mContext
protectedinherited

Definition at line 44 of file OgreEGLContext.h.

::EGLSurface Ogre::EGLContext::mDrawable
protectedinherited

Definition at line 43 of file OgreEGLContext.h.

EGLDisplay Ogre::EGLContext::mEglDisplay
protectedinherited

Definition at line 45 of file OgreEGLContext.h.

const EGLSupport* Ogre::EGLContext::mGLSupport
protectedinherited

Definition at line 42 of file OgreEGLContext.h.


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