output: add wlr_output_state_set_gamma_lut()

This commit is contained in:
Simon Ser 2023-03-06 16:19:40 +01:00 committed by Alexander Orzechowski
parent 6e635d2fd3
commit 5d5cf34486
3 changed files with 27 additions and 17 deletions

View file

@ -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);
/**