aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-03-06 16:19:40 +0100
committerAlexander Orzechowski <alex@ozal.ski>2023-06-08 18:47:46 +0000
commit5d5cf344860684211abbd2144a8fdb25cf02368c (patch)
treee55f72a7fe6b8ee1cc4ab9952c8463a899229d32 /include/wlr
parent6e635d2fd3a1949b9b795d6d30f9454da25e1fec (diff)
output: add wlr_output_state_set_gamma_lut()
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h2
1 files changed, 2 insertions, 0 deletions
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);
/**