head-management: add drm-color-space-info-v1 extension
This commit is contained in:
parent
1195613fc6
commit
6647b93e1e
9 changed files with 117 additions and 1 deletions
|
|
@ -462,6 +462,10 @@ impl ConnectorData {
|
|||
if old.format != s.format {
|
||||
self.head_managers.handle_format_change(s.format);
|
||||
}
|
||||
if (old.color_space, old.transfer_function) != (s.color_space, s.transfer_function) {
|
||||
self.head_managers
|
||||
.handle_colors_change(s.color_space, s.transfer_function);
|
||||
}
|
||||
if let Some(output) = state.outputs.get(&self.connector.id())
|
||||
&& let Some(node) = &output.node
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue