color-management-v1: add struct wlr_image_description_v1

This commit is contained in:
Simon Ser 2025-01-22 20:45:35 +01:00
parent 0ab3c1d060
commit 6d4737a7f6
2 changed files with 110 additions and 17 deletions

View file

@ -13,6 +13,13 @@
#include "color-management-v1-protocol.h"
struct wlr_image_description_v1_data {
uint32_t tf_named; // enum wp_color_manager_v1_transfer_function, zero if unset
uint32_t primaries_named; // enum wp_color_manager_v1_primaries, zero if unset
uint32_t max_cll, max_fall; // cd/m², zero if unset
};
struct wlr_color_manager_v1_features {
bool icc_v2_v4;
bool parametric;
@ -54,6 +61,8 @@ struct wlr_color_manager_v1 {
struct wl_list outputs; // wlr_color_management_output_v1.link
uint32_t last_image_desc_identity;
struct wl_listener display_destroy;
} WLR_PRIVATE;
};