20 TGLFBO(
const TGLFBO&);
21 TGLFBO& operator=(
const TGLFBO&);
27 UInt_t fMSFrameBuffer;
28 UInt_t fMSColorBuffer;
30 Int_t fW, fH, fReqW, fReqH, fMSSamples, fMSCoverageSamples;
32 Float_t fWScale, fHScale;
35 static Bool_t fgRescaleToPow2;
36 static Bool_t fgMultiSampleNAWarned;
39 void InitMultiSample();
41 UInt_t CreateAndAttachRenderBuffer(Int_t format, Int_t type);
42 UInt_t CreateAndAttachColorTexture();
48 void Init(
int w,
int h,
int ms_samples=0);
57 void SetAsReadBuffer();
59 Int_t GetW()
const {
return fW; }
60 Int_t GetH()
const {
return fH; }
61 Int_t GetReqW()
const {
return fReqW; }
62 Int_t GetReqH()
const {
return fReqH; }
63 Int_t GetMSSamples()
const {
return fMSSamples; }
64 Int_t GetMSCoverageSamples()
const {
return fMSCoverageSamples; }
66 Float_t GetWScale()
const {
return fWScale; }
67 Float_t GetHScale()
const {
return fHScale; }
69 Bool_t GetIsRescaled()
const {
return fIsRescaled; }
71 static Bool_t GetRescaleToPow2();
72 static void SetRescaleToPow2(Bool_t r);