#ifndef ROOT_TGLAdapter
#define ROOT_TGLAdapter
#ifndef ROOT_TVirtualGL
#include "TVirtualGL.h"
#endif
class TGLAdapter : public TGLPaintDevice {
private:
Int_t fGLDevice;
public:
explicit TGLAdapter(Int_t glDevice = -1);
Bool_t MakeCurrent();
void SwapBuffers();
const TGLFormat *GetPixelFormat()const{return 0;}
const TGLContext *GetContext()const{return 0;}
void SetGLDevice(Int_t glDevice)
{
fGLDevice = glDevice;
}
void ReadGLBuffer();
void SelectOffScreenDevice();
void MarkForDirectCopy(Bool_t isDirect);
void ExtractViewport(Int_t *vp)const;
private:
TGLAdapter(const TGLAdapter &);
TGLAdapter &operator = (const TGLAdapter &);
void AddContext(TGLContext *){}
void RemoveContext(TGLContext *){}
ClassDef(TGLAdapter, 0)
};
#endif
Last change: Wed Jun 25 08:40:42 2008
Last generated: 2008-06-25 08:40
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.