All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 01/10] qt4-graphics-system: add
Date: Thu, 05 Jan 2012 14:03:14 -0800	[thread overview]
Message-ID: <4F061E22.6030506@linux.intel.com> (raw)
In-Reply-To: <268ead6ebfc8fbfdb9f6bf55352103b984bdf341.1325792209.git.otavio@ossystems.com.br>

On 01/05/2012 11:37 AM, Otavio Salvador wrote:
> Allow setting default runtime graphics system engine for Qt4
> applications per machine.
>
> Depending on the GPU and Xorg driver, this can boost and impact
> significantly the drawing performance. The default setting is to
> 'raster' as this offer best performance for most machines GPUs.
>
> Signed-off-by: Otavio Salvador<otavio@ossystems.com.br>
> ---
>   .../qt4-graphics-system/qt4-graphics-system_1.0.bb |   27 ++++++++++++++++++++
>   1 files changed, 27 insertions(+), 0 deletions(-)
>   create mode 100644 meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
>
> diff --git a/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb b/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
> new file mode 100644
> index 0000000..b3aa1e5
> --- /dev/null
> +++ b/meta/recipes-qt/qt4-graphics-system/qt4-graphics-system_1.0.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "Set default Qt4 Graphics System to ${QT_GRAPHICS_SYSTEM}"
> +SECTION = "x11/base"
> +LICENSE = "MIT-X"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +QT_GRAPHICS_SYSTEM ?= "raster"
> +
> +# xserver-common, x11-common
> +VIRTUAL-RUNTIME_xserver_common ?= "x11-common"
> +
Should the be initialized here or in one of the Qt tasks?

> +def _get_extra_rdepends(d):
> +    gs = d.getVar('QT_GRAPHICS_SYSTEM', 1)
> +    if gs == "opengl":
> +        return "qt4-plugin-graphicssystems-glgraphicssystem"
> +
Is this package available in OE-Core?

> +    return ""
> +
> +do_install () {
> +	install -d ${D}/${sysconfdir}/X11/Xsession.d/
> +	cfg_file=${D}/${sysconfdir}/X11/Xsession.d/85xqt-graphicssystem
> +	echo "export QT_GRAPHICSSYSTEM=${QT_GRAPHICS_SYSTEM}">  $cfg_file
> +	chmod +x $cfg_file
> +}
> +
> +RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_xserver_common} ${@_get_extra_rdepends(d)}"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"



  reply	other threads:[~2012-01-05 22:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-05 19:37 [PATCH 00/10] Pending patches from O.S. Systems tree Otavio Salvador
2012-01-05 19:37 ` [PATCH 01/10] qt4-graphics-system: add Otavio Salvador
2012-01-05 22:03   ` Saul Wold [this message]
2012-01-05 22:07     ` Otavio Salvador
2012-01-05 19:37 ` [PATCH 02/10] qt4e.bbclass: add QT_BASE_NAME for use in recipes Otavio Salvador
2012-01-05 19:37 ` [PATCH 03/10] qt4x11.bbclass: " Otavio Salvador
2012-01-05 19:37 ` [PATCH 04/10] qt4-embedded.inc: use QT_BASE_NAME from qt4e.bbclass Otavio Salvador
2012-01-05 19:37 ` [PATCH 05/10] qt4-x11-free.inc: use QT_BASE_NAME from qt4x11.bbclass Otavio Salvador
2012-01-05 19:37 ` [PATCH 06/10] initscripts: avoid mounting /sys if it is already mounted Otavio Salvador
2012-01-05 19:37 ` [PATCH 07/10] busybox: disable syslogd configuration file support Otavio Salvador
2012-01-05 19:37 ` [PATCH 08/10] udev: ensure /dev/pts and /dev/shm does exists Otavio Salvador
2012-01-05 19:37 ` [PATCH 09/10] udev: improve udev-cache robustness Otavio Salvador
2012-01-05 19:38 ` [PATCH 10/10] udev: drop depmod handling code as it ought to be done in kernel postinst Otavio Salvador
2012-01-05 22:07   ` Saul Wold
2012-01-05 22:09     ` Otavio Salvador
2012-01-05 22:22       ` Otavio Salvador
2012-01-09  6:00 ` [PATCH 00/10] Pending patches from O.S. Systems tree Saul Wold

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=4F061E22.6030506@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.