summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2017-04-12 14:14:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-25 23:59:32 +0100
commitb8836853a00f35cfdec9d85744ae02e1182c5b1c (patch)
treee3ae15fb5797e2883d13a68214330bc4828fe75c /meta/recipes-graphics
parenta3039415bbd2eab2ff2cd146bab4e5e746d59817 (diff)
downloadpoky-b8836853a00f35cfdec9d85744ae02e1182c5b1c.tar.gz
kmscube: add recipe
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. (From OE-Core rev: 399c0fdbaacf660750f874e5190dd9955ad9bb58) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/kmscube/kmscube_git.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb b/meta/recipes-graphics/kmscube/kmscube_git.bb
new file mode 100644
index 0000000000..518c98e123
--- /dev/null
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "Demo application to showcase 3D graphics using kms and gbm"
2HOMEPAGE = "https://cgit.freedesktop.org/mesa/kmscube/"
3LICENSE = "MIT"
4SECTION = "graphics"
5DEPENDS = "virtual/libgles2 virtual/egl libdrm gstreamer1.0 gstreamer1.0-plugins-base"
6
7LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
8
9SRCREV = "e56980c28766ffb0bf8edee96b529a5b47f97137"
10SRC_URI = "git://anongit.freedesktop.org/mesa/kmscube;branch=master;protocol=git"
11
12S = "${WORKDIR}/git"
13
14inherit autotools pkgconfig