xserver-multidpi/hw/vfb
Emil Velikov b2a0d6065d vfb: add DRI3/glamor support
This commit adds DRI3/glamor support, effectively translating into
hardware GPU support.

Theoretically it should be possible to use DRM/GPU drivers such as
virtio or vgem, although only the intel i915 driver is currently tested.

Since Xvfb does no modeset, it opens the render node. Currently that is
fixed to "/dev/dri/renderD128" and will be tweaked with future commits.

Specific use-cases are left for the reader - testing glamor, GL driver
or others.

v2: Drop GLAMOR_NO_XV, use GLAMOR_FOR_XORG instead (Michel Dänzer)
v3: Fix build w/o glamor
v4:
 - Split out glamor dependency patch for meson (Pekka)
 - Enhance commit message (Pekka)
 - Use O_CLOEXEC with open() (Pekka)
 - Enhance error path, memory leak comments (Pekka)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2019-10-11 12:03:42 +00:00
..
man vfb: Fix man page in re depth 2018-04-24 14:44:06 -04:00
.gitignore Xvfb: build Xvfb man pages using XORG_MANPAGE_SECTIONS 2011-01-18 15:10:24 -08:00
InitInput.c dix: Remove LegalModifier() 2018-09-28 16:25:17 -04:00
InitOutput.c vfb: add DRI3/glamor support 2019-10-11 12:03:42 +00:00
Makefile.am vfb: add DRI3/glamor support 2019-10-11 12:03:42 +00:00
meson.build vfb: add DRI3/glamor support 2019-10-11 12:03:42 +00:00