mirror of
https://github.com/NickHu/sway
synced 2025-01-14 08:01:12 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
wlr_presentation_surface_sampled_on_output(server.presentation, surface,
|
wlr_presentation_surface_scanned_out_on_output(server.presentation, surface,
|
||||||
wlr_output);
|
wlr_output);
|
||||||
|
|
||||||
return wlr_output_commit_state(wlr_output, pending);
|
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,
|
render_texture(data->ctx, texture,
|
||||||
&src_box, &dst_box, &clip_box, surface->current.transform, alpha);
|
&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);
|
wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue