Avoid libwayland when using vulkan

ssmid ssmid at posteo.de
Wed Aug 7 10:22:56 UTC 2024


Hi,

I'm trying to combine my own wayland-client implementation with my 
vulkan renderer but unfortunately vkCreateWaylandSurfaceKHR() depends on 
libwayland structures.

Is there a way to pass a vulkan image buffer to a wayland compositor 
without depending on libwayland?

 From what I understand, I can implement linux-dmabuf-v1 myself if I can 
only get my hands on a dmabuf file descriptor like 
wsi_init_image_dmabuf_fd() does. Is there a stable interface for this 
(or any other, preferably stable, way to do this) ?

Thanks in advance!




More information about the mesa-users mailing list