Public Member Functions | Public Attributes | Protected Attributes | Private Attributes | List of all members
Ogre::GLXContext Class Reference

#include <OgreGLXContext.h>

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

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 ()
 
virtual void releaseContext ()
 Release the render context. More...
 
virtual void setCurrent ()
 Enable the context. More...
 
virtual void setCurrent ()
 Enable the context. More...
 
void setInitialized ()
 

Public Attributes

::GLXContext mContext
 
::GLXDrawable mDrawable
 

Protected Attributes

bool initialized
 

Private Attributes

bool mExternalContext
 
::GLXFBConfig mFBConfig
 
GLXGLSupportmGLSupport
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GLXContext() [1/2]

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

◆ ~GLXContext() [1/2]

virtual Ogre::GLXContext::~GLXContext ( )
virtual

◆ GLXContext() [2/2]

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

◆ ~GLXContext() [2/2]

virtual Ogre::GLXContext::~GLXContext ( )
virtual

Member Function Documentation

◆ clone() [1/2]

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.

◆ clone() [2/2]

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.

◆ endCurrent() [1/2]

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

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLContext.

◆ endCurrent() [2/2]

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

This is called before another context is made current.

By default, nothing is done here.

Implements Ogre::GLContext.

◆ getInitialized()

bool Ogre::GLContext::getInitialized ( )
inherited

Definition at line 57 of file OgreGLContext.h.

◆ releaseContext()

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

Release the render context.

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

Definition at line 69 of file OgreGLContext.h.

◆ setCurrent() [1/2]

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLContext.

◆ setCurrent() [2/2]

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

Enable the context.

All subsequent rendering commands will go here.

Implements Ogre::GLContext.

◆ setInitialized()

void Ogre::GLContext::setInitialized ( )
inherited

Definition at line 58 of file OgreGLContext.h.

Member Data Documentation

◆ initialized

bool Ogre::GLContext::initialized
protectedinherited

Definition at line 71 of file OgreGLContext.h.

◆ mContext

GLXContext Ogre::GLXContext::mContext

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

◆ mDrawable

GLXDrawable Ogre::GLXContext::mDrawable

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

◆ mExternalContext

bool Ogre::GLXContext::mExternalContext
private

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

◆ mFBConfig

GLXFBConfig Ogre::GLXContext::mFBConfig
private

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

◆ mGLSupport

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:

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 Tue Apr 13 2021 08:53:15