scene: add scene_buffer_set_buffer_and_texture()

This commit is contained in:
Simon Ser 2024-03-06 16:47:54 +01:00
parent 95c2308928
commit 119c634d94
3 changed files with 63 additions and 16 deletions

View file

@ -7,4 +7,8 @@ struct wlr_scene *scene_node_get_root(struct wlr_scene_node *node);
void scene_surface_set_clip(struct wlr_scene_surface *surface, struct wlr_box *clip);
void scene_buffer_set_buffer_and_texture(struct wlr_scene_buffer *scene_buffer,
struct wlr_buffer *buffer, struct wlr_texture *texture,
const pixman_region32_t *damage);
#endif