Commit d11d5bb8 authored by Adam Jackson's avatar Adam Jackson 🎧
Browse files

glamor: Hide new DRI behind Option "Debug" "dmabuf_capable"

... for xfree86, at least for now. Things appear to work for Xwayland
but not yet for modesetting. Hopefully we can fix that before 1.20 but
in the meantime this makes testing both paths easier than a rebuild.
Signed-off-by: Adam Jackson's avatarAdam Jackson <>
parent df13ea7d
......@@ -35,6 +35,7 @@
#include <sys/ioctl.h>
#include <errno.h>
#include <xf86.h>
#include <xf86Priv.h>
#include <xf86drm.h>
......@@ -960,7 +961,8 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
"EGL_EXT_image_dma_buf_import") &&
glamor_egl->dmabuf_capable = TRUE;
glamor_egl->dmabuf_capable = !!strstr(xf86Info.debug,
glamor_egl->saved_free_screen = scrn->FreeScreen;
......@@ -498,6 +498,9 @@ The options recognised by this section are:
.BI "Option \*qDebug\*q \*q" string \*q
This comma-separated list provides a way to control various debugging switches
from the config file.
At the moment the only defined value is
.B dmabuf_capable
which instructs glamor to enable some unstable buffer management code.
.TP 7
.BI "Option \*qDefaultServerLayout\*q \*q" layout\-id \*q
This specifies the default
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment