aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/interface.h
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-06-19 01:43:15 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-11-30 19:56:54 -0500
commit57b18d26d09f5219fe0458dcdd06fd2c817c294e (patch)
treef3247598e892902e0a2184647d84bbc391276361 /include/wlr/render/interface.h
parent09f16b2a9c43cd4901dfbfe3853c266d32fc44ba (diff)
wlr_texture: Introduce wlr_texture_preferred_read_format
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r--include/wlr/render/interface.h1
1 files changed, 1 insertions, 0 deletions
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);
};