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. | |
void | ExtractViewport (Int_t *vp) const |
Extract viewport from gl. | |
const TGLContext * | GetContext () const |
const TGLFormat * | GetPixelFormat () const |
Bool_t | MakeCurrent () |
Set as current GL context. | |
void | MarkForDirectCopy (Bool_t isDirect) |
Mark gl-device for later copying into x-pixmap. | |
void | ReadGLBuffer () |
Read gl buffer into x-pixmap. | |
void | SelectOffScreenDevice () |
Select off-screen device for rendering. | |
void | SetGLDevice (Int_t glDevice) |
void | SwapBuffers () |
Swap front/back buffers. | |
Public Member Functions inherited from TGLPaintDevice | |
virtual | ~TGLPaintDevice () |
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.