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, char* parent)
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)
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()
{return 0;}
const TGLContext * GetContext()
{return 0;}
void SetGLDevice(Int_t glDevice)
void AddContext(TGLContext* )
void RemoveContext(TGLContext* )

Author: Timur Pocheptsov, Jun 2007
Last update: root/gl:$Id: TGLAdapter.h 20882 2007-11-19 11:31:26Z rdm $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.