aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2019-03-05cairo: Enable egl/gles2 with userlandKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24userland: Upgrade to latest as of 20190114Khem Raj
Forward port the patches package vcfiled init scripts 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-12-18userland: Use original name libegl-mesa in rdepsKhem Raj
This avoids a missing rdep errors seen sometimes when switching compilers or graphic driver providers ERROR: userland-20181120-r0 do_package_qa: QA Issue: /usr/lib/libWFC.so contained in package userland requires li bEGL.so.1, but no providers found in RDEPENDS_userland? [file-rdeps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18userland: do not provide libgl1Ming Liu
The userland should only provide egl libraries rather than gl libraries, or else it will cause conflicts with other libgl providers like mesa. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2018-12-01userland: rprovide debiannamed librariesKhem Raj
These names are mapped to mesa equivalent rproviders when using vc4 rdep should be on libegl1 which is then mapped to libegl-mesa since thats what provides libegl1 when using mesa. The libegl is not a global name for this library Fixes ERROR: userland-20181120-r0 do_package_qa: QA Issue: /usr/lib/libWFC.so contained in package userland requires libEGL.so.1, but no providers found in RDEPENDS_userland? [file-rdeps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-21userland: Update to latest masterKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-21userland: Merge userland-nogl into userland itselfKhem Raj
Control the installs via MACHINE_FEATURES and avoid almost duplicate recipe Adjust other recipes to depend on userland now Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-07userland-nogl: Add recipe which does not include GL librariesKhem Raj
This is needed when mesa is providing these libraries especially when using vc4graphics Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-02xorg-server: Do not install 10-noglamor.confKhem Raj
This causes glamor APIs to be disabled and glxgears run very slow like 1FPS, without this it speeds up to 55.5fps 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-08-16piglit,kmscube: Disable when using userland graphics driverKhem Raj
These packages need stuff from mesa which is not available in userland implementation as of now Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-16userland: Define missing GLES2 defines needed for westonKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-16Revert "userland: drop now obsolete backport khronos typedef patch"Khem Raj
This reverts commit e713c3f60d74fbb864122f8f11a80ca302d53da3.
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-07-07userland: Update to latest as of 20180702Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-04userland: drop now obsolete backport khronos typedef patchHugo Hromic
The patch introduced in 237e0c7 is now fixed upstream in gstreamer-base-1.14.1, hence drop it. See: <https://github.com/GStreamer/gst-plugins-base/commit/2f3ff84f4082097a36732a91734121fb209efb84> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-06-27meta-raspberrypi: use `_%` suffix instead of specific versions for bbappendsHugo Hromic
Keep naming consistency and ensure they are still applied when the upstream recipes are updated. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-06-27userland: fix backport khronos typedef patchHugo Hromic
The patch in 237e0c7 used a define guard that clashes with an actual feature of Khronos (EGL_KHR_stream). This makes some packages such as `qtbase` to think that the outdated Krhonos in userland has newer features. This fix uses a more specific name for the relevant define guard (EGL_KHR_uint64_typedef). Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-05-16wayland: only remove libwayland-egl if not using vc4graphics, e.g. when ↵Hugo Hromic
using userland Related to PR #247. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-05-14userland: bumped version and backport khronos typedef for ↵Hugo Hromic
EGL_EXT_image_dma_buf_import The `gstreamer1.0-plugins-base` package version `1.14` uses `EGL_EXT_image_dma_buf_import`, which expects the `EGLuint64KHR` typedef that is present in recent versions of Khronos. However, the older version included in userland does not provide it. This patch backports the missing typedef from recent Khronos into userland. See: <https://www.khronos.org/registry/EGL/api/EGL/eglext.h> Submitted to userland in <https://github.com/raspberrypi/userland/pull/467> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-05-14wayland: do not install libwayland-egl from waylandHugo Hromic
Wayland was updated recently in Poky, and now includes `libwayland-egl`: commit 8097bf7012a0d97d3b8b48eceb5dc20cc4ae7ca9 Author: Denys Dmytriyenko <denys@ti.com> Date: Tue Apr 10 15:06:09 2018 -0400 wayland: upgrade to 1.15.0 Official announcement: https://lists.freedesktop.org/archives/wayland-devel/2018-April/037767.html | libwayland-egl is now part of libwayland, and will presumably be removed | from mesa in the not too distant future. Update mesa recipe by removing corresponding libwayland-egl entries. (From OE-Core rev: 6e5952fcfc13ff4b63c9376bd41a1dbba957f425) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> However, the `userland` ships its own version of the library (see issue #243). Until further testing, for now discard the version in `wayland` in favour of the version in `userland`. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-05-04xserver-xf86-config: Disable glamor for vc4 in generalKhem Raj
We need this fix across 32bit and 64bit with vc4/mesa Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-04-23Drop unnecessary dependencies and tasksPaul Barker
We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.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>
2018-03-08userland: Add wayland support for libbrcmEGLKhem Raj
These renames are recently added https://github.com/raspberrypi/userland/commit/dd98890106c3c6145f640c4cfb825be937282a93 Some packages e.g. libSDL2 has started using the new names and are resulting in undefined symbols e.g. | /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/libsdl2-mixer/2.0.2-r0/recipe-sysroot/usr/lib/libb rcmEGL.so: undefined reference to `wl_resource_post_error' Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-08userland: Update to master as of 20180219Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-02-02userland: Update to latest masterJeff Wannamaker
Add patch to allow multiple wayland clients per process userland has limit of one wayland client per process and thereby allow compositors to launch multiple wayland client apps Signed-off-by: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-12-18userland: Use commit date as PVPaul Barker
This gives us a package version which can be reliably expected to move forwards not backwards. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2017-11-15userland: Update to latest revisionKhem Raj
Forward port patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-10-28userland: RPROVIDES is missing libeglFrancesco Giancane
userland package is the Raspberry Pi provider for the openGL stack. If selected, it shall provide the gles2 and egl stacks in conjunction with mesa-gl. libegl was missing in the RPROVIDES variable, thus some run-time dependencies were not met when using userland as provider. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
2017-10-20weston: remove rpi-backend configuration switchFrancesco Giancane
rpi-backend.so was an attempt to create a specialized weston backend to be used on raspberry pi like platforms. At the moment, this backend's support has been dropped in favor of using the standard drm backend, as the vc4 driver is now mainline in mesa and in kernel (for kernel support). As a result, weston on raspberry pi does not require the rpi-backend.so anymore, nor it is buildable (weston's configure complains about unrecognized configuration switch). This patch enables weston to natively run on the DRM backend. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
2017-09-20xserver-xf86-config: Disable glamor for the modesetting driver on pi64Khem Raj
Fixes a xorg server crash with musl see details https://github.com/voidlinux/void-packages/issues/6091 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-08userland: Update to current master HEADAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-07-27recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa
* bitbake is using re.match, so raspberrypi actually matches with anything ^raspberrypi.* which currently works, but it will also match with hypothetical raspberrypi-is-no-more-this-is-banana-now MACHINE which isn't intended by this COMPATIBLE_MACHINE. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-27weston: use just one append and one bb.utils.containsMartin Jansa
* drop duplicated --enable-rpi-compositor and WESTON_NATIVE_BACKEND=rpi-backend.so * use rpi override, adding --enable-rpi-compositor unconditionally breaks other MACHINEs with: configure: WARNING: unrecognized options: --enable-rpi-compositor * use just one append and one bb.utils.contains to save some bitbake cycles while parsing Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-14userland: Add missing EGL_CAST definesAndrea Galbusera
Needed by libepoxy Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2017-05-24userland: Update to latestKhem Raj
Signed-off-by: Khem Raj <raj.khem@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>
2017-05-11userland: Add missing GLES2 definesKhem Raj
Needed by weston Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17eglinfo-fb: Mark is userland specificKhem Raj
It does not yet compile/work with vc4 open graphics driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17userland: Upgrade to latestKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11userland: Do not provide libglKhem Raj
libgl is actually provided by mesa-gl and this casued unneeded conflict between these two packages resulting in sato image reporting missing libGL.so.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-11xserver-xf86-config: remove evdev configurationAndreas Müller
xorg-xserver recommends xf86-input-libinput since oe-core's commit | commit 2d005faff6341a81a2afae28860101ba9db51ae8 | Author: Jussi Kukkonen <jussi.kukkonen@intel.com> | Date: Wed Oct 26 11:37:38 2016 +0300 | | conf: Use xf86-input-libinput by default | ... As nice side effect warnings for missing evdev in Xorg.0.log are gone. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2017-03-11userland: Update to latestKhem Raj
Forward port the patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-02-16userland: Upgrade to latest and implement triple buffering for waylandKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-12-29userland: Fix building on aarch64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-12-29userland: Update to latestKhem Raj
* Regenerate forward patches * Remove upstreamed ones Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-08userland: Bump to latest and add ASNEEDED = ""Khem Raj
ASNEEDED does not work with userland libraries as noted in see https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html Helps with running kodi using gles2 Signed-off-by: Khem Raj <raj.khem@gmail.com>