mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-25 21:58:31 +01:00
chase wlroots 'presentation-time: add separate helper for zero-copy '
67447d6cb4
This commit is contained in:
parent
6c234d013a
commit
9107907969
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue