Merge branch 'jorth/image-description-proxy' into 'main'

color-management: add wp_image_description_reference_v1

See merge request wayland/wayland-protocols!446
This commit is contained in:
Julian Orth 2025-12-12 09:53:41 +01:00
commit 2ab68d7ed0

View file

@ -581,6 +581,20 @@
transfer functions and named primaries have been sent. transfer functions and named primaries have been sent.
</description> </description>
</event> </event>
<request name="get_image_description" since="2">
<description summary="create an image description from a reference">
This request retrieves the image description backing a reference.
The get_information request can be used if and only if the request that
creates the reference allows it.
</description>
<arg name="image_description"
type="new_id" interface="wp_image_description_v1"/>
<arg name="reference"
type="object" interface="wp_image_description_reference_v1"/>
</request>
</interface> </interface>
<interface name="wp_color_management_output_v1" version="2"> <interface name="wp_color_management_output_v1" version="2">
@ -1689,4 +1703,22 @@
summary="Maximum frame-average light level (cd/m²)"/> summary="Maximum frame-average light level (cd/m²)"/>
</event> </event>
</interface> </interface>
<interface name="wp_image_description_reference_v1" version="1">
<description summary="Reference to an image description">
This object is a reference to an image description. This interface is
frozen at version 1 to allow other protocols to create
wp_image_description_v1 objects.
The wp_color_manager_v1.get_image_description request can be used to
retrieve the underlying image description.
</description>
<request name="destroy" type="destructor">
<description summary="destroy the reference">
Destroy this object. This has no effect on the referenced image
description.
</description>
</request>
</interface>
</protocol> </protocol>