From 347bdb6d9a8064e32adbfac5413c9c81fc49109b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 14 May 2020 18:27:02 +0200 Subject: output: make wlr_output_set_gamma atomic wlr_output_set_gamma is now double-buffered and applies the gamma LUT on the next output commit. --- include/wlr/interfaces/wlr_output.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 34b3e675..8913cf41 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -24,8 +24,6 @@ struct wlr_output_impl { bool (*test)(struct wlr_output *output); bool (*commit)(struct wlr_output *output); void (*rollback)(struct wlr_output *output); - bool (*set_gamma)(struct wlr_output *output, size_t size, - const uint16_t *r, const uint16_t *g, const uint16_t *b); size_t (*get_gamma_size)(struct wlr_output *output); bool (*export_dmabuf)(struct wlr_output *output, struct wlr_dmabuf_attributes *attribs); -- cgit v1.2.3