package/x11r7/xserver_xorg-server: glamor depends on libgl
PATCH 1/1 package/x11r7/xserver_xorg-server: glamor depends on libgl
Fixes
http://autobuild.buildroot.net/results/1f6/1f6131c25738577afd8e097d126e8166cbcfcdd8/
--- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +1 -1
@@ -214,7 +214,7 @@ endif ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y) XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri3 -ifeq ($(BR2_PACKAGE_LIBEPOXY),y) +ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yy) XSERVER_XORG_SERVER_DEPENDENCIES += libepoxy XSERVER_XORG_SERVER_CONF_OPTS += --enable-glamor endif
Signature · 1 line
2.9.3
PATCH 1/1 package/x11r7/xserver_xorg-server: glamor depends on libgl
Hello,
Quoted 13 lines · Bernd Kuhls
Fixes
http://autobuild.buildroot.net/results/1f6/1f6131c25738577afd8e097d126e8166cbcfcdd8/Signed-off-by Bernd Kuhls <[email protected]>--- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +0
-0
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk endif · line 220
Quoted 8 lines
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +1
-1@@ -214,7 +214,7 @@ endif ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y) XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri3 -ifeq ($(BR2_PACKAGE_LIBEPOXY),y) +ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yy) XSERVER_XORG_SERVER_DEPENDENCIES += libepoxy XSERVER_XORG_SERVER_CONF_OPTS += --enable-glamor endif
I have applied, but I am not sure it is entirely correct. Indeed, Glamor is apparently capable of using OpenGL ES (see
https://www.x.org/wiki/Events/XDC2014/XDC2014PackardGlamor/glamor-1.pdf).
However, libepoxy indeed only enables GLX support when full OpenGL support is enabled. But it is also possible to have OpenGL ES support under X11: it is for example the case for the imx-gpu-viv OpenGL ES implementation.
So I'm wondering if:
ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_XLIB_LIBX11),yy) LIBEPOXY_CONF_OPTS += --enable-glx LIBEPOXY_DEPENDENCIES += libgl xlib_libX11
elseLIBEPOXY_CONF_OPTS += --disable-glx
endif
is entirely correct. I've Cc'ed Gustavo so that a discussion can take place on this.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com