diff options
author | Simon Ser <contact@emersion.fr> | 2023-04-14 17:50:26 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-04-25 17:25:10 +0200 |
commit | 4a1ad32534e1a5f53a066d0b546f5f979a9c5b5e (patch) | |
tree | e1cff46bb66c51307cca2af3ce8541e3d2506d73 /include/wlr/render/interface.h | |
parent | 756dedae20eead72af6cfc7f724d0b2af6597eeb (diff) |
render: add render pass helpers
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |