wlr_texture: Introduce wlr_texture_preferred_read_format

This commit is contained in:
Alexander Orzechowski 2023-06-19 01:43:15 -04:00
parent 09f16b2a9c
commit 57b18d26d0
3 changed files with 12 additions and 0 deletions

View file

@ -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);
};