ROOT  6.06/08
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() [1/2]

TGLContextPrivate::TGLContextPrivate ( )
inline

Definition at line 75 of file TGLContextPrivate.h.

§ TGLContextPrivate() [2/2]

TGLContextPrivate::TGLContextPrivate ( const TGLContextPrivate )
private

Member Function Documentation

§ GetCurrentContext()

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(), RemoveContext(), and TGLContextPrivate().

§ operator=()

TGLContextPrivate& TGLContextPrivate::operator= ( const TGLContextPrivate )
private

Referenced by TGLContextPrivate().

§ RegisterContext()

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::GlewInit(), TGLContext::SetContext(), and TGLContextPrivate().

§ RemoveContext()

void TGLContextPrivate::RemoveContext ( TGLContext ctx)
static

Un-register deleted context.

Definition at line 25 of file TGLContextPrivate.cxx.

Referenced by TGLContext::GlewInit(), TGLContext::Release(), and TGLContextPrivate().

Member Data Documentation

§ fDpy

Display* TGLContextPrivate::fDpy

§ fgContexts

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

Definition at line 91 of file TGLContextPrivate.h.

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

§ fGLContext

GLXContext TGLContextPrivate::fGLContext

§ fVisualInfo

XVisualInfo* TGLContextPrivate::fVisualInfo

Definition at line 70 of file TGLContextPrivate.h.

Referenced by TGLContext::SetContext().

§ fWindowID

Window TGLContextPrivate::fWindowID

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