mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
color-management-v1: add struct wlr_image_description_v1
This commit is contained in:
parent
0ab3c1d060
commit
6d4737a7f6
2 changed files with 110 additions and 17 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue