From 35f970025133dc5ad627936a3cdeacb37b532072 Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 8 Sep 2017 18:09:09 +0200 Subject: First attempt to implement screenshooter --- include/wlr/interfaces/wlr_output.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr/interfaces') diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 7d2821e0..2fd306d7 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -19,6 +19,7 @@ struct wlr_output_impl { 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 (*read_pixels)(struct wlr_output *_output, void *out_data); }; void wlr_output_init(struct wlr_output *output, const struct wlr_output_impl *impl); -- cgit v1.2.3