From 5d5cf344860684211abbd2144a8fdb25cf02368c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 6 Mar 2023 16:19:40 +0100 Subject: output: add wlr_output_state_set_gamma_lut() --- include/wlr/types/wlr_output.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index e096a3ce..93943f0d 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -571,6 +571,8 @@ void wlr_output_state_set_subpixel(struct wlr_output_state *state, enum wl_output_subpixel subpixel); void wlr_output_state_set_buffer(struct wlr_output_state *state, struct wlr_buffer *buffer); +bool wlr_output_state_set_gamma_lut(struct wlr_output_state *state, + size_t ramp_size, const uint16_t *r, const uint16_t *g, const uint16_t *b); /** -- cgit v1.2.3