mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[client] x11: recover stalled present cadence
Reseed the synthetic Present target window when compositor MSC advances outside the queued range. This prevents a long compositor stall from permanently exhausting JIT cadence callbacks. Mark the recovery sample as discontinuous so calibration does not treat the MSC jump or completion burst as renderer skipping.
This commit is contained in:
@@ -78,6 +78,7 @@ struct X11DSState
|
||||
_Atomic(uint64_t) presentMsc, presentUst;
|
||||
_Atomic(uint64_t) presentPeriod;
|
||||
_Atomic(uint64_t) nominalPeriod;
|
||||
_Atomic(bool) presentDiscontinuity;
|
||||
uint32_t presentSerial;
|
||||
Pixmap presentPixmap;
|
||||
XserverRegion presentRegion;
|
||||
|
||||
Reference in New Issue
Block a user