mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-14 14:32:57 -04:00
output: add color_format state field
Adds wlr_output_color_format (AUTO, RGB444, YCBCR444, YCBCR422, YCBCR420) matching the DRM connector color format property. The DRM backend discovers and sets this property on modeset. The wlr-output-management-unstable-v1 protocol is extended to version 5 with a color_format enum and set_color_format request, allowing clients to configure the output color encoding.
This commit is contained in:
parent
e4a1268b2a
commit
4fe9e0cfe8
11 changed files with 135 additions and 7 deletions
|
|
@ -22,6 +22,7 @@ struct wlr_drm_connector_props {
|
|||
uint32_t panel_orientation; // not guaranteed to exist
|
||||
uint32_t content_type; // not guaranteed to exist
|
||||
uint32_t max_bpc; // not guaranteed to exist
|
||||
uint32_t color_format; // not guaranteed to exist
|
||||
|
||||
// atomic-modesetting only
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue