From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/6] package/vlc: depends on the virtual package libgl
Date: Thu, 3 Apr 2014 19:01:25 +0200 [thread overview]
Message-ID: <20140403170125.GA3202@free.fr> (raw)
In-Reply-To: <533CFD41.50601@mind.be>
Arnout, All,
On 2014-04-03 08:18 +0200, Arnout Vandecappelle spake thusly:
> On 02/04/14 18:26, Yann E. MORIN wrote:
> > Arnout, All,
> >
> > On 2014-04-02 08:19 +0200, Arnout Vandecappelle spake thusly:
> >> On 01/04/14 00:00, Yann E. MORIN wrote:
> >>> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> [snip]
> >>> -ifeq ($(BR2_PACKAGE_MESA3D),y)
> >>> +ifeq ($(BR2_PACKAGE_HAS_OPENGL),y)
> >>> VLC_CONF_OPT += --enable-glx
> >>
> >> Since the option is called enable-glx, it sounds as if it should depend
> >> on X as well (I don't think wayland has glx, right?)
> >
> > Well, full-openGL is only possible with X11 anyway, so BR2_PACKAGE_HAS_OPENGL
> > will itself not be set when X.org is not selected as well.
>
> So wayland doesn't support full-GL? Or maybe wayland also supports glx?
It is my understanding that Wayland only "supports" EGL and GLES2.
But Wayland itself is but a protocol. What matter are the compositor
(the server) and the applications (the clients).
I am not that knowledgeable in the subject, but from what I understand:
- a Wayland compositor only needs EGL (plus a wayland-specific
extension that is slowly trickling-down to any known-so-far EGL
implementations.)
- as for what a Wayland application may use, I guess it is also limited
to only doing EGL calls, not full OpenGL either.
Here is a nice, short and concise description of Wayland to which I
refer you:
http://wayland.freedesktop.org/architecture.html
It is only speaking of EGL/GLES2:
---8<---
Typically, hardware enabling includes modesetting/display and
EGL/GLES2. On top of that, Wayland needs a way to share buffers
efficiently between processes. There are two sides to that, the client
side and the server side.
On the client side we've defined a Wayland EGL platform. In the EGL
model, that consists of the native types (EGLNativeDisplayType,
EGLNativeWindowType and EGLNativePixmapType) and a way to create those
types. In other words, it's the glue code that binds the EGL stack and
its buffer sharing mechanism to the generic Wayland API. The EGL stack
is expected to provide an implementation of the Wayland EGL platform.
[...]
The server side of Wayland is the compositor and core UX for the
vertical, typically integrating task switcher, app launcher, lock screen
in one monolithic application. The server runs on top of a modesetting
API (kernel modesetting, OpenWF Display or similar) and composites the
final UI using a mix of EGL/GLES2 compositor and hardware overlays if
available. Enabling modesetting, EGL/GLES2 and overlays is something
that should be part of standard hardware bringup. The extra requirement
for Wayland enabling is the EGL_WL_bind_wayland_display extension that
lets the compositor create an EGLImage from a generic Wayland shared
buffer. [...]
---8<---
So, no. No full OpenGL with Wayland.
Someone more knowledgeable than I will easily prove me wrong, however.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-04-03 17:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-31 21:59 [Buildroot] [PATCH 0/6] Add virtual package for full-openGL (branch yem/fixes) Yann E. MORIN
2014-03-31 21:59 ` [Buildroot] [PATCH 1/6] package/libevas: quick fix to get rid of circular deps Yann E. MORIN
2014-04-02 6:13 ` Arnout Vandecappelle
2014-04-02 16:25 ` Yann E. MORIN
2014-04-03 20:43 ` Thomas Petazzoni
2014-03-31 21:59 ` [Buildroot] [PATCH 2/6] package/libgl: introduce as a new virtual package for full-openGL providers Yann E. MORIN
2014-03-31 21:59 ` [Buildroot] [PATCH 3/6] package/mesa3d: is a full-openGL provider if X.org is present Yann E. MORIN
2014-04-01 7:48 ` Paul Cercueil
2014-04-01 18:14 ` Yann E. MORIN
2014-04-01 20:14 ` Paul Cercueil
2014-04-01 21:20 ` Yann E. MORIN
2014-03-31 22:00 ` [Buildroot] [PATCH 4/6] package/vlc: depends on the virtual package libgl Yann E. MORIN
2014-04-02 6:19 ` Arnout Vandecappelle
2014-04-02 16:26 ` Yann E. MORIN
2014-04-03 6:18 ` Arnout Vandecappelle
2014-04-03 17:01 ` Yann E. MORIN [this message]
2014-03-31 22:00 ` [Buildroot] [PATCH 5/6] package/x11-video-drivers: do not select, but depends on mesa3d Yann E. MORIN
2014-04-02 20:01 ` Bernd Kuhls
2014-04-03 17:03 ` Yann E. MORIN
2014-03-31 22:00 ` [Buildroot] [PATCH 6/6] package/xorg-server: do not force-select xf86driproto for mesa3d Yann E. MORIN
2014-04-01 19:11 ` [Buildroot] [PATCH 0/6] Add virtual package for full-openGL (branch yem/fixes) Eric Le Bihan
2014-04-01 23:00 ` Yann E. MORIN
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=20140403170125.GA3202@free.fr \
--to=yann.morin.1998@free.fr \
--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