output: Change wlr_output_add_software_cursors_to_render_pass to take buffer coordinates

Since wlr_damage_ring now only works with buffer local coordinates, this
creates an inpedance mismatch for compositors that want to use this
function. Instead of compositors needing to the the conversion itself,
change thu function to take buffer local coordinates directly.
This commit is contained in:
Alexander Orezechowski 2024-10-11 12:35:57 -04:00 committed by Kirill Primak
parent 1e949402b0
commit 402a862413
3 changed files with 10 additions and 24 deletions

View file

@ -380,7 +380,7 @@ void wlr_output_lock_attach_render(struct wlr_output *output, bool lock);
*/
void wlr_output_lock_software_cursors(struct wlr_output *output, bool lock);
/**
* Render software cursors.
* Render software cursors. The damage is in buffer-local coordinate space.
*
* This is a utility function that can be called when compositors render.
*/