class TGLAdapter: public TGLPaintDevice


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

Function Members (Methods)

public:
TGLAdapter(Int_t glDevice = -1)
~TGLAdapter()
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)
voidReadGLBuffer()
voidSelectOffScreenDevice()
voidSetGLDevice(Int_t glDevice)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidSwapBuffers()
private:
TGLAdapter(const TGLAdapter&)
virtual voidAddContext(TGLContext*)
TGLAdapter&operator=(const TGLAdapter&)
virtual voidRemoveContext(TGLContext*)

Data Members

private:
Int_tfGLDevice

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLAdapter(Int_t glDevice)
 Constructor.
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 change: root/gl:$Id: TGLAdapter.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:40
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.