From 4a1ad32534e1a5f53a066d0b546f5f979a9c5b5e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 14 Apr 2023 17:50:26 +0200 Subject: render: add render pass helpers --- include/wlr/render/interface.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 85a98202..709ae481 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -79,4 +79,10 @@ struct wlr_render_pass_impl { const struct wlr_render_rect_options *options); }; +void wlr_render_texture_options_get_src_box(const struct wlr_render_texture_options *options, + struct wlr_fbox *box); +void wlr_render_texture_options_get_dst_box(const struct wlr_render_texture_options *options, + struct wlr_box *box); +float wlr_render_texture_options_get_alpha(const struct wlr_render_texture_options *options); + #endif -- cgit v1.2.3