From 57b18d26d09f5219fe0458dcdd06fd2c817c294e Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Mon, 19 Jun 2023 01:43:15 -0400 Subject: wlr_texture: Introduce wlr_texture_preferred_read_format --- include/wlr/render/interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr/render/interface.h') diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 29a78f92..befd2fdc 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -54,6 +54,7 @@ struct wlr_texture_impl { struct wlr_buffer *buffer, const pixman_region32_t *damage); bool (*read_pixels)(struct wlr_texture *texture, const struct wlr_texture_read_pixels_options *options); + uint32_t (*preferred_read_format)(struct wlr_texture *texture); void (*destroy)(struct wlr_texture *texture); }; -- cgit v1.2.3