Skip to content

render: replace wlr_texture_write_pixels with update_from_buffer

Simon Ser requested to merge emersion/wlroots:texture-update-from-buffer into master

This lets the renderer handle the wlr_buffer directly, just like it does in texture_from_buffer. This also allows the renderer to batch the rectangle updates, and update more than the damage region if desirable (e.g. too many rects), so can be more efficient.

cc @Nefsen402

Edited by Simon Ser

Merge request reports