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 override |
Extract viewport from gl. | |
const TGLContext * | GetContext () const override |
const TGLFormat * | GetPixelFormat () const override |
TClass * | IsA () const override |
Bool_t | MakeCurrent () override |
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 | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
void | SwapBuffers () override |
Swap front/back buffers. | |
Public Member Functions inherited from TGLPaintDevice | |
virtual | ~TGLPaintDevice () |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TGLPaintDevice | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Member Functions | |
TGLAdapter (const TGLAdapter &) | |
void | AddContext (TGLContext *) override |
TGLAdapter & | operator= (const TGLAdapter &) |
void | RemoveContext (TGLContext *) override |
Private Attributes | |
Int_t | fGLDevice |
#include <TGLAdapter.h>
|
explicit |
Constructor.
Definition at line 24 of file TGLAdapter.cxx.
|
private |
|
inlineoverrideprivatevirtual |
Implements TGLPaintDevice.
Definition at line 43 of file TGLAdapter.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 46 of file TGLAdapter.h.
|
inlinestatic |
Definition at line 46 of file TGLAdapter.h.
|
overridevirtual |
|
inlineoverridevirtual |
Implements TGLPaintDevice.
Definition at line 27 of file TGLAdapter.h.
|
inlineoverridevirtual |
Implements TGLPaintDevice.
Definition at line 26 of file TGLAdapter.h.
|
inlineoverridevirtual |
Reimplemented from TGLPaintDevice.
Definition at line 46 of file TGLAdapter.h.
|
overridevirtual |
void TGLAdapter::MarkForDirectCopy | ( | Bool_t | isDirect | ) |
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.
|
inlineoverrideprivatevirtual |
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.
|
inline |
Definition at line 29 of file TGLAdapter.h.
|
overridevirtual |
Reimplemented from TGLPaintDevice.
|
inline |
Definition at line 46 of file TGLAdapter.h.
|
overridevirtual |
|
private |
Definition at line 19 of file TGLAdapter.h.