8 Commits
Author SHA1 Message Date
Patrick Nicolas dcc7579273 Avoid pacer immediate return when achievable
In case of discarded frames (no end frame or no layers) we don't get
called on mark_gpu_done, so times don't get updated. If the game
continues to call waitFrame, we advance the predicted display time, but
may enter the immediate return, accumulating delay.
2026-09-19 17:23:52 +02:00
Patrick Nicolas 1d8f8b4779 Ignore extreme values for app CPU/GPU time 2026-05-27 11:15:20 +02:00
Patrick Nicolas b5226f0480 Remove app pacer from debug GUI on destruction 2026-05-08 16:23:35 +02:00
Patrick Nicolas 6d70dca173 Configurable app pacer margin 2026-04-30 20:16:24 +02:00
Patrick Nicolas 22a819b8c8 Implement main compositor
Replace the patches to Monado's main compositor with a local
implementation, reusing code when relevant.

The layer squasher is very close to comp_render_cs, while distortion is
completely replaced by foveation.
2026-03-31 09:06:27 +02:00
Patrick Nicolas 92d910f5c8 Separate last app display time and compositor display time 2025-03-19 17:43:37 +01:00
Patrick Nicolas df920b49e4 Use immediate wake instead of throttling 2025-03-19 17:43:37 +01:00
Patrick Nicolas 11e4076026 WIP app pacer 2025-03-19 17:43:37 +01:00