From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 12CB5E00706 for ; Mon, 3 Feb 2014 03:28:13 -0800 (PST) Received: from [192.168.178.14] (chello080108009040.14.11.vie.surfer.at [80.108.9.40]) by ptmx.org (Postfix) with ESMTPSA id 09325225FA; Mon, 3 Feb 2014 12:28:11 +0100 (CET) Message-ID: <52EF7DCD.4070203@pseudoterminal.org> Date: Mon, 03 Feb 2014 12:30:21 +0100 From: Carlos Rafael Giani 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 References: <1391424109-1663-1-git-send-email-dv@pseudoterminal.org> In-Reply-To: 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:28:17 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2014-02-03 12:23, Otavio Salvador wrote: > Hello Carlos, > > 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 :) )