mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
chase wlroots 'presentation-time: add separate helper for zero-copy '
67447d6cb4
This commit is contained in:
parent
6c234d013a
commit
9107907969
|
@ -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