Logo ROOT  
Reference Guide
TGLContextPrivate Class Reference

Definition at line 67 of file TGLContextPrivate.h.

Public Member Functions

 TGLContextPrivate ()
 

Static Public Member Functions

static TGLContextGetCurrentContext ()
 Ask wgl what HGLRC is current and look up corresponding TGLContext. More...
 
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...
 

Public Attributes

Display * fDpy
 
GLXContext fGLContext
 
XVisualInfo * fVisualInfo
 
Window fWindowID
 

Private Member Functions

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

Static Private Attributes

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

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/graf3d/gl/src/TGLContextPrivate.h>

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.

◆ operator=()

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

◆ 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.

◆ RemoveContext()

void TGLContextPrivate::RemoveContext ( TGLContext ctx)
static

Un-register deleted context.

Definition at line 25 of file TGLContextPrivate.cxx.

Member Data Documentation

◆ fDpy

Display* TGLContextPrivate::fDpy

Definition at line 69 of file TGLContextPrivate.h.

◆ fgContexts

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

Definition at line 91 of file TGLContextPrivate.h.

◆ fGLContext

GLXContext TGLContextPrivate::fGLContext

Definition at line 71 of file TGLContextPrivate.h.

◆ fVisualInfo

XVisualInfo* TGLContextPrivate::fVisualInfo

Definition at line 70 of file TGLContextPrivate.h.

◆ fWindowID

Window TGLContextPrivate::fWindowID

Definition at line 72 of file TGLContextPrivate.h.


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