mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
Allow direct access to the pixel data of linux_dmabuf_v1 buffers by
mmapping the FD. This causes a wait on any outstanding fences and also
triggers the DMA_BUF_SYNC mechanism to do any cache fiddling needed.
This doesn't support multi-planar formats (e.g. YUV420 from hardware
codecs)
I also fix the comment on wlr_renderer.render_buffer_caps (it's used for
textures, not the render target) and update
wlr_renderer_init_wl_display() and
wlr_linux_dmabuf_feedback_v1_init_with_options() to use the renderer's
own claimed buffer_caps instead of hardcoding DMABUF as required.
Loosely based on
|
||
|---|---|---|
| .. | ||
| allocator.h | ||
| color.h | ||
| dmabuf.h | ||
| drm_format_set.h | ||
| drm_syncobj.h | ||
| egl.h | ||
| gles2.h | ||
| interface.h | ||
| pass.h | ||
| pixman.h | ||
| swapchain.h | ||
| vulkan.h | ||
| wlr_renderer.h | ||
| wlr_texture.h | ||