aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa
AgeCommit message (Collapse)Author
2023-03-07mesa-demos: enable build with userland graphics drivers.Carlos Alberto Lopez Perez
* mesa-demos can be built fine if both gles1 and egl options are disabled. This allows to have utilities like glxinfo or glxgears Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
2021-12-03mesa: Enable building vulkan driverJoel Winarske
Support to enable building Mesa Broadcom v3d Vulkan Driver Upstream support Merged in master 2021-11-07 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ddcaf3596227a32628b436f4130f4c0b1541a4be Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
2021-08-04Convert to new override syntaxMartin Jansa
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-04-03mesa-gl: Use GALLIUMDRIVERS instead of DRIDRIVERS for passing swrastKhem Raj
latest mesa errors out ../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau" Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-04libglu: Fix build with userland graphicsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-02mesa-gl: Enable swrast dri backend for rpi/userlandKhem Raj
After mesa switched build system to meson, the logic to generate dri related artifacts changed too, which means when no dri backend is enabled then dri drivers and corresponding headers dont get generated and hence we end up with missing pkgconfig files e.g. dri.pc which usually will come from full mesa3d package, but in rpi when userland is used we only build GL pieces of mesa. This patch therefore enables swrast dri backend when using userland, which gives us the needed header and .pc files to build packages like Xorg server, since EGL driver will come from userland, the dri backend would be unused and hence should not be effective at runtime. Addresses issue report with https://github.com/agherzan/meta-raspberrypi/pull/773 there is no need to check for graphics stack since mesa-gl is only used with userland graphics Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Trevor Woerner <twoerner@gmail.com>
2020-09-17Revert "mesa: querying dma_buf modifiers for specific formats"Luis Alfredo da Silva
This reverts commit 84cb8538cd22586fc82daba38458909cedfec2db. Fixes: - https://gitlab.gnome.org/GNOME/mutter/-/issues/1421 - #711
2020-03-12mesa: Fix patch fuzzKhem Raj
Fixes ERROR: mesa-2_20.0.1-r0 do_patch: Fuzz detected: Applying patch 0001-dri2-query-dma-buf-modifiers.patch patching file src/gallium/state_trackers/dri/dri2.c Hunk #1 succeeded at 1366 with fuzz 1 (offset -2 lines). Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10mesa: querying dma_buf modifiers for specific formatsrkhan467
mesa wl_drm protocol is the backend for wayland server side which requires the dmabuf modifiers for some DRM formats on specific devices like RPI. Currently there is no support of giving any dmabuf modifiers on wl_drm protocol. This dma_buf modifiers allows EGL implementations to add extra attributes to drm_fourcc format. Upstream-Status: Pending Signed-off-by: Balaji Velmurugan <balaji.velmurugan@ltts.com>
2019-08-28mesa: Enable vc4, v3d, kmsro gallium driversKhem Raj
This enables new v3d driver which needs kmsro as dependency Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-15mesa: Add v3d and kmsro driver as wellAndrei Gherzan
Videocore 5/6 support was added as a separate driver in mesa: v3d. Enable this so we can have it available for Raspberry Pi 4. Also, this driver depends on kmsro. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-03-05mesa-gl: Delete only KHR/khrplatform.hKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24mesa-gl: Provide virtual/libgbmKhem Raj
We specificially enable building libgbm via packageconfig but then the PROVIDES is hardcoded in main recipes, we make that change here so when using userland as graphics driver, we can build wayland apps Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24mesa-gl: Let userland provide libEGL and GLESv2 when vc4 graphics is not usedKhem Raj
When vc4graphics is not used then useland graphics provides these libraries Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-02mesa: Build swrast gallium driver along with vc4Khem Raj
when running -ctestimage target, it fails because of errors it finds in Xorg logs | Log: /mnt/a/yoe/build/tmp/work/raspberrypi3-yoe-linux-gnueabi/core-image-sato/1.0-r0/target_logs/Xorg.0.log | ----------------------- | Central error: [ 14.760] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory) Therefore we enable swrast gallium drivers to make xorg happy Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-16mesa-demos,piglit,packagegroup-core-tools-testapps: Remove dependency on ↵Khem Raj
mesa-demos mesa-demos demand libgles1 and userland driver does not have it, therefore make it conditional on choice of graphics driver, remove it when using userland driver and keep it when using vc4 graphics driver. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-04-06mesa: enable dri3 explicitlyAndreas Müller
Currently oe-core enables dri3 only for x11 AND vulcan. Although patch enabling dri3 by default in oe-core was sent out, make sure here dri3 is enabled - whatever oe-core suggest in the future. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2017-05-11mesa-gl: Enable gbm for rpiKhem Raj
weston needs gbm support which is not in userland Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-14mesa: align for vc4Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-09-21vc4graphics: Support X11 with the VC4 driver.Carlos Alberto Lopez Perez
* We need to use the X11 modesetting driver with VC4. * We need to build at least the mesa swrast DRI driver. (its already the default so don't overwrite it to empty) Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21mesa_%.bbappend: new file to add the correct configuration options to ↵Herve Jourdain
support vc4graphics Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2014-02-25mesa: Replace ugly fix for gles/eglAndrei Gherzan
Use instead, the special created recipe mesa-gl which provides on libgl. Change-Id: I5ed3c50a0a794f8ea63cc1906f0139ec47459fa6 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-02-21mesa: rename .bbappend to match new version from oe-coreJonathan Liu
Change-Id: Ie3c7bc3e70bfd46cea64ef813c3875d1ba8d07fc Signed-off-by: Jonathan Liu <net147@gmail.com>
2013-11-12mesa: Remove egl and gles only for raspberrypi machineAndrei Gherzan
Change-Id: I25fab6e100546cfffdd901383f76de76cd7763ed Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-11-11mesa: Modify version to match the one from oe-coreAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-08-21mesa: Use libgl from mesa for raspberrypiAndrei Gherzan
The graphics libraries provided by userland does not include libgl. So compile mesa with libgl support and remove gles and egl from it as these are provided by userland. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>