mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
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:
parent
1e949402b0
commit
402a862413
3 changed files with 10 additions and 24 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue