summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/virglrenderer
Commit message (Collapse)AuthorAgeFilesLines
* virglrenderer: Add patch to fix -int-conversion build issuePurushottam Choudhary2024-11-262-0/+42
| | | | | | | | | | | | | Fix int conversion related error during compilation as some of the platforms where EGLNativeDisplayType is an int instead of a pointer with GCC-14. (From OE-Core rev: c1992859ad2284170e66769d59b342a58fa05700) Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f71f4936a273262343e34f278e6cfcc1e419aea3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* virglrenderer: upgrade 1.0.0 -> 1.0.1Wang Mingyu2024-01-193-61/+4
| | | | | | | | | | | | | | 0001-meson.build-use-python3-directly-for-python.patch refreshed for 1.0.1 0001-vtest-Fix-undefined-behavior-with-clang.patch removed since it's included in 1.0.1 (From OE-Core rev: 05b58180d3c8145e43c16e30901206933b26033c) 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>
* virglrenderer: Fix build with clangKhem Raj2023-12-022-0/+57
| | | | | | | | | | | Fix warnigns seen with -Wembedded-directive -D_FORTIFY_SOURCE=2 (From OE-Core rev: 6e698bac55f785e84f52161cfab8fe6e764940cc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: upgrade 0.10.4 -> 1.0.0Alexander Kanavin2023-11-302-9/+9
| | | | | | | | | | venus (virtual vulkan support) is no longer experimental. (From OE-Core rev: 21ca5d6babc3d668044296b0fbbc3e101f7ce5bd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: upgrade 0.10.3 -> 0.10.4Wang Mingyu2023-01-122-47/+1
| | | | | | | | | | | 0001-Replace-lseek64-with-lseek.patch removed since it's included in 0.10.4 (From OE-Core rev: 9150a20880c08a32b71a1307cb55829a8f35f4c1) 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>
* virglrenderer: Replace lseek64 with lseekKhem Raj2022-12-222-0/+46
| | | | | | | | | | Fix build with musl (From OE-Core rev: 677e979255ea84933a9e91d993171b207ff3deb6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: use https for fetching from gitlabAlexander Kanavin2022-09-281-1/+1
| | | | | | | | | | git:// does not respond. (From OE-Core rev: ffddeb8e0cbbb13fa06e4273ac0522f1b21600e7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: upgrade 0.9.1 -> 0.10.3Markus Volk2022-09-225-254/+39
| | | | | | | (From OE-Core rev: 6e277bc261fec36bd264246e2b5fbccd6570b520) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: update SRC_URIMinjae Kim2022-03-241-1/+1
| | | | | | | | | | | The git repo for virglrenderer was changed, so update the SRC_URI accordingly with the new link. (From OE-Core rev: 284ffefcb7731dfd317d535d3b1e363751aead01) Signed-off-by:Minjae Kim <flowergom@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: Depend on virtual/eglKhem Raj2022-03-081-1/+1
| | | | | | | | | | depending on EGL means it does not have to worry if implementation provides GL/GLES/OpenVG interfaces or not. (From OE-Core rev: e3d3867d677a08b718e347e4d10a986cdd216493) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: fix CVE-2022-0135 and -0175Joe Slater2022-02-123-0/+226
| | | | | | | | | | | | | CVE-2022-0135 concerns out-of-bounds writes in read_transfer_data(). CVE-2022-0175 concerns using malloc() instead of calloc(). We "cherry-pick" from upstream. The actual cherry-picks are from upstream master to branch-0.9.1 and are the patches entered here. (From OE-Core rev: 91f7511df79c5c1f93add9f2827a5a266453614e) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: explicitly depend on libgbmAlexander Kanavin2021-06-061-1/+1
| | | | | | | | | | | | virtual/gl may not necessarily be mesa, and virgl needs specifically the gbm part of mesa. There's also hope nvidia will support gbm somehow, someday. (From OE-Core rev: fd807dfa2ec25111dd359ec87d197020e747cf0d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: update 0.8.2 -> 0.9.1Alexander Kanavin2021-05-092-39/+2
| | | | | | | | | | Drop 0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch, issue fixed upstream. (From OE-Core rev: ad968bc3d3ec5ae6862cdbe46608a99f561046fd) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Use virtual/libgl instead of mesaChandana kalluri2020-08-131-1/+1
| | | | | | | | | | Use virtual/libgl instead of mesa within the recipes to provide users the flexibility to specify providers other than mesa. (From OE-Core rev: ddbe09b0f9861fe3012611b5a5298eb4d7c4df45) Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from targetAlexander Kanavin2020-05-271-2/+0
| | | | | | | | | | | | | | | | This will allow better control over native virgl/qemu configurations. Adjust gtk+3/cairo native configurations to actually ignore opengl when building for -native: we do not need it, and it would cause build failures as only a limited subset of mesa-native is currently built. Drop native/nativesdk overrides from virglrenderer/libepoxy recipes as opengl feature is now correctly set for those variants. (From OE-Core rev: 0e1f8fa0535dab63742f575b52ec9fa891368ca2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: upgrade 0.8.1 -> 0.8.2Alexander Kanavin2020-02-211-1/+1
| | | | | | | (From OE-Core rev: c524e9372939c0915f150079e786bbfe613f58a1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: update to 0.8.1Alexander Kanavin2020-01-102-2/+30
| | | | | | | | | | Switch over to meson build system, add a patch to avoid target python3 dependency. (From OE-Core rev: b8fa017de9b9e5f1057a14b9b13ac0401b94969e) 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>
* meta: add missing description for some recipes in graphicsMaxime Roussin-Bélanger2019-11-111-0/+4
| | | | | | | (From OE-Core rev: b025b433c6e7d9d7f5d09ae15e89fa038fb0d91f) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: update 0.7.0 -> 0.8.0Alexander Kanavin2019-09-013-72/+1
| | | | | | | | | This also allows building virglrenderer without python 2.x (From OE-Core rev: ac1eab26a422136ab12733856de61ce46ca1cdea) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrender: Fix endianness check on muslKhem Raj2019-08-072-0/+37
| | | | | | | | | | Seen to fail on musl/mips, this fixes the check to be linux specific which means it can detect the endianness for musl correctly (From OE-Core rev: c9559685ebcfb0303fc072c99b3d518427fc5a82) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: requires distro feature openglKai Kang2019-03-181-1/+4
| | | | | | | | | | | | | | virglrenderer depends on 2 packages: * mesa: requires one of distro features opengl or vulkan * libepoxy: requires distro feature opengl So make virglrenderer requires distro feature opengl. Otherwise it fails to build world if 'opengl' doesn't exist in DISTRO_FEATURES. (From OE-Core rev: 63c98d10231271135013e04749ac351247bd6546) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* virglrenderer: add a recipeAlexander Kanavin2019-02-253-0/+88
This component enables hardware-accelerated GL inside QEMU guests. For more information, see here: https://lwn.net/Articles/767970/ https://www.collabora.com/news-and-blog/blog/2018/02/12/virtualizing-gpu-access/ https://www.collabora.com/news-and-blog/blog/2018/05/09/gpu-virtualization-update/ (From OE-Core rev: 27d54985e4581904d7c4e0b849e88ffa69209827) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>