#include <TGLContext.h>
Definition at line 83 of file TGLContext.h.
typedef std::pair<UInt_t, Int_t> TGLContextIdentity::DLRange_t [private] |
Definition at line 120 of file TGLContext.h.
typedef std::list<DLRange_t> TGLContextIdentity::DLTrash_t [private] |
Definition at line 121 of file TGLContext.h.
typedef DLTrash_t::const_iterator TGLContextIdentity::DLTrashIt_t [private] |
Definition at line 122 of file TGLContext.h.
typedef std::list<TGLContext*> TGLContextIdentity::CtxList_t [private] |
Definition at line 124 of file TGLContext.h.
typedef std::pair<UInt_t, Int_t> TGLContextIdentity::DLRange_t [private] |
Definition at line 120 of file TGLContext.h.
typedef std::list<DLRange_t> TGLContextIdentity::DLTrash_t [private] |
Definition at line 121 of file TGLContext.h.
typedef DLTrash_t::const_iterator TGLContextIdentity::DLTrashIt_t [private] |
Definition at line 122 of file TGLContext.h.
typedef std::list<TGLContext*> TGLContextIdentity::CtxList_t [private] |
Definition at line 124 of file TGLContext.h.
TGLContextIdentity::TGLContextIdentity | ( | ) |
TGLContextIdentity::~TGLContextIdentity | ( | ) | [virtual] |
TGLContextIdentity::TGLContextIdentity | ( | ) |
virtual TGLContextIdentity::~TGLContextIdentity | ( | ) | [virtual] |
void TGLContextIdentity::AddRef | ( | TGLContext * | ctx | ) |
Definition at line 390 of file TGLContext.cxx.
Referenced by TGLContext::TGLContext(), and TGLViewer::TGLViewer().
void TGLContextIdentity::Release | ( | TGLContext * | ctx | ) |
Definition at line 398 of file TGLContext.cxx.
References CheckDestroy(), Error, fCnt, fCtxs, and i.
Referenced by TGLContext::~TGLContext(), and TGLViewer::~TGLViewer().
void TGLContextIdentity::AddClientRef | ( | ) | [inline] |
Definition at line 96 of file TGLContext.h.
References fClientCnt.
Referenced by TGLScene::PreDraw().
void TGLContextIdentity::ReleaseClient | ( | ) | [inline] |
Definition at line 97 of file TGLContext.h.
References CheckDestroy(), and fClientCnt.
Referenced by TGLScene::ReleaseGLCtxIdentity(), and TGLScene::~TGLScene().
Int_t TGLContextIdentity::GetRefCnt | ( | ) | const [inline] |
Int_t TGLContextIdentity::GetClientRefCnt | ( | ) | const [inline] |
Bool_t TGLContextIdentity::IsValid | ( | ) | const [inline] |
Definition at line 102 of file TGLContext.h.
References fCnt.
Referenced by TGLScene::ReleaseGLCtxIdentity().
Definition at line 415 of file TGLContext.cxx.
References fDLTrash.
Referenced by TGLLogicalShape::PurgeDLRange().
void TGLContextIdentity::DeleteGLResources | ( | ) |
Definition at line 422 of file TGLContext.cxx.
References TGLFontManager::ClearFontTrash(), fDLTrash, fFontManager, and glDeleteLists().
Referenced by TGLContext::MakeCurrent(), and TGLViewer::PreRender().
TGLContextIdentity * TGLContextIdentity::GetCurrent | ( | ) | [static] |
Definition at line 438 of file TGLContext.cxx.
References TGLContext::GetCurrent(), and TGLContext::GetIdentity().
Referenced by G__G__GL_443_0_11(), G__setup_memfuncTGLContextIdentity(), and TGLViewerBase::PreRender().
TGLContextIdentity * TGLContextIdentity::GetDefaultIdentity | ( | ) | [static] |
Definition at line 446 of file TGLContext.cxx.
References fgDefaultIdentity.
Referenced by G__G__GL_443_0_12(), G__setup_memfuncTGLContextIdentity(), and TGLContext::TGLContext().
TGLContext * TGLContextIdentity::GetDefaultContextAny | ( | ) | [static] |
Definition at line 455 of file TGLContext.cxx.
References fCtxs, and fgDefaultIdentity.
Referenced by G__G__GL_443_0_13(), G__setup_memfuncTGLContextIdentity(), and TGLContext::TGLContext().
TGLFontManager * TGLContextIdentity::GetFontManager | ( | ) |
Definition at line 465 of file TGLContext.cxx.
References fFontManager.
Referenced by TGLRnrCtx::RegisterFontNoScale(), and TGLRnrCtx::ReleaseFont().
void TGLContextIdentity::CheckDestroy | ( | ) | [private] |
Definition at line 473 of file TGLContext.cxx.
References fClientCnt, fCnt, and fgDefaultIdentity.
Referenced by Release(), and ReleaseClient().
TGLContextIdentity::ClassDef | ( | TGLContextIdentity | , | |
0 | ||||
) | [private] |
void TGLContextIdentity::AddRef | ( | TGLContext * | ctx | ) |
void TGLContextIdentity::Release | ( | TGLContext * | ctx | ) |
void TGLContextIdentity::AddClientRef | ( | ) | [inline] |
void TGLContextIdentity::ReleaseClient | ( | ) | [inline] |
Int_t TGLContextIdentity::GetRefCnt | ( | ) | const [inline] |
Int_t TGLContextIdentity::GetClientRefCnt | ( | ) | const [inline] |
Bool_t TGLContextIdentity::IsValid | ( | ) | const [inline] |
void TGLContextIdentity::DeleteGLResources | ( | ) |
static TGLContextIdentity* TGLContextIdentity::GetCurrent | ( | ) | [static] |
static TGLContextIdentity* TGLContextIdentity::GetDefaultIdentity | ( | ) | [static] |
static TGLContext* TGLContextIdentity::GetDefaultContextAny | ( | ) | [static] |
TGLFontManager* TGLContextIdentity::GetFontManager | ( | ) |
void TGLContextIdentity::CheckDestroy | ( | ) | [private] |
TGLContextIdentity::ClassDef | ( | TGLContextIdentity | , | |
0 | ||||
) | [private] |
TGLFontManager* TGLContextIdentity::fFontManager [protected] |
Definition at line 87 of file TGLContext.h.
Referenced by DeleteGLResources(), GetFontManager(), and ~TGLContextIdentity().
Int_t TGLContextIdentity::fCnt [private] |
Definition at line 115 of file TGLContext.h.
Referenced by AddRef(), CheckDestroy(), GetRefCnt(), IsValid(), and Release().
Int_t TGLContextIdentity::fClientCnt [private] |
Definition at line 116 of file TGLContext.h.
Referenced by AddClientRef(), CheckDestroy(), GetClientRefCnt(), and ReleaseClient().
DLTrash_t TGLContextIdentity::fDLTrash [private] |
Definition at line 126 of file TGLContext.h.
Referenced by DeleteGLResources(), and RegisterDLNameRangeToWipe().
CtxList_t TGLContextIdentity::fCtxs [private] |
Definition at line 127 of file TGLContext.h.
Referenced by AddRef(), GetDefaultContextAny(), and Release().
TGLContextIdentity* TGLContextIdentity::fgDefaultIdentity [static, private] |
Definition at line 129 of file TGLContext.h.
Referenced by CheckDestroy(), GetDefaultContextAny(), and GetDefaultIdentity().
TGLFontManager* TGLContextIdentity::fFontManager [protected] |
Definition at line 87 of file TGLContext.h.
TGLContextIdentity* TGLContextIdentity::fgDefaultIdentity [static, private] |
Definition at line 129 of file TGLContext.h.