mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
scene_output: optionally record and report timings
This commit is contained in:
parent
f4eaab12a0
commit
214df8eda0
4 changed files with 73 additions and 8 deletions
|
|
@ -559,7 +559,7 @@ static void output_frame(struct wl_listener *listener, void *data) {
|
|||
scene, output->wlr_output);
|
||||
|
||||
/* Render the scene if needed and commit the output */
|
||||
wlr_scene_output_commit(scene_output);
|
||||
wlr_scene_output_commit(scene_output, NULL);
|
||||
|
||||
struct timespec now;
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue