mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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.
This commit is contained in:
parent
7693fdb8a7
commit
347bdb6d9a
9 changed files with 100 additions and 105 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue