From f3880b98ffe9b6344e481190dd0bdee47149a8ff Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 29 Jul 2014 23:34:15 +0200 Subject: [PATCH] xserver_xorg-server: Add support for DRI3 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk index 9188411f6d..22f56a419e 100644 --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk @@ -170,8 +170,12 @@ ifeq ($(BR2_PACKAGE_XPROTO_DRI2PROTO),y) XSERVER_XORG_SERVER_DEPENDENCIES += xproto_dri2proto XSERVER_XORG_SERVER_CONF_OPT += --enable-dri2 endif +ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y) +XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto +XSERVER_XORG_SERVER_CONF_OPT += --enable-dri3 +endif else -XSERVER_XORG_SERVER_CONF_OPT += --disable-dri2 +XSERVER_XORG_SERVER_CONF_OPT += --disable-dri2 --disable-dri3 endif ifeq ($(BR2_PACKAGE_XLIB_LIBXSCRNSAVER),y) -- 2.30.2