wlroots/render
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
..
gles2 render: remove NULL checks in wlr_texture_impl.destroy 2021-04-22 15:44:49 +02:00
pixman buffer: add format param to get_data_ptr 2021-04-27 20:36:03 +02:00
allocator.c render/allocator: ignore NULL in wlr_allocator_destroy 2020-12-17 20:34:19 +01:00
dmabuf.c render/dmabuf: make src arg const in wlr_dmabuf_attributes_copy 2021-02-02 19:53:16 +01:00
drm_format_set.c render/drm_format_set: add special case for LINEAR-only formats 2020-12-30 11:17:43 +01:00
egl.c Log drmGetDevices2 error code 2021-04-26 16:27:24 +02:00
gbm_allocator.c drm: check for PRIME support 2021-04-10 10:49:55 +02:00
meson.build render: make GLES2 renderer optional 2021-04-17 16:39:40 +02:00
pixel_format.c render/pixel_format: add XBGR8888 and ABGR8888 format 2021-03-25 10:55:54 +01:00
shm_allocator.c buffer: add format param to get_data_ptr 2021-04-27 20:36:03 +02:00
swapchain.c render/swapchain: add support for buffer age 2020-11-15 22:48:42 +01:00
wlr_renderer.c render: unconditionally read WLR_RENDERER 2021-04-26 15:05:34 +02:00
wlr_texture.c render: Assert that texture dimensions are > 0 2021-04-20 18:10:48 +02:00