summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/kmscube
Commit message (Collapse)AuthorAgeFilesLines
* kmscube: Fix build when x11 is absent in distro featuresKhem Raj2022-03-071-0/+3
| | | | | | | | | | distros might use openGL but not x11 ( e.g. EGL ), therefore fix build for such combination (From OE-Core rev: 2b3ee9ac02ebeaee20be3460010005a4697ab402) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: depend on virtual/libgbmMarkus Niebel2022-01-261-0/+1
| | | | | | | | | | | when using vendor supplied OpenGL stacks no virtual/libgbm may be provided. An example for this is the Vivante stack for i.MX6. To get better error message in such cases, add dependency. (From OE-Core rev: 739b3af0bf1422cdabd13ccac8fbcc60b37d2fa4) Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: add build dependency on virtual/libgles3Quentin Schulz2021-12-141-1/+1
| | | | | | | | | | | | | texturator requires GLES 3 headers and libs so let's explicit this dependency. This was not detected until now because mesa, the default provider, actually provides both Open GLES 2 and 3 compliant implementations. Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: a8bac1006d87d0a702630607f6c46d2f4926776e) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: fix build on OpenGL ES 3 dependencies not providing GLES3/gl3ext.hQuentin Schulz2021-12-142-0/+34
| | | | | | | | | | | | | | | | | | | According to Khronos documentation[1], gl2ext.h can be used for OpenGL ES 3. Some vendor implementation of OpenGL ES 3, such as Rockchip's libmali[2], do not have a gl3ext.h but only a gl2ext.h while being OpenGL ES 3 compliant. This fixes the header files to be included from gl3ext.h to gl2ext.h to be compatible with (hopefully) all OpenGL ES 3 implementations. [1] https://www.khronos.org/registry/OpenGL/index_es.php#headers [2] https://github.com/rockchip-linux/libmali Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: b7b6284fbc08452c7ed9ea9180003f043a624ae7) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.Meh Mbeh Ida Delphine2021-03-021-1/+5
| | | | | | | | | Fixes: [YOCTO #13471] (From OE-Core rev: 24eac1fef8892484cc3dede1853d180e0c235120) Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: upgrade to latest revisionAnuj Mittal2021-02-191-1/+1
| | | | | | | (From OE-Core rev: 043ff0562695b9f2d450528ed71b988d1b4aa195) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: upgrade to latest revisionAlexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: 27fb1996a45a359f2cc0e8f4b43980c9c1b1c1f1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: update to latest commitAlexander Kanavin2020-05-032-120/+2
| | | | | | | | | | Drop a mali-specific patch that was never ported to meson or accepted upstream. (From OE-Core rev: a4c04903be056ec289e67a3319e9941cb506d3fa) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: upgrade to latest revisionAlexander Kanavin2020-02-031-1/+1
| | | | | | | (From OE-Core rev: 17eee4095da69a4d19e28031fd4f67ba67c54cbd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, ↵Denys Dmytriyenko2019-11-211-1/+1
| | | | | | | | | | | | | | | | rename Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. (From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: Bump revision to f632b23Otavio Salvador2019-08-211-1/+1
| | | | | | | | | | | | This includes following changes: f632b23 drm: Find a proper modeset device, is none is provided (From OE-Core rev: 8b77262bdaa8cf825133171f898cc20e89909df7) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: update to latest revisionZoltan Kuscsik2019-07-312-14/+15
| | | | | | | | | Switch to gitlab URL, since previos location is now a mirror (From OE-Core rev: 58fde43ae6ba2ff89a9c5209b1abf378681ee186) Signed-off-by: Zoltan Kuscsik <zoltan.kuscsik@solution57.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: update to latest revisionOleksandr Kravchuk2019-05-081-1/+1
| | | | | | | (From OE-Core rev: 2479031b9188660b4fe825712eafd3408088dd80) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: make gstreamer dependency optionalAlexander Kanavin2019-01-261-1/+4
| | | | | | | | | This in particular saves build times for virgl oe-selftest. (From OE-Core rev: 7f1f3b45329ea3f43d0ede003e8daa9866bf9f6e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: update to latest commit, switch over to mesonAlexander Kanavin2019-01-261-2/+2
| | | | | | | (From OE-Core rev: f83d5c7b8a0b2fe293826edf56375382c16996ff) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: Update to master from 2018-06-17Daniel Díaz2018-06-292-6/+6
| | | | | | | | | | | | | | | | | | Changes from 0d8de4ce: c2d4ba8 drm-legacy: fix poll for flip event, actually exit on user input 56c3917 formats: use weston's egl config matching logic, centralize format aac3788 Rework default modifier handling 4f7cec0 Use weak functions to handle lack of gbm modifiers 98f31bf cube-tex: make use of modifiers 063ce5c gbm: fix fallback for drivers that don't support modifiers 9dcce71 add MSAA Also refresh gbm_bo_map/_unmap patch. (From OE-Core rev: 4cc150f31f84d1cbc82df7d7f8fe045a06a9859e) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: Add patch for missing GBM functionDaniel Díaz2018-03-062-1/+118
| | | | | | | | | | | | | Some implementations of GBM, like the one included with libMali, do not have gbm_bo_map() nor gbm_bo_unmap(). This patch enables kmscube to work with those implementations even if it doesn't work as great. (From OE-Core rev: 54615151da5e8c77c803947ce5760d06c1691c58) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-core: take UPSTREAM_CHECK_COMMITS into use where possibleAlexander Kanavin2017-11-301-1/+1
| | | | | | | | | | | This greatly reduces the amount of recipes for which upstream version check fails: from about 30 to about 8. (From OE-Core rev: bb9066670a6096aa4134bebc84132b4eb3964b6d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest: fix distrodata.py to use per-recipe UPSTREAM_VERSION_UNKNOWN settingAlexander Kanavin2017-08-161-0/+1
| | | | | | | | | | | ... instead of a global exception list which was problematic. [YOCTO #11896] (From OE-Core rev: 89dfede4ca795ba085f1ee7290c6dede573c11db) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: add opengl to REQUIRED_DISTRO_FEATURESJackie Huang2017-06-061-1/+3
| | | | | | | | | | | kmscube depends on virtual/libgles2, virtual/egl (provided by mesa) and gstreamer1.0 which require opengl in DISTRO_FEATURES. (From OE-Core rev: ae78eac950e209da430ca0d258656f616a2ef9d2) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: upgrade versionNicolas Dechesne2017-05-301-1/+1
| | | | | | | | | | Upgrade to a more recent kmscube commit from git. Tested on DB410c and DB820c with s/w and h/w codecs (v4l2). (From OE-Core rev: 71c109f19ff90f300e2c370d263d28bda0965070) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmscube: add recipeCarlos Rafael Giani2017-05-251-0/+14
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>