From a5caef14e756a9c61aa5968d58cc90f69a9456f6 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Fri, 19 Sep 2025 17:42:38 +0200 Subject: [PATCH] color-management: add wp_image_description_reference_v1 Note that wp_image_description_v1 is not a frozen interface. Therefore it must always be a descendant of wp_color_manager_v1. In order to allow other protocols, such as ext-image-capture-source-v1, to define the equivalent of wp_color_management_output_v1.get_image_description, we must therefore create an indirection between the new protocol and wp_image_description_v1 that is resolved through wp_color_manager_v1 itself. This is a prerequisite for adding color management support to the ext-image-copy-capture-v1 protocol. Signed-off-by: Julian Orth --- .../color-management/color-management-v1.xml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/staging/color-management/color-management-v1.xml b/staging/color-management/color-management-v1.xml index 5dc8591..0aa59bd 100644 --- a/staging/color-management/color-management-v1.xml +++ b/staging/color-management/color-management-v1.xml @@ -581,6 +581,20 @@ transfer functions and named primaries have been sent. + + + + 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. + + + + + @@ -1689,4 +1703,22 @@ summary="Maximum frame-average light level (cd/m²)"/> + + + + 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. + + + + + Destroy this object. This has no effect on the referenced image + description. + + +