[client] all: use imgui for FPS/UPS display

This commit is contained in:
Geoffrey McRae
2021-07-18 20:43:17 +10:00
parent 45e1b5bce0
commit ab31040d5f
14 changed files with 87 additions and 479 deletions

View File

@@ -99,13 +99,12 @@ struct AppState
atomic_uint_least64_t frameTime;
uint64_t lastFrameTime;
bool lastFrameTimeValid;
uint64_t renderTime;
uint64_t lastRenderTime;
bool lastRenderTimeValid;
atomic_uint_least64_t frameCount;
uint64_t renderCount;
RingBuffer renderTimings;
RingBuffer frameTimings;
float renderTimeTotal;
float frameTimeTotal;
uint64_t resizeTimeout;
bool resizeDone;