aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-06 17:34:09 +0200
committeremersion <contact@emersion.fr>2017-09-06 17:34:09 +0200
commitcd125377fce057f7dbdd7afbbfa251311a91af5c (patch)
tree76fff01636b3b6d87acaab3cdd92bbb44891096e /include/wlr
parent1b588e7c1f869883a5abe7f3a52edc0d60afd496 (diff)
Add wlr_output_{set_gamma,get_gamma_size}
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index 3371dcb5..b70bd19e 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -64,5 +64,8 @@ void wlr_output_effective_resolution(struct wlr_output *output,
int *width, int *height);
void wlr_output_make_current(struct wlr_output *output);
void wlr_output_swap_buffers(struct wlr_output *output);
+void wlr_output_set_gamma(struct wlr_output *output,
+ uint16_t size, uint16_t *r, uint16_t *g, uint16_t *b);
+uint16_t wlr_output_get_gamma_size(struct wlr_output *output);
#endif