Re: Wayland on FreeBSD

Jan Beich <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11,gmane.os.freebsd.questions
Message-ID <[email protected]>
Tomasz CEDRO <[email protected]> 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?
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.