Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vblankmanager: Port to timerfd #1053

Merged
merged 8 commits into from
Dec 8, 2023
Merged

vblankmanager: Port to timerfd #1053

merged 8 commits into from
Dec 8, 2023

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    1591fde View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8596da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67579eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d9a1fa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    035e177 View commit details
    Browse the repository at this point in the history
  6. vblankmanager: Port to timerfd

    Ports vblankmanager to be timerfd based, and also fxies issues
    with re-arming at higher refresh rates.
    
    The old nudge thread method still exists (and is needed for VR), and
    it has also been improved to fix the re-arming issue.
    
    The old method can be enabled with GAMESCOPE_DISABLE_TIMERFD.
    misyltoad committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    a73bd5b View commit details
    Browse the repository at this point in the history
  7. vblankmanager: Treat wakeup time as scheduled wakeup point for timerf…

    …d path
    
    Because we are using timerfd, ulWakeupTime should actually be the target
    point of the timerfd when using that, not the the current time from
    OnPollIn, so we can account for the scheduling quantums from the target
    wakeup time and other work (like we were wrt the pipe write before)
    misyltoad committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    1647094 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2157920 View commit details
    Browse the repository at this point in the history