Class: ewol::context::Fps
Constructor and Destructor:
+ Fps (const char * displayName,
bool displayFPS);
+ ~Fps (void);
Synopsis:
+ 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 * @not-in-doc */Detail:
ewol::context::Fps ()
Fps(const char * displayName,
bool displayFPS);
Constructor
ewol::context::~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::context::Fps ()
Fps(const char * displayName, bool displayFPS);
Constructor
ewol::context::~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 ...