-
Notifications
You must be signed in to change notification settings - Fork 104
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
compositor: Drop vestigial queueing support #3237
Conversation
Nothing sets this, swap interval is handled client-side with Wayland.
We only use the framedropping codepaths, and `wl_surface`s are specified to work in mailbox mode (ie: framedropping) mode. We don't need the (unused!) ability to switch to a queueing mode, nor do we need to be able to flush the (unused!) queues.
…hod. This is unused, except for a low-value “destroys its buffers on destruction” test case (and tests that explicitly test `advance_schedule`, of course)
Since `MultiMonitorArbiter` no longer needs to switch between queueing and mailbox modes, *and* mailbox is trivial to implement, we can just have `MultiMonitorArbiter` handle the mailbox directly and drop a layer of indirection.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #3237 +/- ##
==========================================
- Coverage 77.84% 77.72% -0.13%
==========================================
Files 1072 1067 -5
Lines 75154 67121 -8033
==========================================
- Hits 58504 52168 -6336
+ Misses 16650 14953 -1697 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sensible. It seems a shame to lose the flexibility, but we don't need it now.
There's no need break ABI here. Co-authored-by: Alan Griffiths <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now
compositor: Drop vestigial queueing support
compositor: Drop vestigial queueing support
We no longer need to be able to set a per-surface SwapInterval; that's handled client side. Likewise, we don't need to support submitting a queue of buffers to a surface; Wayland specifies mailbox¹ semantics.
Drop some of the infrastructure needed to support these features we no longer use anywhere (including QtMir)
¹: ie: framedropping