ROOT logo
ROOT » GRAF3D » GL » TGLAdapter

class TGLAdapter: public TGLPaintDevice

 Allow plot-painters to be used for gl-inpad and gl-viewer.

Function Members (Methods)

TGLAdapter(Int_t glDevice = -1)
static TClass*Class()
virtual voidExtractViewport(Int_t* vp) const
virtual const TGLContext*GetContext() const
virtual const TGLFormat*GetPixelFormat() const
virtual TClass*IsA() const
virtual Bool_tMakeCurrent()
voidMarkForDirectCopy(Bool_t isDirect)
voidSetGLDevice(Int_t glDevice)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidSwapBuffers()
TGLAdapter(const TGLAdapter&)
virtual voidAddContext(TGLContext*)
TGLAdapter&operator=(const TGLAdapter&)
virtual voidRemoveContext(TGLContext*)

Data Members


Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLAdapter(Int_t glDevice = -1)
Bool_t MakeCurrent()
 Set as current GL contet.
void SwapBuffers()
 Swap front/back buffers.
void MarkForDirectCopy(Bool_t isDirect)
 Mark gl-device for later copying into x-pixmap.
void ReadGLBuffer()
 Read gl buffer into x-pixmap.
void ExtractViewport(Int_t* vp) const
 Extract viewport from gl.
void SelectOffScreenDevice()
 Select off-screen device for rendering.
explicit TGLAdapter(Int_t glDevice = -1)
const TGLFormat * GetPixelFormat() const
{return 0;}
const TGLContext * GetContext() const
{return 0;}
void SetGLDevice(Int_t glDevice)
void AddContext(TGLContext* )
void RemoveContext(TGLContext* )