summaryrefslogtreecommitdiff
path: root/src/common/backend.h
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-12 15:23:19 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-12 15:23:19 +0300
commit41c25aac6384e6e429a51ace166fffcf219efeca (patch)
treebe57952589cadffdd5b34b2a8cfa17d3462f1d6e /src/common/backend.h
parent4145406fae437dce2f0af6e078e35566634f2c19 (diff)
Unify surface input queue, frame clock, and optimize scaling and timers
Diffstat (limited to 'src/common/backend.h')
-rw-r--r--src/common/backend.h5
1 files changed, 5 insertions, 0 deletions
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;