Skip to content
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

video/out/wayland: update color management protocol to the final upstream version #15720

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zamundaaa
Copy link

video/out/meson.build Outdated Show resolved Hide resolved
@Dudemanguy
Copy link
Member

Dudemanguy commented Jan 21, 2025

The initialize_color_maps function can be deleted since the primaries/transfers don't include 0 in the final version.

@@ -8,7 +8,7 @@ protocols = [[wl_protocol_dir, 'stable/presentation-time/presentation-time.xml']
[wl_protocol_dir, 'staging/content-type/content-type-v1.xml'],
[wl_protocol_dir, 'staging/fractional-scale/fractional-scale-v1.xml'],
[wl_protocol_dir, 'staging/single-pixel-buffer/single-pixel-buffer-v1.xml'],
['protocols', 'xx-color-management-v4.xml']]
[wl_protocol_dir, 'staging/color-management/color-management-v1.xml']]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be version checked, see below if features['wayland-protocols-1-..']

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave this open as a TODO until the version to make it dependent on exists

@Zamundaaa Zamundaaa force-pushed the work/final-color branch 2 times, most recently from 51dc4d7 to c71fa21 Compare January 21, 2025 16:35

if (xx_primaries == -1)
if (primaries == 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could do !primaries for these and below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants