Avoid libwayland when using vulkan

ssmid <[email protected]> Wed, 7 Aug 2024 10:22:56 +0000
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
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!