diff mbox series

[meta-arago,master/scarthgap,1/2] meta-arago-test: recipes-graphics: Add lightweight off-screen demo

Message ID 20250711142611.3567574-2-a-christidis@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series Addition of off-screen render demo | expand

Commit Message

Antonios Christidis July 11, 2025, 2:26 p.m. UTC
From: Antonios Christidis <a-christidis@ti.com>

Add recipe for lightweight off-screen rendering demo.

Signed-off-by: Antonios Christidis <a-christidis@ti.com>
---
 .../offscreen-demo/offscreendemo_0.0.1.bb        | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb

Comments

Andrew Davis July 11, 2025, 3:31 p.m. UTC | #1
On 7/11/25 9:26 AM, Antonios Christidis via lists.yoctoproject.org wrote:
> From: Antonios Christidis <a-christidis@ti.com>
> 
> Add recipe for lightweight off-screen rendering demo.
> 
> Signed-off-by: Antonios Christidis <a-christidis@ti.com>
> ---
>   .../offscreen-demo/offscreendemo_0.0.1.bb        | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>   create mode 100644 meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
> 
> diff --git a/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
> new file mode 100644
> index 00000000..f0b6a1fd
> --- /dev/null
> +++ b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "Lightweight Render Example"
> +DESCRIPTION = "Lightweight Render Example. Heavily inspired by Eduardo Lima's gpu-playground, this attempts to act as the smallest demo of offscreen rendering."
> +
> +HOMEPAGE = "https://github.com/StaticRocket/lightweight-offscreen"
> +
> +SRC_URI = "git://github.com/StaticRocket/lightweight-offscreen.git;protocol=https;branch=master"
> +SRCREV = "eac40e0073cb5f81688aee890e0a67f99678a290"
> +
> +LICENSE = "CC0-1.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
> +
> +S = "${WORKDIR}/git"
> +
> +DEPENDS += "virtual/egl virtual/libgles2 mesa-pvr"

You shouldn't depend directly on "mesa-pvr", that is just one provider
of virtual/libgles2, which you already have as a dependency.

Andrew

> +
> +inherit pkgconfig meson
Denys Dmytriyenko July 11, 2025, 3:32 p.m. UTC | #2
On Fri, Jul 11, 2025 at 09:26:10AM -0500, Antonios Christidis via lists.yoctoproject.org wrote:
> From: Antonios Christidis <a-christidis@ti.com>
> 
> Add recipe for lightweight off-screen rendering demo.
> 
> Signed-off-by: Antonios Christidis <a-christidis@ti.com>
> ---
>  .../offscreen-demo/offscreendemo_0.0.1.bb        | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
> 
> diff --git a/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
> new file mode 100644
> index 00000000..f0b6a1fd
> --- /dev/null
> +++ b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "Lightweight Render Example"
> +DESCRIPTION = "Lightweight Render Example. Heavily inspired by Eduardo Lima's gpu-playground, this attempts to act as the smallest demo of offscreen rendering."
> +
> +HOMEPAGE = "https://github.com/StaticRocket/lightweight-offscreen"
> +
> +SRC_URI = "git://github.com/StaticRocket/lightweight-offscreen.git;protocol=https;branch=master"
> +SRCREV = "eac40e0073cb5f81688aee890e0a67f99678a290"
> +
> +LICENSE = "CC0-1.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
> +
> +S = "${WORKDIR}/git"

This ^^^ is no longer correct for master


> +DEPENDS += "virtual/egl virtual/libgles2 mesa-pvr"
> +
> +inherit pkgconfig meson
> -- 
> 2.34.1
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
new file mode 100644
index 00000000..f0b6a1fd
--- /dev/null
+++ b/meta-arago-test/recipes-graphics/offscreen-demo/offscreendemo_0.0.1.bb
@@ -0,0 +1,16 @@ 
+SUMMARY = "Lightweight Render Example"
+DESCRIPTION = "Lightweight Render Example. Heavily inspired by Eduardo Lima's gpu-playground, this attempts to act as the smallest demo of offscreen rendering."
+
+HOMEPAGE = "https://github.com/StaticRocket/lightweight-offscreen"
+
+SRC_URI = "git://github.com/StaticRocket/lightweight-offscreen.git;protocol=https;branch=master"
+SRCREV = "eac40e0073cb5f81688aee890e0a67f99678a290"
+
+LICENSE = "CC0-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "virtual/egl virtual/libgles2 mesa-pvr"
+
+inherit pkgconfig meson