opengles emulator: added FPS statistics printout

Make the renderer print FPS statistics every 1 second.
Need to set SHOW_FPS_STATS=1

Change-Id: I69e8c43a779e685ae0b34974d1ef33ad75e7a7e4
This commit is contained in:
Guy Zadickario
2011-08-10 11:02:36 +03:00
parent 7944edcdb2
commit 13b3da879b
2 changed files with 24 additions and 1 deletions

View File

@@ -106,5 +106,9 @@ private:
EGLSurface m_prevDrawSurf;
EGLNativeWindowType m_subWin;
EGLNativeDisplayType m_subWinDisplay;
int m_statsNumFrames;
long long m_statsStartTime;
bool m_fpsStats;
};
#endif