summaryrefslogtreecommitdiff
path: root/src/common/backend.h
diff options
context:
space:
mode:
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;