mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-05 04:06:11 -05:00
render/color: make wlr_color_primaries_from_named public
This commit is contained in:
parent
c45b3b1f5f
commit
a962d58727
2 changed files with 6 additions and 6 deletions
|
|
@ -171,6 +171,12 @@ void wlr_color_transform_unref(struct wlr_color_transform *tr);
|
|||
void wlr_color_transform_eval(struct wlr_color_transform *tr,
|
||||
float out[static 3], const float in[static 3]);
|
||||
|
||||
/**
|
||||
* Obtain primaries values from a well-known primaries name.
|
||||
*/
|
||||
void wlr_color_primaries_from_named(struct wlr_color_primaries *out,
|
||||
enum wlr_color_named_primaries named);
|
||||
|
||||
/**
|
||||
* Compute the matrix to convert between two linear RGB color spaces
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue