From 91079079690c8832b22960403f0e60c63822d17a Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 15 Jul 2023 15:43:37 +0300 Subject: [PATCH] chase wlroots 'presentation-time: add separate helper for zero-copy ' https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/67447d6cb407ac5b6405b4dbae01a38567feb111 --- sway/desktop/output.c | 2 +- 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); }