diff options
author | Artturin <Artturin@artturin.com> | 2023-07-15 15:43:37 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-07-15 15:21:35 +0200 |
commit | 91079079690c8832b22960403f0e60c63822d17a (patch) | |
tree | 45f4cc4f60cf831da697e7aff89a6d690c00d5ef /sway/desktop | |
parent | 6c234d013a7457cefd7938182088530d631b875e (diff) |
chase wlroots 'presentation-time: add separate helper for zero-copy '
https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/67447d6cb407ac5b6405b4dbae01a38567feb111
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/output.c | 2 | ||||
-rw-r--r-- | sway/desktop/render.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 476bfd25..f6ff90ef 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -530,7 +530,7 @@ static bool scan_out_fullscreen_view(struct sway_output *output, return false; } - wlr_presentation_surface_sampled_on_output(server.presentation, surface, + wlr_presentation_surface_scanned_out_on_output(server.presentation, surface, wlr_output); return wlr_output_commit_state(wlr_output, pending); diff --git a/sway/desktop/render.c b/sway/desktop/render.c index f08e2c6c..c4c0004e 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -150,7 +150,7 @@ static void render_surface_iterator(struct sway_output *output, render_texture(data->ctx, texture, &src_box, &dst_box, &clip_box, surface->current.transform, alpha); - wlr_presentation_surface_sampled_on_output(server.presentation, surface, + wlr_presentation_surface_textured_on_output(server.presentation, surface, wlr_output); } |