[PATCH xserver 2/2] glamor: Hide new DRI for behind Option "Debug" "dmabuf_capable"

Adam Jackson ajax at nwnk.net
Wed Mar 28 20:37:14 UTC 2018


On Wed, 2018-03-28 at 13:40 -0400, Adam Jackson wrote:
> On Wed, 2018-03-28 at 12:46 -0400, Adam Jackson wrote:
> 
> > @@ -960,7 +961,8 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
> >                                  "EGL_EXT_image_dma_buf_import") &&
> >          epoxy_has_egl_extension(glamor_egl->display,
> >                                  "EGL_EXT_image_dma_buf_import_modifiers"))
> > -        glamor_egl->dmabuf_capable = TRUE;
> > +        glamor_egl->dmabuf_capable = !!strstr(xf86Info.debug,
> > +                                              "dmabuf_capable");
> >  #endif
> 
> Obviously this should check if xf86Info.debug is non-null first, and
> probably there should be better API than this.

Merged these in the name of a vaguely usable RC2.

- ajax


More information about the xorg-devel mailing list