-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
PipeWire buffer transform #7762
PipeWire buffer transform #7762
Conversation
dbf67d8
to
1862912
Compare
I understand that this is a draft, but please make sure that you fully fill out the template. If the template isn't ready to be filled out, than the PR isn't ready for submission, even as a draft. |
3a417d2
to
74159e9
Compare
165179d
to
8a0d433
Compare
I guess I should again squash the guard commit? |
May this receive the 'Seeking testers' label, please? This should allow wlroots users to stream their screen correctly when the screen is rotated. |
d5e904b
to
d1b1f2e
Compare
Can confirm the flatpak build works with xdpw master and sway. |
9f87b36
to
f96c926
Compare
f96c926
to
b327834
Compare
Build a flatpak version of this MR without bumping the PipeWire version and it works as expected without doing any rotation. |
b327834
to
df219c3
Compare
rebased and conflicts resolved. |
PipeWire allows since 0.3.62 [1] to attach metadata to a buffer describing a transformation of the buffercontent. Clients should then undo that transformation to import it correctly. We can enable this feature using macro guards and runtime server version checks on supported systems. [1] https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1423
df219c3
to
8358f03
Compare
Thanks for merging! |
Description
Import PipeWire buffers respecting previously applied transformations.
Motivation and Context
The wlroots Portal implementation won't transform buffers and as such a screencast is displayed wrongly if the output is rotated. This MR aims to prototype PipeWire buffer transformation informations to read the screencontent correctly from the rotated buffer.
How Has This Been Tested?
No test available yet.
Types of changes
Checklist: