Re: [PATCH v3 1/2] drm/virtio: Add window server support
From: Pekka Paalanen
Date: Tue Feb 06 2018 - 10:00:30 EST
On Mon, 5 Feb 2018 17:03:22 +0100
Gerd Hoffmann <kraxel@xxxxxxxxxx> wrote:
> On Mon, Feb 05, 2018 at 03:46:17PM +0100, Tomeu Vizoso wrote:
> > On 02/05/2018 01:20 PM, Gerd Hoffmann wrote:
> > > Hi,
> > >
>
> Hmm. I allways assumed the wayland client allocates the buffers, not
> the server. Is that wrong?
Hi Gerd,
a fly-by comment here:
The standard operation mode on Wayland indeed is that the client
allocates any pixel buffers. It is not the whole story though.
Server allocated buffers passed to a client also exist:
- core protocol uses this to pass keymaps to clients
- people are not forbidden from writing Wayland extensions that do this
for whatever reason
The latter server-allocated case could probably be overlooked, but the
keymap case not really. Furthermore, copy&paste and drag&drop protocol
pass pipe file descriptors via Wayland to establish client-to-client
pipes.
Thanks,
pq
Attachment:
pgpespUvrXAMo.pgp
Description: OpenPGP digital signature