diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-07 10:18:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 10:18:28 +0900 |
commit | c59ccbde518ac173fffe8aba16ad9c5b703f7e2a (patch) | |
tree | 56634ac125808cc53f3de76950a7a480b96095d9 /include/wlr/interfaces/wlr_output.h | |
parent | 586ae674ae65c64bf57653afae5378ca76ba40a7 (diff) | |
parent | 7d43d662f5cb54c13cbc4c791d97bfee30c10124 (diff) |
Merge pull request #137 from emersion/gamma_control
Add gamma_control interface
Diffstat (limited to 'include/wlr/interfaces/wlr_output.h')
-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); |