-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
linux-pipewire: Add support for GS_R10G10B10A2 #6247
linux-pipewire: Add support for GS_R10G10B10A2 #6247
Conversation
ff23f50
to
cb65fb4
Compare
This MR needs some defines for the ubuntu lts versions, since 10 bit formats were only added in PipeWire 0.3.41 iirc. Will add those when this is confirmed to work. |
148fd55
to
997234b
Compare
Tested this MR. Should be rerun later, it failed because ubuntu package servers were not available. Ready for review. |
997234b
to
4cfdfcc
Compare
Please drop the flatpak commit since we will switch to 22.08 based runtime (#7770). |
4cfdfcc
to
a5a6a9f
Compare
Last nitpik from me, the hide commit can be squashed with the first commit. |
a5a6a9f
to
1925ff5
Compare
PipeWire supports 10bit colour formats with little endian order. Adding two new formats required increasing the buffer size for building PipeWire buffers. This formats are supported since PipeWire 0.3.41. To allow building against older PipeWire versions we will hide those formats. Complications when running on a host with an older PipeWire version are not expected, since format negotiation is only done via the numerical values.
1925ff5
to
a7e40df
Compare
Btw. thanks for merging! |
Description
This adds support for the R10G10B10A2 format to the pipewire-capture plugin.
Motivation and Context
Wlroots supports 10bit formats and thus the portal implementation does export buffers with this format.
How Has This Been Tested?
Configure an output with
render_bit_depth 10
in sway and use xdpw from the master branch.Types of changes
Checklist: