* [PATCH] kmscube: add recipe
@ 2017-04-11 7:54 Carlos Rafael Giani
2017-04-11 8:26 ` Alexander Kanavin
0 siblings, 1 reply; 7+ messages in thread
From: Carlos Rafael Giani @ 2017-04-11 7:54 UTC (permalink / raw)
To: openembedded-core
This is a useful tool to test KMS and GBM-based EGL & OpenGL ES drawing
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
meta/recipes-graphics/kmscube/kmscube_git.bb | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 meta/recipes-graphics/kmscube/kmscube_git.bb
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
new file mode 100644
index 0000000..518c98e
--- /dev/null
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Demo application to showcase 3D graphics using kms and gbm"
+HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/"
+LICENSE = "MIT"
+SECTION = "graphics"
+DEPENDS = "virtual/libgles2 virtual/egl libdrm gstreamer1.0 gstreamer1.0-plugins-base"
+
+LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
+
+SRCREV = "e56980c28766ffb0bf8edee96b529a5b47f97137"
+SRC_URI = "git://anongit.freedesktop.org/mesa/kmscube;branch=master;protocol=git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] kmscube: add recipe
2017-04-11 7:54 [PATCH] kmscube: add recipe Carlos Rafael Giani
@ 2017-04-11 8:26 ` Alexander Kanavin
2017-04-11 8:30 ` Carlos Rafael Giani
2017-04-12 12:14 ` [PATCH v2] " Carlos Rafael Giani
0 siblings, 2 replies; 7+ messages in thread
From: Alexander Kanavin @ 2017-04-11 8:26 UTC (permalink / raw)
To: openembedded-core
On 04/11/2017 10:54 AM, Carlos Rafael Giani wrote:
> This is a useful tool to test KMS and GBM-based EGL & OpenGL ES drawing
Sorry, but the bar for adding recipes to oe-core is higher than a single
all-purpose word 'useful'. Useful to whom? What does the tool do? Is it
essential for making an embedded system? You really should write a
(much) longer commit message, for a start.
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] kmscube: add recipe
2017-04-11 8:26 ` Alexander Kanavin
@ 2017-04-11 8:30 ` Carlos Rafael Giani
2017-04-11 16:19 ` Nicolas Dechesne
2017-04-12 12:14 ` [PATCH v2] " Carlos Rafael Giani
1 sibling, 1 reply; 7+ messages in thread
From: Carlos Rafael Giani @ 2017-04-11 8:30 UTC (permalink / raw)
To: openembedded-core
On 2017-04-11 10:26, Alexander Kanavin wrote:
> On 04/11/2017 10:54 AM, Carlos Rafael Giani wrote:
>> This is a useful tool to test KMS and GBM-based EGL & OpenGL ES drawing
>
> Sorry, but the bar for adding recipes to oe-core is higher than a
> single all-purpose word 'useful'. Useful to whom? What does the tool
> do? Is it essential for making an embedded system? You really should
> write a (much) longer commit message, for a start.
>
> Alex
>
Well it is sort of an equivalent of glxgears for checking whether or not
GBM-based rendering actually works. We have piglit for testing, eglinfo
for getting information about the EGL & GLES support, and kmscube also
adds a visual output to see that rendering actually behaves nicely.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] kmscube: add recipe
2017-04-11 8:30 ` Carlos Rafael Giani
@ 2017-04-11 16:19 ` Nicolas Dechesne
0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Dechesne @ 2017-04-11 16:19 UTC (permalink / raw)
To: Carlos Rafael Giani; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]
On Tue, Apr 11, 2017 at 10:30 AM, Carlos Rafael Giani <dv@pseudoterminal.org
> wrote:
> On 2017-04-11 10:26, Alexander Kanavin wrote:
>
>> On 04/11/2017 10:54 AM, Carlos Rafael Giani wrote:
>>
>>> This is a useful tool to test KMS and GBM-based EGL & OpenGL ES drawing
>>>
>>
>> Sorry, but the bar for adding recipes to oe-core is higher than a single
>> all-purpose word 'useful'. Useful to whom? What does the tool do? Is it
>> essential for making an embedded system? You really should write a (much)
>> longer commit message, for a start.
>>
>> Alex
>>
>>
> Well it is sort of an equivalent of glxgears for checking whether or not
> GBM-based rendering actually works. We have piglit for testing, eglinfo for
> getting information about the EGL & GLES support, and kmscube also adds a
> visual output to see that rendering actually behaves nicely.
I am also using kmscube to test/debug mesa on our boards. i am also in
favor of having the recipe in oe-core, for the reason stated above.
nico
[-- Attachment #2: Type: text/html, Size: 1629 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2] kmscube: add recipe
2017-04-11 8:26 ` Alexander Kanavin
2017-04-11 8:30 ` Carlos Rafael Giani
@ 2017-04-12 12:14 ` Carlos Rafael Giani
2017-04-12 17:19 ` Alexander Kanavin
2017-05-10 16:06 ` Nicolas Dechesne
1 sibling, 2 replies; 7+ messages in thread
From: Carlos Rafael Giani @ 2017-04-12 12:14 UTC (permalink / raw)
To: openembedded-core
This is a demo application that draws a three-dimensional spinning cube
using EGL on top of KMS, via Mesa's GBM library. A rough counterpart to
glxgears, it is a useful tool for BSP makers to try the 3D rendering
functionality based on EGL and OpenGL ES in a KMS environment, without
having to set up Wayland or X11.
It is also interesting for Yocto-based projects that do not need any
windowing environment and instead render their visual output fullscreen
to KMS directly, since they can use it as a reference.
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
meta/recipes-graphics/kmscube/kmscube_git.bb | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 meta/recipes-graphics/kmscube/kmscube_git.bb
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
new file mode 100644
index 0000000..518c98e
--- /dev/null
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Demo application to showcase 3D graphics using kms and gbm"
+HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/"
+LICENSE = "MIT"
+SECTION = "graphics"
+DEPENDS = "virtual/libgles2 virtual/egl libdrm gstreamer1.0 gstreamer1.0-plugins-base"
+
+LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
+
+SRCREV = "e56980c28766ffb0bf8edee96b529a5b47f97137"
+SRC_URI = "git://anongit.freedesktop.org/mesa/kmscube;branch=master;protocol=git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2] kmscube: add recipe
2017-04-12 12:14 ` [PATCH v2] " Carlos Rafael Giani
@ 2017-04-12 17:19 ` Alexander Kanavin
2017-05-10 16:06 ` Nicolas Dechesne
1 sibling, 0 replies; 7+ messages in thread
From: Alexander Kanavin @ 2017-04-12 17:19 UTC (permalink / raw)
To: openembedded-core
On 04/12/2017 03:14 PM, Carlos Rafael Giani wrote:
> This is a demo application that draws a three-dimensional spinning cube
> using EGL on top of KMS, via Mesa's GBM library. A rough counterpart to
> glxgears, it is a useful tool for BSP makers to try the 3D rendering
> functionality based on EGL and OpenGL ES in a KMS environment, without
> having to set up Wayland or X11.
>
> It is also interesting for Yocto-based projects that do not need any
> windowing environment and instead render their visual output fullscreen
> to KMS directly, since they can use it as a reference.
This is much better, but will have to wait until after 2.3 is out.
Alex
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] kmscube: add recipe
2017-04-12 12:14 ` [PATCH v2] " Carlos Rafael Giani
2017-04-12 17:19 ` Alexander Kanavin
@ 2017-05-10 16:06 ` Nicolas Dechesne
1 sibling, 0 replies; 7+ messages in thread
From: Nicolas Dechesne @ 2017-05-10 16:06 UTC (permalink / raw)
To: Carlos Rafael Giani; +Cc: Patches and discussions about the oe-core layer
hi,
On Wed, Apr 12, 2017 at 2:14 PM, Carlos Rafael Giani
<dv@pseudoterminal.org> wrote:
> This is a demo application that draws a three-dimensional spinning cube
> using EGL on top of KMS, via Mesa's GBM library. A rough counterpart to
> glxgears, it is a useful tool for BSP makers to try the 3D rendering
> functionality based on EGL and OpenGL ES in a KMS environment, without
> having to set up Wayland or X11.
>
> It is also interesting for Yocto-based projects that do not need any
> windowing environment and instead render their visual output fullscreen
> to KMS directly, since they can use it as a reference.
>
>
> Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
> ---
> meta/recipes-graphics/kmscube/kmscube_git.bb | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
> create mode 100644 meta/recipes-graphics/kmscube/kmscube_git.bb
>
> diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
> new file mode 100644
> index 0000000..518c98e
> --- /dev/null
> +++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
> @@ -0,0 +1,14 @@
> +DESCRIPTION = "Demo application to showcase 3D graphics using kms and gbm"
> +HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/"
> +LICENSE = "MIT"
> +SECTION = "graphics"
> +DEPENDS = "virtual/libgles2 virtual/egl libdrm gstreamer1.0 gstreamer1.0-plugins-base"
> +
> +LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
> +
> +SRCREV = "e56980c28766ffb0bf8edee96b529a5b47f97137"
> +SRC_URI = "git://anongit.freedesktop.org/mesa/kmscube;branch=master;protocol=git"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> --
> 2.7.4
FWIW, I tested this recipe on Dragonboard 410c and 820c, with a newer
upstream commit compared to what you have in this version:
-SRCREV = "e56980c28766ffb0bf8edee96b529a5b47f97137"
+SRCREV = "0d8de4ce3a03f36af1817f9b0586d132ad2c5d2e"
it worked fine, including for video mode using Gstreamer and h/w video
codecs (vl42)
thanks for the recipe!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-05-10 16:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-11 7:54 [PATCH] kmscube: add recipe Carlos Rafael Giani
2017-04-11 8:26 ` Alexander Kanavin
2017-04-11 8:30 ` Carlos Rafael Giani
2017-04-11 16:19 ` Nicolas Dechesne
2017-04-12 12:14 ` [PATCH v2] " Carlos Rafael Giani
2017-04-12 17:19 ` Alexander Kanavin
2017-05-10 16:06 ` Nicolas Dechesne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.