-
Notifications
You must be signed in to change notification settings - Fork 170
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
Implement wayland side of tearing control #1325
base: master
Are you sure you want to change the base?
Conversation
Wayland side LGTM. I think all this need for drm is:
The latter should only happen, when a surface with that hint set is fullscreen though. Possibly the |
I see a few different ways to implement that:
Option 2. and 3. would allow to expose some global preference, like disabling tearing even if it would be possible. |
I agree with @cmeissl; I'd like more manual tearing control in my compositor. So that I can implement the fullscreen with hint => tear policy, but also other policies, like maybe I want to enable it for windowed too under some conditions. |
For now I'm working on a simplest possible setup, you either queue a frame as VSync or ASync, you can see it or even test it here |
4be1312
to
8d5dc76
Compare
8d5dc76
to
0cb7fa4
Compare
Probably needs some work on DRM side, but this does plumbing for the wayland side.