mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Add set_gamma and get_gamma_size to wlr_output_impl
This commit is contained in:
parent
cd125377fc
commit
6f98b5a337
3 changed files with 29 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue