Skip to content

Commit

Permalink
chase wlroots 'presentation-time: add separate helper for zero-copy '
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored and emersion committed Jul 15, 2023
1 parent 6c234d0 commit 9107907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sway/desktop/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion sway/desktop/render.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9107907

Please sign in to comment.