summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-06-05 11:29:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-05 16:42:01 +0100
commit7fff2edd6a099f60caed7585609155fef29b0d35 (patch)
treeae3e59641fdd556b1ad68fff2663dbb0bdc12778 /meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
parentea63603e2003bb5dee78bd9fd0ce926169599956 (diff)
downloadpoky-7fff2edd6a099f60caed7585609155fef29b0d35.tar.gz
xserver-xorg: always enable DRI2 by default
DRI2 is more abstract than the original DRI and isn't tied to OpenGL or any other rendering system, and as such is being used by more than OpenGL support in xserver. In particular, the new modesettings driver uses DRI2 to accelerate drawing, so enable DRI2 by default. This was spotted because the "nodistro" DISTRO doesn't enable OpenGL, so xserver failed to build as dri2proto wasn't built. (From OE-Core rev: e0c526017e895d768e8a4d09999242286b1f6ee9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg.inc')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 04289f833e..02a170a701 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -122,7 +122,7 @@ EXTRA_OECONF += "--with-fop=no \
122 ac_cv_file__usr_share_sgml_X11_defs_ent=no \ 122 ac_cv_file__usr_share_sgml_X11_defs_ent=no \
123" 123"
124 124
125PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri dri2 glx', '', d)} \ 125PACKAGECONFIG ??= "dri2 udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \
126 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \ 126 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \
127" 127"
128 128