wlroots/render/pixman
Simon Ser 24fde77c62 buffer: add format param to get_data_ptr
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-27 20:36:03 +02:00
..
meson.build render: make GLES2 renderer optional 2021-04-17 16:39:40 +02:00
pixel_format.c render/pixman: implement preferred_read_format 2021-04-27 18:28:41 +02:00
renderer.c buffer: add format param to get_data_ptr 2021-04-27 20:36:03 +02:00