Report the actual GPU framerate rather than the main thread submit rate when using the filament renderer.

PiperOrigin-RevId: 838775463
Change-Id: If66644d284a4a9e0263cf31bfbd1785b18e0209b
This commit is contained in:
Haroon Qureshi
2025-12-01 08:01:33 -08:00
committed by Copybara-Service
parent 4896e698f6
commit 448fc0e4d5
8 changed files with 44 additions and 22 deletions
+4
View File
@@ -182,6 +182,10 @@ class App {
UiState ui_;
UiTempState tmp_;
int frames_ = 0;
TimePoint last_fps_update_;
double fps_ = 0;
};
} // namespace mujoco::studio