From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe004.messaging.microsoft.com [213.199.154.207]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CAFE8E0059A for ; Mon, 3 Feb 2014 03:49:17 -0800 (PST) Received: from mail32-am1-R.bigfish.com (10.3.201.245) by AM1EHSOBE017.bigfish.com (10.3.207.139) with Microsoft SMTP Server id 14.1.225.22; Mon, 3 Feb 2014 11:49:15 +0000 Received: from mail32-am1 (localhost [127.0.0.1]) by mail32-am1-R.bigfish.com (Postfix) with ESMTP id C4A522039E; Mon, 3 Feb 2014 11:49:15 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -4 X-BigFish: VS-4(z579ehz98dI9371I936eI1432Izz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275dh1de097hz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh22d0h2336h2438h2461h2487h24ach24d7h2516h1155h) Received: from mail32-am1 (localhost.localdomain [127.0.0.1]) by mail32-am1 (MessageSwitch) id 1391428153456373_27408; Mon, 3 Feb 2014 11:49:13 +0000 (UTC) Received: from AM1EHSMHS008.bigfish.com (unknown [10.3.201.247]) by mail32-am1.bigfish.com (Postfix) with ESMTP id 61AFE2C0086; Mon, 3 Feb 2014 11:49:13 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS008.bigfish.com (10.3.207.108) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 3 Feb 2014 11:49:12 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.3.158.2; Mon, 3 Feb 2014 11:49:11 +0000 Received: from [10.29.244.15] ([10.29.244.15]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s13Bn9Ql007764; Mon, 3 Feb 2014 04:49:10 -0700 Message-ID: <52EF80F1.2080500@freescale.com> Date: Mon, 3 Feb 2014 09:43:45 -0200 From: Daiane Angolini Organization: Freescale Semiconductor User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Otavio Salvador , Carlos Rafael Giani References: <1391424109-1663-1-git-send-email-dv@pseudoterminal.org> <52EF7DCD.4070203@pseudoterminal.org> In-Reply-To: X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-arm][PATCH] gpu-viv-bin-mx6q: Make backend configurable X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 11:49:20 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 03-02-2014 09:34, Otavio Salvador wrote: > Hello Carlos, > > On Mon, Feb 3, 2014 at 9:30 AM, Carlos Rafael Giani > wrote: >> On 2014-02-03 12:23, Otavio Salvador wrote: >>> On Mon, Feb 3, 2014 at 8:41 AM, Carlos Rafael Giani >>> wrote: >>>> >>>> With this change, the user can set USE_X11 etc. in local.conf to >>>> override the recipe's DISTRO_FEATURES based choice. This is for example >>>> beneficial when both X11 and wayland are supported, or when the user >>>> wants to make use of the regular framebuffer backend. (Modifying >>>> the distro features list may have far reaching consequences.) >>>> >>>> Signed-off-by: Carlos Rafael Giani >>> >>> The Wayland and X11 backends are not usable at same time as you need >>> to build apps with different flags. Do you have an usecase in mind? >>> >> >> For example, when I wanted to try out the framebuffer EGL backend of the >> eglvivsink element in gstreamer-imx , I had to modify the >> gpu-viv-bin-mx6q.inc file to force it to not install the X11 binaries. (Same >> when I tried to develop a directfb EGL backend, which I postponed for now, >> because there are zero docs and examples on how to actually do this.) I will >> also need it later, when I start working on the Wayland backend. I also >> needed it when trying to build an xbmc fork with imx extras ; it can only >> render to framebuffer, not to X11. >> >> I agree though that a switch-like statement would be better, but I am not >> sure how to implement that properly (my OE foo is not that high :) ) > > The idea here is you to set: > > DISTRO_FEATURES_remove = "x11 wayland" > > in your local.conf and you'll get a 'framebuffer' system. > > Adding also: > > DISTRO_FEATURES += "directfb" > > gets you a 'DirectFB' system. You mean, for DirectFB the needed code is: DISTRO_FEATURES_remove = "x11 wayland" DISTRO_FEATURES += "directfb" So, both lines together. If you only include directfb in DISTRO_FEATURES what probably will happen is an explosion due to universe collapse (x11+wayland+direcftb) I know you said the same thing in your email, Otavio. But at first, it confused me. So I'm being redundant - just in case - > > Is it what you are looking for? > > -- Daiane