From 41c25aac6384e6e429a51ace166fffcf219efeca Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Mon, 12 Oct 2026 15:23:19 +0300 Subject: Unify surface input queue, frame clock, and optimize scaling and timers --- src/common/backend.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common/backend.h') diff --git a/src/common/backend.h b/src/common/backend.h index e1d29c5..6014cda 100644 --- a/src/common/backend.h +++ b/src/common/backend.h @@ -4,6 +4,8 @@ #include "yasl/yasl.h" #include "yasl/loop.h" #include "yasl/native.h" +#include "common/input.h" +#include "common/timing.h" struct yasl_backend_ops; @@ -24,6 +26,9 @@ struct yasl_surface { struct yasl_surface_cbs callbacks; void *ud; uint64_t frame_generation; + struct input_queue input; + struct yasl_frame_clock clock; + uint64_t frames_skipped; yasl_timer_id *timers; int timer_count; int timer_capacity; -- cgit v1.2.3