Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will Wagner <will_wagner@carallon.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 2/2] qt: add powervr and opengl
Date: Thu, 11 Jul 2013 10:16:46 +0100	[thread overview]
Message-ID: <51DE77FE.2060709@carallon.com> (raw)
In-Reply-To: <20130711104744.7fa84966@skate>

On 11/07/2013 09:47, Thomas Petazzoni wrote:
> Dear Will Wagner,
>
> On Wed, 10 Jul 2013 19:59:38 +0100, Will Wagner wrote:
>
>>> +config BR2_PACKAGE_QT_GFX_POWERVR
>>> +	depends on BR2_PACKAGE_QT_OPENGL_ES
>>> +	depends on BR2_PACKAGE_TI_GFX
>>> +	bool "powervr"
>>> +
>> I don't like that this depends on the TI_GFX package. When I added
>> powervr support to Qt I added a powervr virtual package the same as
>> opengl_es or opengl_egl. This allows Qt to not contain anything specific
>> to the hardware graphics package.
> I don't quite understand this. The Qt code that gets enabled with this
> option *is* specific to this very driver, so it makes a lot of sense to
> have this dependency.
>
> If at some point in the future, we have a different package that is
> API-compatible with the ti-gfx package and allows the same Qt PowerVR
> code to be enabled, then it will be good time to have a virtual
> package. Virtual packages have not impact on the Config.in options
> stored in .config, so moving things to a virtual package does not break
> the .config API, so we can safely do that in the future, when needed.

Ok, makes sense that the virtual package is only needed if we have more 
than one package that offers it. I already have two hardware packages 
that offer powervr support which is why I did it that way and it sounds 
like Spenser is planning to add another as well.

Just to be difficult I'll also point out that currently in buildroot 
there is only one package (rpi_userland) that offers opengl_es and 
opengl_egl support so you were obviously planning for the future when 
you made those a virtual package :)

Will

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

  reply	other threads:[~2013-07-11  9:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 18:10 [Buildroot] [PATCH v4 2/2] qt: add powervr and opengl Spenser Gilliland
2013-07-10 18:59 ` Will Wagner
2013-07-10 19:41   ` Spenser Gilliland
2013-07-11  8:47   ` Thomas Petazzoni
2013-07-11  9:16     ` Will Wagner [this message]
2013-07-11  9:45       ` Thomas Petazzoni
2013-07-11 16:51         ` Spenser Gilliland

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=51DE77FE.2060709@carallon.com \
    --to=will_wagner@carallon.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