aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-30 19:55:51 -0500
committerAlexander Orzechowski <alex@ozal.ski>2023-11-30 19:55:51 -0500
commite85e8bc3249aeb0eebbde1debee51a5941aa08b4 (patch)
tree597839b98614d2f80f4bac3873b181dfdab58833 /include
parent4c6caa7c48d887fb4292a08f898af83d9954d571 (diff)
wlr_texture: Introduce wlr_texture_read_pixels_options helpers
Diffstat (limited to 'include')
-rw-r--r--include/wlr/render/interface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index e9159b79..29a78f92 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -93,4 +93,10 @@ float wlr_render_texture_options_get_alpha(const struct wlr_render_texture_optio
void wlr_render_rect_options_get_box(const struct wlr_render_rect_options *options,
const struct wlr_buffer *buffer, struct wlr_box *box);
+void wlr_texture_read_pixels_options_get_src_box(
+ const struct wlr_texture_read_pixels_options *options,
+ const struct wlr_texture *texture, struct wlr_box *box);
+void *wlr_texture_read_pixel_options_get_data(
+ const struct wlr_texture_read_pixels_options *options);
+
#endif