[client] report presentation cadence over LGMP

This commit is contained in:
Geoffrey McRae
2026-08-04 13:00:48 +10:00
parent 5626cfa55b
commit b23430b9a8
10 changed files with 335 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ struct WaylandDSState
struct wp_presentation * presentation;
clockid_t clkId;
_Atomic(uint64_t) presentationPeriod;
RingBuffer photonTimings;
GraphHandle photonGraph;
@@ -399,6 +400,7 @@ bool waylandPollUnregister(int fd);
bool waylandPresentationInit(void);
void waylandPresentationFrame(void);
void waylandPresentationFree(void);
bool waylandGetFramePeriod(uint64_t * period);
// registry module
bool waylandRegistryInit(void);