26 #if !defined(__CLING__)
29 typedef struct _XDisplay Display;
34 class TX11GLManager :
public TGLManager {
46 Int_t InitGLWindow(Window_t winID);
48 Int_t CreateGLContext(Int_t winInd);
53 Bool_t AttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h);
54 Bool_t ResizeOffScreenDevice(Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h);
56 void SelectOffScreenDevice(Int_t devInd);
58 Int_t GetVirtualXInd(Int_t devInd);
60 void MarkForDirectCopy(Int_t devInd, Bool_t);
62 void ExtractViewport(Int_t devInd, Int_t *vp);
64 void ReadGLBuffer(Int_t devInd);
68 Bool_t MakeCurrent(Int_t devInd);
70 void Flush(Int_t ctxInd);
72 void DeleteGLContext(Int_t devInd);
75 Bool_t SelectManip(TVirtualGLManip *manip,
const TGLCamera *camera,
const TGLRect *rect,
const TGLBoundingBox *sceneBox);
77 Bool_t PlotSelected(TVirtualGLPainter *plot, Int_t px, Int_t py);
78 char *GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py);
80 void PaintSingleObject(TVirtualGLPainter *);
81 void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y);
82 void PrintViewer(TVirtualViewer3D *vv);
84 Bool_t HighColorFormat(Int_t ){
return kFALSE;}
89 Bool_t CreateGLPixmap(TGLContext_t &);
93 TX11GLManager(
const TX11GLManager &);
94 TX11GLManager &operator = (
const TX11GLManager &);
96 ClassDef(TX11GLManager, 0)