TGLContextIdentity * GetIdentity() const
We can have several shared contexts, and gl-scene wants to know, if some context (defined by its iden...
 
std::pair< UInt_t, Int_t > DLRange_t
 
Identifier of a shared GL-context. 
 
DLTrash_t::const_iterator DLTrashIt_t
 
std::list< TGLContext * > CtxList_t
 
TGLContextIdentity * fIdentity
 
Bool_t MakeCurrent()
If context is valid (TGLPaintDevice, for which context was created still exists), make it current...
 
std::list< DLRange_t > DLTrash_t
 
TGLContext(TGLWidget *glWidget, Bool_t shareDefault=kTRUE, const TGLContext *shareList=0)
TGLContext ctor "from" TGLWidget. 
 
TGLFontManager * fFontManager
 
static void GlewInit()
Initialize GLEW - static private function. 
 
void SetContext(TGLWidget *widget, const TGLContext *shareList)
X11 gl-context creation. 
 
void SwapBuffers()
If context is valid (TGLPaintDevice, for which context was created still exists), swap buffers (in ca...
 
This class encapsulates window-system specific information about a GL-context and alows their proper ...
 
Int_t GetClientRefCnt() const
 
void Release()
Make the context invalid and (do thread switch, if needed) free resources. 
 
static TGLContext * GetCurrent()
Ask TGLContextPrivate to lookup context in its internal map. 
 
static Bool_t fgGlewInitDone
 
static TGLContextIdentity * fgDefaultIdentity
 
std::unique_ptr< TGLContextPrivate > fPimpl
 
TGLContext & operator=(const TGLContext &)