ROOT  6.06/09
Reference Guide
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes | List of all members
TGLContextPrivate Class Reference

Definition at line 67 of file TGLContextPrivate.h.

Public Member Functions

 TGLContextPrivate ()
 

Static Public Member Functions

static void RegisterContext (TGLContext *ctx)
 Register gl-context to find it later as current (GetCurrentContext) More...
 
static void RemoveContext (TGLContext *ctx)
 Un-register deleted context. More...
 
static TGLContextGetCurrentContext ()
 Ask wgl what HGLRC is current and look up corresponding TGLContext. More...
 

Public Attributes

Display * fDpy
 
XVisualInfo * fVisualInfo
 
GLXContext fGLContext
 
Window fWindowID
 

Private Member Functions

 TGLContextPrivate (const TGLContextPrivate &)
 
TGLContextPrivateoperator= (const TGLContextPrivate &)
 

Static Private Attributes

static std::map< GLXContext, TGLContext * > fgContexts
 

#include <TGLContextPrivate.h>

+ Collaboration diagram for TGLContextPrivate:

Constructor & Destructor Documentation

TGLContextPrivate::TGLContextPrivate ( )
inline

Definition at line 75 of file TGLContextPrivate.h.

TGLContextPrivate::TGLContextPrivate ( const TGLContextPrivate )
private

Member Function Documentation

TGLContext * TGLContextPrivate::GetCurrentContext ( )
static

Ask wgl what HGLRC is current and look up corresponding TGLContext.

Definition at line 74 of file TGLContextPrivate.cxx.

Referenced by TGLContext::GetCurrent().

TGLContextPrivate& TGLContextPrivate::operator= ( const TGLContextPrivate )
private
void TGLContextPrivate::RegisterContext ( TGLContext ctx)
static

Register gl-context to find it later as current (GetCurrentContext)

Definition at line 16 of file TGLContextPrivate.cxx.

Referenced by TGLContext::SetContext().

void TGLContextPrivate::RemoveContext ( TGLContext ctx)
static

Un-register deleted context.

Definition at line 25 of file TGLContextPrivate.cxx.

Referenced by TGLContext::Release().

Member Data Documentation

Display* TGLContextPrivate::fDpy
std::map< GLXContext, TGLContext * > TGLContextPrivate::fgContexts
staticprivate

Definition at line 91 of file TGLContextPrivate.h.

Referenced by GetCurrentContext(), RegisterContext(), and RemoveContext().

GLXContext TGLContextPrivate::fGLContext
XVisualInfo* TGLContextPrivate::fVisualInfo

Definition at line 70 of file TGLContextPrivate.h.

Referenced by TGLContext::SetContext().

Window TGLContextPrivate::fWindowID

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