#include <TGLContextPrivate.h>
Public Member Functions | |
TGLContextPrivate () | |
TGLContextPrivate () | |
Static Public Member Functions | |
static void | RegisterContext (TGLContext *ctx) |
static void | RemoveContext (TGLContext *ctx) |
static TGLContext * | GetCurrentContext () |
static void | RegisterContext (TGLContext *ctx) |
static void | RemoveContext (TGLContext *ctx) |
static TGLContext * | GetCurrentContext () |
Public Attributes | |
Display * | fDpy |
XVisualInfo * | fVisualInfo |
GLXContext | fGLContext |
Window | fWindowID |
Display * | fDpy |
XVisualInfo * | fVisualInfo |
Private Member Functions | |
TGLContextPrivate (const TGLContextPrivate &) | |
TGLContextPrivate & | operator= (const TGLContextPrivate &) |
TGLContextPrivate (const TGLContextPrivate &) | |
TGLContextPrivate & | operator= (const TGLContextPrivate &) |
Static Private Attributes | |
static std::map< GLXContext, TGLContext * > | fgContexts |
static std::map< GLXContext, TGLContext * > | fgContexts |
Definition at line 42 of file TGLContextPrivate.h.
TGLContextPrivate::TGLContextPrivate | ( | ) | [inline] |
Definition at line 50 of file TGLContextPrivate.h.
TGLContextPrivate::TGLContextPrivate | ( | const TGLContextPrivate & | ) | [private] |
TGLContextPrivate::TGLContextPrivate | ( | ) | [inline] |
Definition at line 50 of file TGLContextPrivate.h.
TGLContextPrivate::TGLContextPrivate | ( | const TGLContextPrivate & | ) | [private] |
void TGLContextPrivate::RegisterContext | ( | TGLContext * | ctx | ) | [static] |
Definition at line 7 of file TGLContextPrivate.cxx.
References fgContexts, fGLContext, TGLContext::fPimpl, and TGLContext::IsValid().
Referenced by TGLContext::SetContext().
void TGLContextPrivate::RemoveContext | ( | TGLContext * | ctx | ) | [static] |
Definition at line 15 of file TGLContextPrivate.cxx.
References fgContexts, fGLContext, TGLContext::fPimpl, and TGLContext::IsValid().
Referenced by TGLContext::Release().
TGLContext * TGLContextPrivate::GetCurrentContext | ( | ) | [static] |
Definition at line 44 of file TGLContextPrivate.cxx.
References fgContexts, and glXGetCurrentContext().
Referenced by TGLContext::GetCurrent().
TGLContextPrivate& TGLContextPrivate::operator= | ( | const TGLContextPrivate & | ) | [private] |
static void TGLContextPrivate::RegisterContext | ( | TGLContext * | ctx | ) | [static] |
static void TGLContextPrivate::RemoveContext | ( | TGLContext * | ctx | ) | [static] |
static TGLContext* TGLContextPrivate::GetCurrentContext | ( | ) | [static] |
TGLContextPrivate& TGLContextPrivate::operator= | ( | const TGLContextPrivate & | ) | [private] |
Display* TGLContextPrivate::fDpy |
Definition at line 44 of file TGLContextPrivate.h.
Referenced by TGLContext::ClearCurrent(), TGLContext::MakeCurrent(), TGLContext::Release(), TGLContext::SetContext(), and TGLContext::SwapBuffers().
XVisualInfo* TGLContextPrivate::fVisualInfo |
Definition at line 46 of file TGLContextPrivate.h.
Referenced by TGLContext::MakeCurrent(), RegisterContext(), TGLContext::Release(), RemoveContext(), and TGLContext::SetContext().
Window TGLContextPrivate::fWindowID |
Definition at line 47 of file TGLContextPrivate.h.
Referenced by TGLContext::MakeCurrent(), TGLContext::SetContext(), and TGLContext::SwapBuffers().
std::map< GLXContext, TGLContext * > TGLContextPrivate::fgContexts [static, private] |
Definition at line 66 of file TGLContextPrivate.h.
Referenced by GetCurrentContext(), RegisterContext(), and RemoveContext().
Display* TGLContextPrivate::fDpy |
Definition at line 44 of file TGLContextPrivate.h.
XVisualInfo* TGLContextPrivate::fVisualInfo |
Definition at line 45 of file TGLContextPrivate.h.
std::map<GLXContext, TGLContext *> TGLContextPrivate::fgContexts [static, private] |
Definition at line 66 of file TGLContextPrivate.h.