backend: add last_render_time interface.
Used for querying how long render takes to complete, used for frame pacing. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@@ -249,6 +249,7 @@ typedef struct session {
|
||||
uint64_t last_render;
|
||||
|
||||
struct rolling_avg *frame_time;
|
||||
struct rolling_max *render_stats;
|
||||
|
||||
// === Operation related ===
|
||||
/// Flags related to the root window
|
||||
|
||||
Reference in New Issue
Block a user