aboutsummaryrefslogtreecommitdiff
path: root/examples/screencopy-dmabuf.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-29 11:50:47 +0200
committerSimon Ser <contact@emersion.fr>2022-08-12 08:41:32 +0000
commit98cf38601fdf32fdd1d40ed4a92b1f31fb75d667 (patch)
treefdb35534a2dc7439349948ffb9048d67e33115e0 /examples/screencopy-dmabuf.c
parent8c3c6987dbdffa74eb1fee901b4ab1d73641e29f (diff)
render: replace wlr_texture_write_pixels with update_from_buffer
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.
Diffstat (limited to 'examples/screencopy-dmabuf.c')
0 files changed, 0 insertions, 0 deletions