Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/6] package/mesa3d: is a full-openGL provider if X.org is present
Date: Tue, 1 Apr 2014 23:20:57 +0200	[thread overview]
Message-ID: <20140401212057.GA1278@free.fr> (raw)
In-Reply-To: <533B1E13.9020200@crapouillou.net>

Paul, All,

On 2014-04-01 22:14 +0200, Paul Cercueil spake thusly:
> On 01/04/2014 20:14, Yann E. MORIN wrote:
> >I have to admit I am a bit lost in all this mess... :-(
> 
> It works like this: regular OpenGL only works with DRI drivers, and DRI
> drivers are only usable under X11.
> Which means that all DRI drivers should depend on XORG7 (even the swrast
> one), and they should all select OpenGL.
> 
> Gallium drivers are meant to be used with EGL and OpenGL ES, and only some
> of them can be used under X11 using a DRI compatibility layer (for instance,
> "nouveau" in Mesa is both a Gallium and a DRI driver). But they should also
> all work fine without X11, and will support Wayland, which is not the case
> for DRI drivers.

OK, you managed to confuse me yet a bit more! :-)

So, to sum-up our discussion on IRC, so everyone can follow:

  - mesa3d has two types of drivers: Gallium drivers, and DRI drivers

  - Gallium drivers provide EGL and GLES

  - DRI drivers provide full-openGL, and also EGL and GLES

  - for a specific chip, there are two drivers: one Gallium and one DRI

  - some drivers have a DRI wrapper over a Gallium driver, wrapper that
    provides DRI via the Gallium driver

  - X11 needs a DRI driver

  - Gallium are used for non-X11 display (eg. directfb, a wayland
    compositor...)

Is the above a proper summary of what you explained me on IRC?

I'll wait for your reply before I lay out my proposal for fixing mesa3d
support in Buildroot, because if any of the above is wrong, my prioposal
would be wrong.

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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-04-01 21:20 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 [this message]
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
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=20140401212057.GA1278@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