Skip to contentSkip to conversation

packagegroup-arago-tisdk-graphics: add mesa-demos and sdl2

PATCH In review [email protected] 3 participants 4 messages Jun 2, 2025 – Jun 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-arago-tisdk-graphics: add mesa-demos and sdl2

From: Randolph Sapp <[email protected]>

Add the new mesa-demos package to this group so that users and scripts can use eglinfo to query information about supported extensions and configs for multiple platforms. It also adds vkgears and es2gears to test Vulkan and GLES 2 respectively.

Add libsdl2 as it's a useful, minimal graphics toolkit that allows users to build GLES and Vulkan applications with less boilerplate. We have a few internal test applications that currently use it.

---
 .../packagegroups/packagegroup-arago-tisdk-graphics.bb          | 2 ++
 1 file changed, 2 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
index fc1a5be3..3728ae52 100644
@@ -9,6 +9,8 @@ inherit packagegroup
 GFX_WAYLAND = "\
     weston-init-arago \
     weston-examples \
+    mesa-demos \
+    libsdl2 \
 "
 
 RDEPENDS:${PN} = "\
Signature · 1 line
2.49.0
#1 lore raw
Quoted 10 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add the new mesa-demos package to this group so that users and scripts can use eglinfo to query information about supported extensions and configs for multiple platforms. It also adds vkgears and es2gears to test Vulkan and GLES 2 respectively.

Add libsdl2 as it's a useful, minimal graphics toolkit that allows users to build GLES and Vulkan applications with less boilerplate. We have a few internal test applications that currently use it.

Any reason these applications could not be added here? libsdl2 like other pure libraries should only be added as dependencies of the applications that use them.

Andrew

Quoted 19 lines
---
  .../packagegroups/packagegroup-arago-tisdk-graphics.bb          | 2 ++
  1 file changed, 2 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
index fc1a5be3..3728ae52 100644
@@ -9,6 +9,8 @@ inherit packagegroup
  GFX_WAYLAND = "\
      weston-init-arago \
      weston-examples \
+    mesa-demos \
+    libsdl2 \
  "
 
  RDEPENDS:${PN} = "\
#2 lore raw
Quoted 12 lines · Andrew Davis
Quoted 10 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add the new mesa-demos package to this group so that users and scripts can use eglinfo to query information about supported extensions and configs for multiple platforms. It also adds vkgears and es2gears to test Vulkan and GLES 2 respectively.

Add libsdl2 as it's a useful, minimal graphics toolkit that allows users to build GLES and Vulkan applications with less boilerplate. We have a few internal test applications that currently use it.

Quoted 5 lines

Any reason these applications could not be added here? libsdl2 like other pure libraries should only be added as dependencies of the applications that use them.

Andrew

While I normally agree with this sentiment, there are currently private test applications that depend on SDL2. I can tack this directly into the test groups if that's preferable. There was just some talk about introducing it as customers who don't want the overhead of Qt may find it preferable to raw EGL+GLES.

- Randolph

Quoted 19 lines
Quoted 19 lines
---
  .../packagegroups/packagegroup-arago-tisdk-graphics.bb          | 2 ++
  1 file changed, 2 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
index fc1a5be3..3728ae52 100644
@@ -9,6 +9,8 @@ inherit packagegroup
  GFX_WAYLAND = "\
      weston-init-arago \
      weston-examples \
+    mesa-demos \
+    libsdl2 \
  "
 
  RDEPENDS:${PN} = "\
#3 lore raw
Quoted 17 lines · Randolph Sapp
Quoted 16 lines · Andrew Davis
Quoted 10 lines · Randolph Sapp via lists.yoctoproject.org

From: Randolph Sapp <[email protected]>

Add the new mesa-demos package to this group so that users and scripts can use eglinfo to query information about supported extensions and configs for multiple platforms. It also adds vkgears and es2gears to test Vulkan and GLES 2 respectively.

Add libsdl2 as it's a useful, minimal graphics toolkit that allows users to build GLES and Vulkan applications with less boilerplate. We have a few internal test applications that currently use it.

Any reason these applications could not be added here? libsdl2 like other pure libraries should only be added as dependencies of the applications that use them.

Quoted 6 lines
Quoted 1 line

Andrew

While I normally agree with this sentiment, there are currently private test applications that depend on SDL2. I can tack this directly into the test groups if that's preferable. There was just some talk about introducing it as customers who don't want the overhead of Qt may find it preferable to raw EGL+GLES.

So... there is a non-public program that we download during testing that requires the library to be on the system in order to run? And this program cannot be made available...

In general I agree with Andrew on this. We should not be randomly including libraries in the rootfs that do not have programs that require them.

It might better to create a new packagegroup for running these kinds of tests and then the test can pull that packagegroup (packagegroup-arago-tisdk-graphics-testlibs?) as part of the test. That way we keep the base rootfs cleaner for everyone else *not* running this private hidden mystery program. We can build that packagegroup as part of ti-world so that is available in the package feed.

Quoted 22 lines

- Randolph

Quoted 19 lines
Quoted 19 lines
---
   .../packagegroups/packagegroup-arago-tisdk-graphics.bb          | 2 ++
   1 file changed, 2 insertions(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb +2 -0
index fc1a5be3..3728ae52 100644
@@ -9,6 +9,8 @@ inherit packagegroup
   GFX_WAYLAND = "\
       weston-init-arago \
       weston-examples \
+    mesa-demos \
+    libsdl2 \
   "
 
   RDEPENDS:${PN} = "\
Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS