48 void Init(
int w,
int h,
int ms_samples=0);
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
static Bool_t fgMultiSampleNAWarned
void Unbind()
Unbind the frame-buffer object.
void UnbindTexture()
Unbind texture.
UInt_t CreateAndAttachRenderBuffer(Int_t format, Int_t type)
virtual ~TGLFBO()
Destructor.
TGLFBO & operator=(const TGLFBO &)=delete
void Init(int w, int h, int ms_samples=0)
Acquire GL resources for given width, height and number of multi-sampling samples.
Bool_t GetIsRescaled() const
UInt_t CreateAndAttachColorTexture()
Initialize color-texture and attach it to current FB.
void Bind()
Bind the frame-buffer object.
Float_t GetHScale() const
Int_t GetMSSamples() const
static void SetRescaleToPow2(Bool_t r)
Set state of fgRescaleToPow2 static member.
Float_t GetWScale() const
static Bool_t GetRescaleToPow2()
Return state of fgRescaleToPow2 static member.
void Release()
Release the allocated GL resources.
TGLFBO(const TGLFBO &)=delete
void BindTexture()
Bind texture.
Int_t GetMSCoverageSamples() const
static Bool_t fgRescaleToPow2