Introduce wlr_shm_client_buffer, which provides a wlr_buffer wrapper around wl_shm_buffer. Because the client can destroy the wl_buffer while we still are using it, we need to do some libwayland tricks to still be able to continue accessing its underlying storage. We need to reference the wl_shm_pool and save the data pointer. |
||
|---|---|---|
| .. | ||
| wlr_buffer.h | ||
| wlr_data_device.h | ||
| wlr_keyboard.h | ||
| wlr_region.h | ||
| wlr_seat.h | ||
| wlr_surface.h | ||
| wlr_tablet_v2.h | ||
| wlr_xdg_shell.h | ||