[client/idd] align frame delivery to presentation

This commit is contained in:
Geoffrey McRae
2026-08-04 13:15:37 +10:00
parent 32ced2f24a
commit 97e7f439c2
7 changed files with 211 additions and 71 deletions

View File

@@ -291,11 +291,12 @@ typedef struct KVMFRFrameSchedule
uint32_t clientID;
uint32_t generation;
KVMFRFrameScheduleFlags flags;
uint64_t period;
uint64_t targetSlack;
int64_t phaseError;
uint64_t period; // requested presentation period (ns)
uint64_t targetSlack; // desired ready-to-render lead (ns)
// Positive when the frame arrived early, negative when it arrived late.
int64_t phaseError; // ready-to-render phase error (ns)
uint32_t feedbackFrameSerial;
uint32_t lease;
uint32_t lease; // lease duration (ms)
uint8_t reserved[16];
}
KVMFRFrameSchedule;