Class: ewol::Fps
Synopsis:
+ Fps (const char * displayName,
bool displayFPS);
+ ~Fps (void);
+ void tic (void);
+ void toc (bool displayTime);
+ void incrementCounter (void);
+ void draw (void);
Description:
/** * @brief This class is designed to count the number of frame per second in the main renderer system */Detail:
ewol::Fps ()
Fps(const char * displayName,
bool displayFPS);
Constructor
ewol::~Fps ()
~Fps(void);
Destructor
tic ()
void tic(void);
this might be call every time a diplay start
toc ()
void toc(bool displayTime);
this might be call every time a diplay stop, it do the display every second
Parameter [input]: displayTime display curent time of the frame.
incrementCounter ()
void incrementCounter(void);
this might be call when a display is really done
draw ()
void draw(void);
draw debug display ...
ewol::Fps ()
Fps(const char * displayName, bool displayFPS);
Constructor
ewol::~Fps ()
~Fps(void);
Destructor
tic ()
void tic(void);
this might be call every time a diplay start
toc ()
void toc(bool displayTime);
this might be call every time a diplay stop, it do the display every second
-
Parameter [input]: displayTime display curent time of the frame.
incrementCounter ()
void incrementCounter(void);
this might be call when a display is really done
draw ()
void draw(void);
draw debug display ...