Skip to content
  • Roman Gilg's avatar
    Remove vsync detection and configurability · b3a19f9e
    Roman Gilg authored
    Summary:
    Selecting not to vsync does not make sense for an X11 compositor. In the end
    we want clients to be able to present async if they want to but the compositor
    is supposed to send swaps with vsync to the XServer in order to not generate
    tearing artifacts.
    
    There was also a detection logic which did some questionable things in case
    vsync was not available. I don't think this is necessary at all since we can
    just always run a timer to present with or without vsync.
    
    Test Plan: kwin_x11 tested on i915.
    
    Reviewers: #kwin, zzag
    
    Subscribers: zzag, kwin
    
    Tags: #kwin
    
    Maniphest Tasks: T11071
    
    Differential Revision: https://phabricator.kde.org/D23511
    b3a19f9e