If we're talking about OpenGLES applications, wouldn't you already have opengl 
in DISTRO_FEATURES?

I'm not sure it makes a lot of sense to introduce a check for dispmanx to 
oe-core if nothing in oe-core ever defines that feature. 

p. 



On 3 December 2020 13:35:26 GMT, Trevor Woerner <[email protected]> wrote:
>On the RaspberryPi it is possible to run gles2 applications on top of
>dispmanx
>without the need for x11/wayland/etc.
>
>Signed-off-by: Trevor Woerner <[email protected]>
>---
> meta/recipes-graphics/mesa/mesa.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/meta/recipes-graphics/mesa/mesa.inc
>b/meta/recipes-graphics/mesa/mesa.inc
>index a6652b0ddb..34cb3c35e2 100644
>--- a/meta/recipes-graphics/mesa/mesa.inc
>+++ b/meta/recipes-graphics/mesa/mesa.inc
>@@ -51,7 +51,7 @@ inherit meson pkgconfig python3native gettext
>features_check
> 
> BBCLASSEXTEND = "native nativesdk"
> 
>-ANY_OF_DISTRO_FEATURES_class-target = "opengl vulkan"
>+ANY_OF_DISTRO_FEATURES_class-target = "opengl vulkan dispmanx"
> 
>PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \
>          ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'drm', '', d)} \
>-- 
>2.28.0.497.g54e85e7af1

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145266): 
https://lists.openembedded.org/g/openembedded-core/message/145266
Mute This Topic: https://lists.openembedded.org/mt/78684120/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to