summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* Drop unnecessary dependencies and tasksPaul Barker2018-04-201-0/+2
| | | | | | | | | | | | | | 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>
* mesa: enable dri3 explicitlyAndreas Müller2018-04-061-1/+5
| | | | | | | | 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>
* userland: Add wayland support for libbrcmEGLKhem Raj2018-03-081-240/+213
| | | | | | | | | | | | | 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>
* userland: Update to master as of 20180219Khem Raj2018-03-081-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to latest masterJeff Wannamaker2018-02-0217-51/+197
| | | | | | | | | | 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>
* userland: Use commit date as PVPaul Barker2017-12-181-2/+4
| | | | | | | This gives us a package version which can be reliably expected to move forwards not backwards. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* userland: Update to latest revisionKhem Raj2017-11-1516-63/+62
| | | | | | Forward port patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: RPROVIDES is missing libeglFrancesco Giancane2017-10-281-1/+1
| | | | | | | | | | | 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>
* weston: remove rpi-backend configuration switchFrancesco Giancane2017-10-201-2/+0
| | | | | | | | | | | | | | | | | 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>
* xserver-xf86-config: Disable glamor for the modesetting driver on pi64Khem Raj2017-09-202-2/+13
| | | | | | | 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>
* userland: Update to current master HEADAndrei Gherzan2017-09-081-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa2017-07-272-2/+2
| | | | | | | | | * 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>
* weston: use just one append and one bb.utils.containsMartin Jansa2017-07-271-9/+9
| | | | | | | | | * 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>
* userland: Add missing EGL_CAST definesAndrea Galbusera2017-07-142-0/+33
| | | | | | Needed by libepoxy Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* userland: Update to latestKhem Raj2017-05-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa-gl: Enable gbm for rpiKhem Raj2017-05-111-0/+1
| | | | | | | weston needs gbm support which is not in userland Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Add missing GLES2 definesKhem Raj2017-05-112-0/+31
| | | | | | Needed by weston Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglinfo-fb: Mark is userland specificKhem Raj2017-04-171-0/+1
| | | | | | It does not yet compile/work with vc4 open graphics driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latestKhem Raj2017-04-172-7/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Do not provide libglKhem Raj2017-03-111-1/+1
| | | | | | | | | 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>
* xserver-xf86-config: remove evdev configurationAndreas Müller2017-03-112-52/+10
| | | | | | | | | | | | | | | 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>
* userland: Update to latestKhem Raj2017-03-1114-46/+51
| | | | | | Forward port the patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latest and implement triple buffering for waylandKhem Raj2017-02-162-1/+87
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix building on aarch64Khem Raj2016-12-291-1/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to latestKhem Raj2016-12-2914-153/+55
| | | | | | | * Regenerate forward patches * Remove upstreamed ones Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Bump to latest and add ASNEEDED = ""Khem Raj2016-11-082-8/+10
| | | | | | | | | | 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>
* weston: Unify bbappends for weston into single fileKhem Raj2016-11-082-8/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to latest master tipKhem Raj2016-11-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglinfo-x11: align to VC4Andreas Müller2016-10-141-1/+1
| | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* xorg align for vc4Andreas Müller2016-10-141-0/+9
| | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* mesa: align for vc4Andreas Müller2016-10-141-0/+1
| | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* userland: Upgrade to latestKhem Raj2016-10-1314-52/+52
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Fix typo with overrideKhem Raj2016-09-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vc4graphics: Support X11 with the VC4 driver.Carlos Alberto Lopez Perez2016-09-211-2/+0
| | | | | | | | | | * 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>
* firmware, userland: Bump to latestKhem Raj2016-09-2114-50/+57
| | | | | | | | firmware -> 20160726 userland -> 20160728 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa_%.bbappend: new file to add the correct configuration options to ↵Herve Jourdain2016-09-211-0/+4
| | | | | | support vc4graphics Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* weston/weston_%.bbappend: modify configuration options to support vc4graphicsHerve Jourdain2016-09-211-6/+7
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* wayland/weston_%.bbappend: modify configuration options to support vc4graphicsHerve Jourdain2016-09-211-4/+2
| | | | Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
* userland: Add bash to RDEPENDSScott Ellis2016-08-291-0/+2
| | | | | | | | WARNING: userland-git-r5 do_package_qa: QA Issue: /usr/bin/dtoverlay-post contained in package userland requires /bin/bash, but no providers found in RDEPENDS_userland? [file-rdeps] Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
* userland: Upgrade to latest tipKhem Raj2016-07-0815-169/+66
| | | | | | Drop upstream applied patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Update to tip of treeKhem Raj2016-05-192-31/+3
| | | | | | | Drop the patch which is upstreamed slightly differently use VMCS_INSTALL_PREFIX to /usr via EXTRA_OECMAKE Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix passing of wayland-native to cmake while configuringTom Doehring2016-04-201-1/+1
| | | | | | | | | | | | | | | | | | | While having 'wayland' set DISTRO_FEATURES 'wayland-native' is handled as a cmake parameter which breaks the do_configure: $ cat /data/builds/rpi3-sandbox/tmp/work/raspberrypi2-poky-linux-gnueab i/userland/git-r5/temp/run.do_configure cmake \ ${OECMAKE_SITEFILE} \ [...] -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' wayland-native \ -Wno-dev $ CMake Error: The source directory "/data/builds/rpi3-sandbox/tmp/work/raspberrypi2-poky-linux-gnueabi/userland/git-r5/build/wayland-native" does not exist. | Specify --help for usage, or press the help button on the CMake GUI. Assuming that wayland-native should only be defined as a DEPENDS package this patch moves it to the correct PACKAGECONFIG position. Signed-off-by: Tom Doehring <toolmmy@gmail.com> Signed-off-by: toolmmy <toolmmy@gmail.com>
* userland: Make vchostif as shared libraryKhem Raj2016-04-132-0/+29
| | | | | | | This helps in using this library when building with PIE binaries Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix a build regression in builds not using waylandKhem Raj2016-04-133-55/+12
| | | | | | Update userland to latest Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: In case of wayland configuration build needs wayland-nativeAndrei Gherzan2016-04-131-1/+1
| | | | | | | | | | | Building wayland support requires availability of wayland-scanner to avoid build errors like: | /bin/sh: | /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner: | No such file or directory Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* pitft: Add support for pitft28rPetter Mabäcker2016-04-133-2/+10
| | | | | | | | | | | The support for PiTFT 28 inch resistive touchscreen is optional and can be enabled by adding below in local.conf: MACHINE_FEATURES += "pitft pitft28r" While at it also fix a minor typo in README. Signed-off-by: Petter Mabäcker <petter@technux.se>
* userland: Fix tearing effect seen with wayland compositorsKhem Raj2016-04-011-7/+39
| | | | | | Introduce EGL flush in few more places Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Implement dispmanx_wrap_bufferKhem Raj2016-03-282-0/+81
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latestKhem Raj2016-03-2815-52/+124
| | | | | | | Regenerate patches on top of given SRCREV Add return code errors fix to get it working with clang. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglinfo-x11: Disable --as-neededKhem Raj2016-03-281-0/+1
| | | | | | | | | | --as-needed exposes a dependency problem where libegl needs some symbols from libgles2 but the order that waf uses on linker cmdline for these libs is reversed so we end up with link time failures e.g. libEGL.so: undefined reference to `glxx_client_GetRenderbufferParameteriv' Signed-off-by: Khem Raj <raj.khem@gmail.com>