12 #ifndef ROOT_TGLAdapter
13 #define ROOT_TGLAdapter
17 class TGLAdapter :
public TGLPaintDevice {
22 explicit TGLAdapter(Int_t glDevice = -1);
26 const TGLFormat *GetPixelFormat()
const{
return 0;}
27 const TGLContext *GetContext()
const{
return 0;}
29 void SetGLDevice(Int_t glDevice)
35 void SelectOffScreenDevice();
36 void MarkForDirectCopy(Bool_t isDirect);
37 void ExtractViewport(Int_t *vp)
const;
40 TGLAdapter(
const TGLAdapter &);
41 TGLAdapter &operator = (
const TGLAdapter &);
43 void AddContext(TGLContext *){}
44 void RemoveContext(TGLContext *){}
46 ClassDef(TGLAdapter, 0)