Since kmscube commit d874c7811854 ("add license file"), the COPYING file
has been introduced for holding the licensing information for the
project.
Make LIC_FILES_CHKSUM point to the COPYING file to make the licensing
text information more explicit instead of extracting it from the
kmscube.c file.
License-Update: Point to the dedicated COPYING file.
(From OE-Core rev: 6615fa4428166a6f50c1350574bb760009cb957e)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to the latest revision and remove the patch because the
original problem has already been fixed upstream by kmscube
commit 311eaaaa473d ("kmscube: gears: use only GLES2").
(From OE-Core rev: 3348b02f72bf7cf62f73cce74caffe2c51d43b1a)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since kmscube commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube
fails to build on platforms without <GL/gl.h>.
Fix it by changing the header file to <GLES3/gl3.h>.
Reported-by: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: f44f79298fc909aea9fcc8ebc848a96e9ff5a647)
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer kmscube added support for offscreen rendering, using render nodes.
Bump up SRCREV to get this feature supported in oe-core.
(From OE-Core rev: 4e3dcd850d6ec9ba778c891e30827ed819fa3b6b)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-drm-common.c-do-not-use-invalid-modifier.patch
0001-texturator-Use-correct-GL-extension-header.patch
removed since they're included in new version.
(From OE-Core rev: fa48b8e76eca15f005fd1ac2f8432eb61c070610)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>