Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/x11r7/xserver_xorg-server: glamor depends on libgl
Date: Thu, 8 Sep 2016 23:17:17 +0200	[thread overview]
Message-ID: <20160908231717.549fdddc@free-electrons.com> (raw)
In-Reply-To: <20160905121831.12790-1-bernd.kuhls@t-online.de>

Hello,

On Mon,  5 Sep 2016 14:18:31 +0200, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/1f6/1f6131c25738577afd8e097d126e8166cbcfcdd8/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 2 +-
>  1 file changed, 1 insertion(+), 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 85d7e98..51c3efc 100644
> --- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> +++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
> @@ -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
else
LIBEPOXY_CONF_OPTS += --disable-glx
endif

is entirely correct. I've Cc'ed Gustavo so that a discussion can take
place on this.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

      reply	other threads:[~2016-09-08 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-05 12:18 [Buildroot] [PATCH 1/1] package/x11r7/xserver_xorg-server: glamor depends on libgl Bernd Kuhls
2016-09-08 21:17 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160908231717.549fdddc@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox