Re: [OE-core] [PATCH] mesa.inc: add dispmanx support

Phil Blundell
2020-12-03T22:25:03Z

[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]

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 <twoerner@gmail.com> 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 <twoerner@gmail.com>
>---
> 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.

[-- Attachment #2: Type: text/html, Size: 1587 bytes --]