Implement wlr-gamma-control-unstable-v1

This commit is contained in:
emersion 2018-07-22 13:23:32 +01:00
parent 5642c5cc8f
commit a149c2370a
11 changed files with 424 additions and 14 deletions

View file

@ -28,7 +28,7 @@ struct wlr_output_impl {
void (*destroy)(struct wlr_output *output);
bool (*make_current)(struct wlr_output *output, int *buffer_age);
bool (*swap_buffers)(struct wlr_output *output, pixman_region32_t *damage);
void (*set_gamma)(struct wlr_output *output,
bool (*set_gamma)(struct wlr_output *output,
uint32_t size, uint16_t *r, uint16_t *g, uint16_t *b);
uint32_t (*get_gamma_size)(struct wlr_output *output);
bool (*export_dmabuf)(struct wlr_output *output,