mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render: add render pass helpers
This commit is contained in:
parent
756dedae20
commit
4a1ad32534
2 changed files with 33 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue