color-management-v1: Image description types in definition of `wp_image_description_info_v1`
In the description of wp_image_description_info_v1
, the protocol describes two types of image descriptions:
- if the image description is parametric, it must send
- primaries
- named_primaries, if applicable
- at least one of tf_power and tf_named, as applicable
- luminances
- target_primaries
- target_luminance
- if the image description is parametric, it may send, if applicable,
- target_max_cll
- target_max_fall
- if the image description contains an ICC profile, it must send the
icc_file event
That is, parametric descriptions and ICC profile descriptions. However, it does not say if these are exactly the descriptions that can be used as the source of a wp_image_description_info_v1
or if there could be other types of descriptions (e.g. windows_scrgb).
Unless the client is using the wp_color_management_surface_feedback_v1::get_preferred_parametric
requests, it cannot know, a-priori, what type of image description it is dealing with.
- Is this paragraph normative, i.e. can clients rely on receiving any particular sequence of events?
- Is this list supposed to be exhaustive, i.e. do all compositor-created descriptions fall into one of these two categories?
- If not, are there any restrictions on which types of events the compositor is required/allowed to send?