Hello Ray,

On Wed, Feb 10, 2021 at 3:41 PM Ray Smith <[email protected]> wrote:
>
> On Wed, Feb 10, 2021 at 1:26 PM Otavio Salvador 
> <[email protected]> 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 encountered: building OpenGL 
> ES without OpenGL is not supported.
>
> This means that in practice you can't get a GLES-only build of mesa, so mesa 
> always provides OpenGL (ignoring Vulkan). But for an abstract graphics driver 
> that's not true - many drivers provide GLES but not OpenGL. I'd argue that 
> this is an implementation detail (and maybe a minor bug) of mesa. If mesa 
> internally requires code from its OpenGL support to build GLES, it should 
> silently include that if it's been configured for GLES-only.
>
> I only mention it to be clear that in general "GLES requires OpenGL" is not 
> true, even though mesa's build system enforces that.

Should this be clarified with Mesa folks upfront? If you believe that
this limitation is rather "artificial", then there has to be a proper
explanation from Mesa developers why OGL is provided when OGLES-only
is built.

>
> 
>


-- 
Regards,
Andrey.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147936): 
https://lists.openembedded.org/g/openembedded-core/message/147936
Mute This Topic: https://lists.openembedded.org/mt/80529198/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to