ROOT 6.18/05 Reference Guide |
Allow plot-painters to be used for gl-inpad and gl-viewer.
Definition at line 17 of file TGLAdapter.h.
Public Member Functions | |
TGLAdapter (Int_t glDevice=-1) | |
Constructor. More... | |
void | ExtractViewport (Int_t *vp) const |
Extract viewport from gl. More... | |
const TGLContext * | GetContext () const |
const TGLFormat * | GetPixelFormat () const |
Bool_t | MakeCurrent () |
Set as current GL context. More... | |
void | MarkForDirectCopy (Bool_t isDirect) |
Mark gl-device for later copying into x-pixmap. More... | |
void | ReadGLBuffer () |
Read gl buffer into x-pixmap. More... | |
void | SelectOffScreenDevice () |
Select off-screen device for rendering. More... | |
void | SetGLDevice (Int_t glDevice) |
void | SwapBuffers () |
Swap front/back buffers. More... | |
Public Member Functions inherited from TGLPaintDevice | |
virtual | ~TGLPaintDevice () |
virtual void | ExtractViewport (Int_t *vp) const =0 |
virtual const TGLContext * | GetContext () const =0 |
virtual const TGLFormat * | GetPixelFormat () const =0 |
virtual Bool_t | MakeCurrent ()=0 |
virtual void | SwapBuffers ()=0 |
Private Member Functions | |
TGLAdapter (const TGLAdapter &) | |
void | AddContext (TGLContext *) |
TGLAdapter & | operator= (const TGLAdapter &) |
void | RemoveContext (TGLContext *) |
Private Attributes | |
Int_t | fGLDevice |
#include <TGLAdapter.h>
|
explicit |
Constructor.
Definition at line 24 of file TGLAdapter.cxx.
|
private |
|
inlineprivatevirtual |
Implements TGLPaintDevice.
Definition at line 43 of file TGLAdapter.h.
|
inlinevirtual |
Implements TGLPaintDevice.
Definition at line 27 of file TGLAdapter.h.
|
inlinevirtual |
Implements TGLPaintDevice.
Definition at line 26 of file TGLAdapter.h.
|
virtual |
Mark gl-device for later copying into x-pixmap.
Definition at line 49 of file TGLAdapter.cxx.
|
private |
void TGLAdapter::ReadGLBuffer | ( | ) |
Read gl buffer into x-pixmap.
Definition at line 57 of file TGLAdapter.cxx.
|
inlineprivatevirtual |
Implements TGLPaintDevice.
Definition at line 44 of file TGLAdapter.h.
void TGLAdapter::SelectOffScreenDevice | ( | ) |
Select off-screen device for rendering.
Definition at line 73 of file TGLAdapter.cxx.
Definition at line 29 of file TGLAdapter.h.
|
virtual |
|
private |
Definition at line 19 of file TGLAdapter.h.