Configurable headset margin time

This commit is contained in:
Patrick Nicolas
2026-05-08 16:23:35 +02:00
parent b5226f0480
commit e3be6294c8
2 changed files with 25 additions and 4 deletions
+5 -1
View File
@@ -23,11 +23,13 @@
#include <condition_variable>
#include <cstdint>
#include <main/comp_target.h>
#include <mutex>
#include <thread>
#include <vector>
#include "main/comp_target.h"
#include "util/u_var.h"
namespace wivrn
{
@@ -55,6 +57,8 @@ private:
int64_t last_wake_up_ns = 0;
u_var_draggable_f32 client_margin_ms;
struct frame_time
{
int64_t frame_id = -1;