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

#include <OgreGLXContext.h>

+ Inheritance diagram for Ogre::GLXContext:
+ Collaboration diagram for Ogre::GLXContext:

Public Member Functions

 GLXContext (GLXGLSupport *glsupport,::GLXFBConfig fbconfig,::GLXDrawable drawable,::GLXContext context=0)
 
 GLXContext (GLXGLSupport *glsupport,::GLXFBConfig fbconfig,::GLXDrawable drawable,::GLXContext context=0)
 
virtual ~GLXContext ()
 
virtual ~GLXContext ()
 
GLContextclone () const
 Create a new context based on the same window/pbuffer as this context - mostly useful for additional threads. More...
 
GL3PlusContextclone () 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...
 
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

::GLXContext mContext
 
::GLXDrawable mDrawable
 

Protected Attributes

bool initialized
 
bool initialized
 

Private Attributes

bool mExternalContext
 
::GLXFBConfig mFBConfig
 
GLXGLSupportmGLSupport
 

Detailed Description

Definition at line 36 of file include/GLX/OgreGLXContext.h.

Constructor & Destructor Documentation

Ogre::GLXContext::GLXContext ( GLXGLSupport glsupport,
::GLXFBConfig  fbconfig,
::GLXDrawable  drawable,
::GLXContext  context = 0 
)
virtual Ogre::GLXContext::~GLXContext ( )
virtual
Ogre::GLXContext::GLXContext ( GLXGLSupport glsupport,
::GLXFBConfig  fbconfig,
::GLXDrawable  drawable,
::GLXContext  context = 0 
)
virtual Ogre::GLXContext::~GLXContext ( )
virtual

Member Function Documentation

GLContext* Ogre::GLXContext::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::GLContext.

GL3PlusContext* Ogre::GLXContext::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::GLContext.

virtual void Ogre::GLXContext::endCurrent ( )
virtual

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLContext.

virtual void Ogre::GLXContext::endCurrent ( )
virtual

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLContext.

bool Ogre::GLContext::getInitialized ( )
inlineinherited

Definition at line 57 of file OgreGLContext.h.

bool Ogre::GL3PlusContext::getInitialized ( )
inlineinherited

Definition at line 58 of file OgreGL3PlusContext.h.

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

Release the render context.

Reimplemented in Ogre::Win32Context, and Ogre::Win32Context.

Definition at line 69 of file OgreGLContext.h.

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

Release the render context.

Reimplemented in Ogre::Win32Context, and Ogre::Win32Context.

Definition at line 70 of file OgreGL3PlusContext.h.

virtual void Ogre::GLXContext::setCurrent ( )
virtual

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLContext.

virtual void Ogre::GLXContext::setCurrent ( )
virtual

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLContext.

void Ogre::GLContext::setInitialized ( )
inlineinherited

Definition at line 58 of file OgreGLContext.h.

void Ogre::GL3PlusContext::setInitialized ( )
inlineinherited

Definition at line 59 of file OgreGL3PlusContext.h.

Member Data Documentation

bool Ogre::GLContext::initialized
protectedinherited

Definition at line 71 of file OgreGLContext.h.

bool Ogre::GL3PlusContext::initialized
protectedinherited

Definition at line 73 of file OgreGL3PlusContext.h.

GLXContext Ogre::GLXContext::mContext

Definition at line 53 of file include/GLX/OgreGLXContext.h.

GLXDrawable Ogre::GLXContext::mDrawable

Definition at line 52 of file include/GLX/OgreGLXContext.h.

bool Ogre::GLXContext::mExternalContext
private

Definition at line 58 of file include/GLX/OgreGLXContext.h.

GLXFBConfig Ogre::GLXContext::mFBConfig
private

Definition at line 56 of file include/GLX/OgreGLXContext.h.

GLXGLSupport * Ogre::GLXContext::mGLSupport
private

Definition at line 57 of file include/GLX/OgreGLXContext.h.


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