Wayland on FreeBSD
Jan Beich
jbeich at FreeBSD.org
Tue Apr 21 19:51:19 UTC 2020
Tomasz CEDRO <tomek at cedro.info> writes:
> On Mon, Apr 20, 2020 at 11:59 AM Greg V wrote:
>
>> There are no "Linux specific DMA transfers" in userspace
>> applications :) DMA-BUF is basically a way to refer to GPU buffers
>> from userspace, pass them around as file descriptors, and
>> synchronize access to them. Of course it is supported, it's a very
>> important part of the DRM stack.
>
> Hmm, is it then normal to use on non-Linux code like this?
>
> #include <linux/dma-buf.h>
> #include "linux-dmabuf-unstable-v1-client-protocol.h"
<linux/dma-buf.h> usage is rare. See other Wayland + DMABUF consumers:
https://codesearch.debian.net/search?q=zwp_linux_dmabuf_v1+-package:efl
https://searchfox.org/mozilla-central/search?q=zwp_linux_dmabuf_v1
> Is this some sort of Linux KMS/DRM specification that keeps explict
> "linux" name hardcoded and we have them too on FreeBSD named that way?
Ask the protocol authors.
> Never seen anything like this :-)
Not even Video4Linux, BSD sockets or BSD labels?
More information about the freebsd-x11
mailing list