diff options
author | emersion <contact@emersion.fr> | 2017-09-06 18:53:08 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-09-06 18:53:08 +0200 |
commit | 6f98b5a33762f7d36bccf4902b52d8e70f71e9ca (patch) | |
tree | 14cd0aabed8785547961873ba1d2ea834b512584 /include/wlr | |
parent | cd125377fce057f7dbdd7afbbfa251311a91af5c (diff) |
Add set_gamma and get_gamma_size to wlr_output_impl
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index efc8ef43..a95fe588 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -14,6 +14,9 @@ struct wlr_output_impl { void (*destroy)(struct wlr_output *output); void (*make_current)(struct wlr_output *output); void (*swap_buffers)(struct wlr_output *output); + void (*set_gamma)(struct wlr_output *output, + uint16_t size, uint16_t *r, uint16_t *g, uint16_t *b); + uint16_t (*get_gamma_size)(struct wlr_output *output); }; void wlr_output_init(struct wlr_output *output, const struct wlr_output_impl *impl); |