mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-09 10:06:44 -05:00
color_management_v1: expose try_* enum converters in internal header
This will be useful for the Wayland backend.
This commit is contained in:
parent
106f0f9506
commit
ab5d3148b9
2 changed files with 28 additions and 6 deletions
9
include/types/wlr_color_management_v1.h
Normal file
9
include/types/wlr_color_management_v1.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef TYPES_WLR_COLOR_MANAGEMENT_V1_H
|
||||
#define TYPES_WLR_COLOR_MANAGEMENT_V1_H
|
||||
|
||||
#include <wlr/types/wlr_color_management_v1.h>
|
||||
|
||||
uint32_t transfer_function_try_to_wlr(enum wp_color_manager_v1_transfer_function tf);
|
||||
uint32_t named_primaries_try_to_wlr(enum wp_color_manager_v1_primaries primaries);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue