render: Use wlr_render_pass

This commit is contained in:
Alexander Orzechowski 2023-05-02 11:43:44 -04:00
parent 5ac2a9ef0f
commit 301e199504
3 changed files with 109 additions and 90 deletions

View file

@ -69,6 +69,8 @@ struct render_context {
struct sway_output *output;
struct wlr_renderer *renderer;
const pixman_region32_t *output_damage;
struct wlr_render_pass *pass;
};
struct sway_output *output_create(struct wlr_output *wlr_output);