Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Ross Burton
On Wed, 10 Feb 2021 at 11:12, Ray Smith wrote: > This has a desirable side-effect of enabling a build of mesa that > supports only OpenGL ES and EGL, without having the rest of the > distribution think that full OpenGL is available. The 'opengl' DISTRO_FEATURE is deliberately vague and doesn't ha

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Phil Blundell via lists.openembedded.org
On Thu, Feb 11, 2021 at 01:05:20PM +0100, Martin Jansa wrote: > Or you can read it as that it makes sense to build mesa recipe only when > DISTRO supports opengl or vulkan or opengles, It's never been the intent of DISTRO_FEATURES to determine which recipes it "makes sense" to build, above and be

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Martin Jansa
On Thu, Feb 11, 2021 at 11:59:43AM +, Ray Smith wrote: > On Wed, Feb 10, 2021 at 9:36 PM Otavio Salvador < > otavio.salva...@ossystems.com.br> wrote: > > > Em qua., 10 de fev. de 2021 às 17:21, Andrey Zhizhikin > > escreveu: > > > >> > >> Should this be clarified with Mesa folks upfront? If y

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-11 Thread Ray Smith
On Wed, Feb 10, 2021 at 9:36 PM Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > Em qua., 10 de fev. de 2021 às 17:21, Andrey Zhizhikin > escreveu: > >> >> Should this be clarified with Mesa folks upfront? If you believe that >> this limitation is rather "artificial", then there has t

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-10 Thread Otavio Salvador
Em qua., 10 de fev. de 2021 às 17:21, Andrey Zhizhikin escreveu: > On Wed, Feb 10, 2021 at 3:41 PM Ray Smith wrote: > > On Wed, Feb 10, 2021 at 1:26 PM Otavio Salvador < > otavio.salva...@ossystems.com.br> wrote: > >> > >> > >> I didn't understand what you mean here. Could you elaborate this? >

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-10 Thread Andrey Zhizhikin
Hello Ray, On Wed, Feb 10, 2021 at 3:41 PM Ray Smith wrote: > > On Wed, Feb 10, 2021 at 1:26 PM Otavio Salvador > wrote: >> >> >> I didn't understand what you mean here. Could you elaborate this? >> > > If you try to build mesa with PACKAGECONFIG "egl gles dri" you get an error: > ../mesa-20.3.

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-10 Thread Ray Smith
On Wed, Feb 10, 2021 at 3:15 PM akuster808 wrote: > > Did you run yocto-check-layer to ensure this passes? > > -armin > > I didn't, but I don't think it makes sense for this. At least, it fails for fundamental-looking reasons when run on oe-core/meta without my changes (assuming I'm running it co

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-10 Thread akuster
On 2/10/21 3:11 AM, Ray Smith wrote: > Mesa doesn't _require_ either of these features of the distribution, > it (conditionally) _provides_ them. > > This has a desirable side-effect of enabling a build of mesa that > supports only OpenGL ES and EGL, without having the rest of the > distribution

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-10 Thread Ray Smith
On Wed, Feb 10, 2021 at 1:26 PM Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > > I didn't understand what you mean here. Could you elaborate this? > > If you try to build mesa with PACKAGECONFIG "egl gles dri" you get an error: ../mesa-20.3.2/meson.build:144:4: ERROR: Problem encount

Re: [OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-10 Thread Otavio Salvador
Em qua., 10 de fev. de 2021 às 08:12, Ray Smith escreveu: > (Note that currently mesa internally requires OpenGL support to be > built in order for OpenGL ES support to be built, but this is a > detail internal to mesa that should not be exposed to the wider > build) > I didn't understand what y

[OE-core] [PATCH] mesa: Remove dependency on opengl or vulkan DISTRO_FEATURES

2021-02-10 Thread Ray Smith
Mesa doesn't _require_ either of these features of the distribution, it (conditionally) _provides_ them. This has a desirable side-effect of enabling a build of mesa that supports only OpenGL ES and EGL, without having the rest of the distribution think that full OpenGL is available. Without this