scene_output: optionally record and report timings

This commit is contained in:
Rose Hudson 2023-06-08 10:42:25 +01:00 committed by Simon Ser
parent f4eaab12a0
commit 214df8eda0
4 changed files with 73 additions and 8 deletions

View file

@ -57,7 +57,7 @@ struct output {
static void output_handle_frame(struct wl_listener *listener, void *data) {
struct output *output = wl_container_of(listener, output, frame);
if (!wlr_scene_output_commit(output->scene_output)) {
if (!wlr_scene_output_commit(output->scene_output, NULL)) {
return;
}