ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGLAdapter Class Reference

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

Definition at line 19 of file TGLAdapter.h.

Public Member Functions

 TGLAdapter (Int_t glDevice=-1)
 
Bool_t MakeCurrent ()
 Set as current GL context. More...
 
void SwapBuffers ()
 Swap front/back buffers. More...
 
const TGLFormatGetPixelFormat () const
 
const TGLContextGetContext () const
 
void SetGLDevice (Int_t glDevice)
 
void ReadGLBuffer ()
 Read gl buffer into x-pixmap. More...
 
void SelectOffScreenDevice ()
 Select off-screen device for rendering. More...
 
void MarkForDirectCopy (Bool_t isDirect)
 Mark gl-device for later copying into x-pixmap. More...
 
void ExtractViewport (Int_t *vp) const
 Extract viewport from gl. More...
 
- Public Member Functions inherited from TGLPaintDevice
virtual ~TGLPaintDevice ()
 

Private Member Functions

 TGLAdapter (const TGLAdapter &)
 
TGLAdapteroperator= (const TGLAdapter &)
 
void AddContext (TGLContext *)
 
void RemoveContext (TGLContext *)
 

Private Attributes

Int_t fGLDevice
 

#include <TGLAdapter.h>

+ Inheritance diagram for TGLAdapter:
+ Collaboration diagram for TGLAdapter:

Constructor & Destructor Documentation

TGLAdapter::TGLAdapter ( Int_t  glDevice = -1)
explicit
TGLAdapter::TGLAdapter ( const TGLAdapter )
private

Member Function Documentation

void TGLAdapter::AddContext ( TGLContext )
inlineprivatevirtual

Implements TGLPaintDevice.

Definition at line 45 of file TGLAdapter.h.

void TGLAdapter::ExtractViewport ( Int_t vp) const
virtual

Extract viewport from gl.

Implements TGLPaintDevice.

Definition at line 65 of file TGLAdapter.cxx.

const TGLContext* TGLAdapter::GetContext ( ) const
inlinevirtual

Implements TGLPaintDevice.

Definition at line 29 of file TGLAdapter.h.

const TGLFormat* TGLAdapter::GetPixelFormat ( ) const
inlinevirtual

Implements TGLPaintDevice.

Definition at line 28 of file TGLAdapter.h.

Bool_t TGLAdapter::MakeCurrent ( )
virtual

Set as current GL context.

Implements TGLPaintDevice.

Definition at line 32 of file TGLAdapter.cxx.

void TGLAdapter::MarkForDirectCopy ( Bool_t  isDirect)

Mark gl-device for later copying into x-pixmap.

Definition at line 49 of file TGLAdapter.cxx.

TGLAdapter& TGLAdapter::operator= ( const TGLAdapter )
private
void TGLAdapter::ReadGLBuffer ( )

Read gl buffer into x-pixmap.

Definition at line 57 of file TGLAdapter.cxx.

void TGLAdapter::RemoveContext ( TGLContext )
inlineprivatevirtual

Implements TGLPaintDevice.

Definition at line 46 of file TGLAdapter.h.

void TGLAdapter::SelectOffScreenDevice ( )

Select off-screen device for rendering.

Definition at line 73 of file TGLAdapter.cxx.

void TGLAdapter::SetGLDevice ( Int_t  glDevice)
inline

Definition at line 31 of file TGLAdapter.h.

void TGLAdapter::SwapBuffers ( )
virtual

Swap front/back buffers.

Implements TGLPaintDevice.

Definition at line 40 of file TGLAdapter.cxx.

Member Data Documentation

Int_t TGLAdapter::fGLDevice
private

The documentation for this class was generated from the following files: