aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-07-15 15:43:37 +0300
committerFurkan Sahin <furkan-dev@proton.me>2023-07-15 15:43:37 +0300
commitc5331411d5f4828142404ac22ef47d60819dab4d (patch)
tree45f4cc4f60cf831da697e7aff89a6d690c00d5ef
parentf03ea753b506e2a5342ab86fbd3f1de5dc6bd939 (diff)
chase wlroots 'presentation-time: add separate helper for zero-copy '
https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/67447d6cb407ac5b6405b4dbae01a38567feb111
-rw-r--r--sway/desktop/output.c2
-rw-r--r--sway/desktop/render.c2
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);
}