Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-27 | buffer: add format param to get_data_ptr | Simon Ser | |
Allow wlr_buffer_impl.get_data_ptr to return a format. This allows the Pixman renderer to not care about get_dmabuf/get_shm, and only care about get_data_ptr. This will also help with [1], because client wl_shm buffers can't implement get_shm. [1]: https://github.com/swaywm/wlroots/pull/2892 References: https://github.com/swaywm/wlroots/issues/2864 | |||
2021-04-17 | render: introduce shared memory allocator | Simon Ser | |
It allocates in local main memory via shm_open, and provides a FD to allow sharing with other processes. This is suitable for software rendering under the Wayland and X11 backends. |