mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-12 13:29:45 -05:00
presentation-time: drop wlr_presentation arg
There can only be a single presentation-time global advertised to clients, this it's unnecessary to pass around the wlr_presentation pointer.
This commit is contained in:
parent
1968ada213
commit
d68ba9d6c2
3 changed files with 19 additions and 42 deletions
|
|
@ -54,11 +54,9 @@ static void handle_scene_buffer_output_sample(
|
|||
}
|
||||
|
||||
if (event->direct_scanout) {
|
||||
wlr_presentation_surface_scanned_out_on_output(
|
||||
root->presentation, surface->surface, scene_output->output);
|
||||
wlr_presentation_surface_scanned_out_on_output(surface->surface, scene_output->output);
|
||||
} else {
|
||||
wlr_presentation_surface_textured_on_output(
|
||||
root->presentation, surface->surface, scene_output->output);
|
||||
wlr_presentation_surface_textured_on_output(surface->surface, scene_output->output);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue