mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
color-management-v1: add wlr_surface_get_image_description_v1_data()
This commit is contained in:
parent
ab4ed32c06
commit
dcf38e3ea9
2 changed files with 64 additions and 7 deletions
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#include "color-management-v1-protocol.h"
|
||||
|
||||
struct wlr_surface;
|
||||
|
||||
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
|
||||
|
|
@ -70,4 +72,7 @@ struct wlr_color_manager_v1 {
|
|||
struct wlr_color_manager_v1 *wlr_color_manager_v1_create(struct wl_display *display,
|
||||
uint32_t version, const struct wlr_color_manager_v1_options *options);
|
||||
|
||||
const struct wlr_image_description_v1_data *
|
||||
wlr_surface_get_image_description_v1_data(struct wlr_surface *surface);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue