12#ifndef ROOT_TGLAdapter
13#define ROOT_TGLAdapter
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
#define ClassDefOverride(name, id)
void SelectOffScreenDevice()
Select off-screen device for rendering.
void ReadGLBuffer()
Read gl buffer into x-pixmap.
TGLAdapter & operator=(const TGLAdapter &)
TGLAdapter(const TGLAdapter &)
TGLAdapter(Int_t glDevice=-1)
Constructor.
const TGLFormat * GetPixelFormat() const override
const TGLContext * GetContext() const override
void ExtractViewport(Int_t *vp) const override
Extract viewport from gl.
void SwapBuffers() override
Swap front/back buffers.
void SetGLDevice(Int_t glDevice)
void MarkForDirectCopy(Bool_t isDirect)
Mark gl-device for later copying into x-pixmap.
void AddContext(TGLContext *) override
void RemoveContext(TGLContext *) override
Bool_t MakeCurrent() override
Set as current GL context.