aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-14 18:27:02 +0200
committerDrew DeVault <sir@cmpwn.com>2020-05-14 20:09:28 +0200
commit347bdb6d9a8064e32adbfac5413c9c81fc49109b (patch)
treea307e40c62d24752b8e6cea06d781367cb048c9c /include/wlr/interfaces
parent7693fdb8a78d00e25d59f6399e89ba0e98670493 (diff)
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.
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h2
1 files changed, 0 insertions, 2 deletions
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);