#include <TGLContext.h>
Definition at line 33 of file TGLContext.h.
TGLContext::TGLContext | ( | TGLWidget * | glWidget, | |
Bool_t | shareDefault = kTRUE , |
|||
const TGLContext * | shareList = 0 | |||
) |
Definition at line 42 of file TGLContext.cxx.
References TGLContextIdentity::AddRef(), fFromCtor, fIdentity, Form(), TGLContextIdentity::GetDefaultContextAny(), TGLContextIdentity::GetDefaultIdentity(), GetIdentity(), gROOT, gVirtualX, kFALSE, TROOT::ProcessLineFast(), and SetContext().
TGLContext::~TGLContext | ( | ) | [virtual] |
Definition at line 331 of file TGLContext.cxx.
References fDevice, fIdentity, fPimpl, fValid, TGLContextIdentity::Release(), Release(), and TGLPaintDevice::RemoveContext().
TGLContext::TGLContext | ( | const TGLContext & | ) | [private] |
TGLContext::TGLContext | ( | TGLWidget * | glWidget, | |
Bool_t | shareDefault = kTRUE , |
|||
const TGLContext * | shareList = 0 | |||
) |
virtual TGLContext::~TGLContext | ( | ) | [virtual] |
TGLContext::TGLContext | ( | const TGLContext & | ) | [private] |
TGLContextIdentity * TGLContext::GetIdentity | ( | ) | const |
Definition at line 347 of file TGLContext.cxx.
References fIdentity.
Referenced by TGLContextIdentity::GetCurrent(), and TGLContext().
Bool_t TGLContext::MakeCurrent | ( | ) |
Definition at line 268 of file TGLContext.cxx.
References TGLContextIdentity::DeleteGLResources(), Error, TGLContextPrivate::fDpy, fgGlewInitDone, TGLContextPrivate::fGLContext, fIdentity, fPimpl, fValid, TGLContextPrivate::fWindowID, GlewInit(), glXMakeCurrent(), and kFALSE.
Referenced by TGLWidget::MakeCurrent().
Bool_t TGLContext::ClearCurrent | ( | ) |
Definition at line 293 of file TGLContext.cxx.
References TGLContextPrivate::fDpy, fPimpl, glXMakeCurrent(), and None.
Referenced by TGLWidget::ClearCurrent().
void TGLContext::SwapBuffers | ( | ) |
Definition at line 300 of file TGLContext.cxx.
References Error, TGLContextPrivate::fDpy, fPimpl, fValid, TGLContextPrivate::fWindowID, glFinish(), and glXSwapBuffers().
Referenced by TGLWidget::SwapBuffers().
void TGLContext::SetContext | ( | TGLWidget * | widget, | |
const TGLContext * | shareList | |||
) |
Definition at line 232 of file TGLContext.cxx.
References TGLPaintDevice::AddContext(), Display(), Error, fDevice, TGLContextPrivate::fDpy, fFromCtor, TGLContextPrivate::fGLContext, fPimpl, fValid, TGLContextPrivate::fVisualInfo, TGLContextPrivate::fWindowID, TGObject::GetId(), TGLWidget::GetInnerData(), glXCreateContext(), kTRUE, None, TGLContextPrivate::RegisterContext(), and True.
Referenced by TGLContext().
void TGLContext::Release | ( | ) |
Definition at line 317 of file TGLContext.cxx.
References TGLContextPrivate::fDpy, TGLContextPrivate::fGLContext, fPimpl, fValid, glXDestroyContext(), kFALSE, and TGLContextPrivate::RemoveContext().
Referenced by ~TGLContext().
Bool_t TGLContext::IsValid | ( | ) | const [inline] |
Definition at line 68 of file TGLContext.h.
References fValid.
Referenced by TGLContextPrivate::RegisterContext(), and TGLContextPrivate::RemoveContext().
TGLContext * TGLContext::GetCurrent | ( | ) | [static] |
Definition at line 356 of file TGLContext.cxx.
References TGLContextPrivate::GetCurrentContext().
Referenced by G__G__GL_229_0_9(), G__setup_memfuncTGLContext(), and TGLContextIdentity::GetCurrent().
void TGLContext::GlewInit | ( | ) | [static] |
Definition at line 77 of file TGLContext.cxx.
References fgGlewInitDone, gDebug, GLEW_OK, glewInit(), Info, kTRUE, and Warning().
Referenced by G__G__GL_229_0_10(), G__setup_memfuncTGLContext(), and MakeCurrent().
TGLContext& TGLContext::operator= | ( | const TGLContext & | ) | [private] |
TGLContext::ClassDef | ( | TGLContext | , | |
0 | ||||
) | [private] |
TGLContextIdentity* TGLContext::GetIdentity | ( | ) | const |
Bool_t TGLContext::MakeCurrent | ( | ) |
Bool_t TGLContext::ClearCurrent | ( | ) |
void TGLContext::SwapBuffers | ( | ) |
void TGLContext::SetContext | ( | TGLWidget * | widget, | |
const TGLContext * | shareList | |||
) |
void TGLContext::Release | ( | ) |
Bool_t TGLContext::IsValid | ( | ) | const [inline] |
static TGLContext* TGLContext::GetCurrent | ( | ) | [static] |
static void TGLContext::GlewInit | ( | ) | [static] |
TGLContext& TGLContext::operator= | ( | const TGLContext & | ) | [private] |
TGLContext::ClassDef | ( | TGLContext | , | |
0 | ||||
) | [private] |
TGLContextPrivate [friend] |
Definition at line 35 of file TGLContext.h.
TGLWidget [friend] |
Definition at line 36 of file TGLContext.h.
TGLPaintDevice* TGLContext::fDevice [private] |
TGLContextPrivate* TGLContext::fPimpl [private] |
Definition at line 41 of file TGLContext.h.
Referenced by ClearCurrent(), MakeCurrent(), TGLContextPrivate::RegisterContext(), Release(), TGLContextPrivate::RemoveContext(), SetContext(), SwapBuffers(), and ~TGLContext().
Bool_t TGLContext::fFromCtor [private] |
Bool_t TGLContext::fValid [private] |
Definition at line 44 of file TGLContext.h.
Referenced by IsValid(), MakeCurrent(), Release(), SetContext(), SwapBuffers(), and ~TGLContext().
TGLContextIdentity* TGLContext::fIdentity [private] |
Definition at line 46 of file TGLContext.h.
Referenced by GetIdentity(), MakeCurrent(), TGLContext(), and ~TGLContext().
static Bool_t TGLContext::fgGlewInitDone [static, private] |
TGLPaintDevice* TGLContext::fDevice [private] |
Definition at line 40 of file TGLContext.h.
TGLContextPrivate* TGLContext::fPimpl [private] |
Definition at line 41 of file TGLContext.h.
TGLContextIdentity* TGLContext::fIdentity [private] |
Definition at line 46 of file TGLContext.h.