summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/userland
Commit message (Collapse)AuthorAgeFilesLines
* userland: Define missing GLES2 defines needed for westonKhem Raj2018-07-163-6/+47
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "userland: drop now obsolete backport khronos typedef patch"Khem Raj2018-07-162-0/+36
| | | | This reverts commit e713c3f60d74fbb864122f8f11a80ca302d53da3.
* userland: Update to latest as of 20180702Khem Raj2018-07-071-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: drop now obsolete backport khronos typedef patchHugo Hromic2018-07-042-36/+0
| | | | | | | | 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>
* userland: fix backport khronos typedef patchHugo Hromic2018-06-271-3/+3
| | | | | | | | 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>
* userland: bumped version and backport khronos typedef for ↵Hugo Hromic2018-05-142-2/+38
| | | | | | | | | | | | | | | 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>
* 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>
* 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-271-1/+1
| | | | | | | | | * 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>
* 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>
* userland: Add missing GLES2 definesKhem Raj2017-05-112-0/+31
| | | | | | Needed by weston 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>
* 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>
* userland: Update to latest master tipKhem Raj2016-11-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latestKhem Raj2016-10-1314-52/+52
| | | | 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>
* 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>
* 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>
* userland: Drop extern inline patchesKhem Raj2016-03-103-131/+0
| | | | | | Not needed since the issues have been fixed differently upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latestKhem Raj2016-03-1019-331/+155
| | | | | | Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix build race with wayland supportKhem Raj2016-03-102-0/+79
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Add wayland to deps if in DISTRO_FEATURESKhem Raj2016-03-101-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Define PROJECT_APIVER and rprovide libgles2 libglKhem Raj2016-03-102-0/+36
| | | | | | | | | | | These are needed for pkgconfig to have correct version number which is checked by many configure systems e.g. cogl to decide on support for wayland-egl rprovides are expected by cogl as well to define runtime deps on libgles2 and libgl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Delete rpc flushing of thread in glEGLImageTargetTexture2DOESKhem Raj2016-03-102-0/+28
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Add wayland supportKhem Raj2016-03-108-1/+3093
| | | | | | | | backport and fix needed patches for supporting wayland-egl use PACKAGECONFIG for wayland so we can add proper DEPENDS on wayland Fix QA warnings about dev-so Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix build with clang compilerKhem Raj2016-03-104-2/+298
| | | | | | ends up with some warning cleanups and extern inline semantics changes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latest git masterKhem Raj2016-03-108-83/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop upstreamed patches 0002-fix-musl-build.patch was partially upstreamed git'ify the remaining patches Change license field to BSD 3 clause, since thats what the licence it with BCM and RPI Copyrights Licence changed from Broadcom to Raspberry Pi Ltd see commit 0863709b9fb90ee1204b7fe52f69535830d3c111 Author: popcornmix <popcornmix@gmail.com> Date: Mon Feb 1 21:07:02 2016 +0000 Update copyright diff --git a/LICENCE b/LICENCE index 2582681..dea4c26 100644 --- a/LICENCE +++ b/LICENCE @@ -1,4 +1,5 @@ Copyright (c) 2012, Broadcom Europe Ltd +Copyright (c) 2015, Raspberry Pi (Trading) Ltd All rights reserved. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Adjust include location for pthreads-headersKhem Raj2015-10-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vcos headers include headers like "vcos_platform.h" "vcos_futex_mutex.h" "vcos_platform_types.h" and these headers are different based on platform/OSes. e.g. OS targets that support pthreads these headers should come from pthreads/ folder but not for others. So one would add right -I option for every package that accesses them directly or indirectly. so if a software does #include <EGL/egl.h> then it will break | In file included from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vcos/vcos_assert.h:149:0, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vcos/vcos.h:114, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vmcs_host/vc_dispmanx.h:33, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/EGL/eglplatform.h:110, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/EGL/egl.h:36, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/weston/1.8.0-r0/weston-1.8.0/clients/../shared/platform.h:29, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/weston/1.8.0-r0/weston-1.8.0/clients/window.h:33, | from /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/armv7at2hf-vfp-neon-angstrom-linux-gnueabi/weston/1.8.0-r0/weston-1.8.0/clients/eventdemo.c:40: | /mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/raspberrypi2/usr/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: No such file or directory | #include "vcos_platform_types.h" | ^ | compilation terminated. This is wrong, it should not happen since doing simple #include <EGL/egl.h> should not demand manual addition of some internal paths tobe added to -I flags. This patch fixes the headers which refer to headers inside pthreads/ folder to prefix them with pthreads/ so we dont have to specify additional paths This fixes weston on rpi and I believe there are more patches now to recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend recipes-multimedia/omxplayer/omxplayer_git.bb which can be removed as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix install prefix and generate pkgconfigsKhem Raj2015-10-243-12/+152
| | | | | | | | | | | | | | | | | | | | several userspace libraries like libepoxy poke for pkgconfigs ( .pc ) files to detect egl support, and comes out to fail in configure stage, one of the patches now adds support to generate .pc files for some known cases. it could be further extended if needed for other libraries too Secondly, the default CMAKE_INSTALL_PREFIX is /opt/vc but in OE we use proper /usr so lets make this change as well, it simplifies do_install() .so are not versioned so we need to grapple with OE's defaults of expecting versioned .so files. Adjust packages for -dev package such that it can automatically package pkgconfig files and inherit pkgconfig because in cmake code we are not looking for pkgconfig so we need the dependency also put in place for consistent builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Bump revisionAndrei Gherzan2015-10-211-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Fix multiple inline issues while building with gcc 5.xTom Doehring2015-10-025-39/+70
| | | | | | | | | | | | Building userland source with gcc 5.x causes multiple issues such as: vcos_thread.h:186:15: warning: inline function 'vcos_thread_get_affinity' declared but never defined | VCOS_UNSIGNED vcos_thread_get_affinity(VCOS_THREAD_T *thread); The following patches fixes these issues and allows building userland on the current poky master branch. Signed-off-by: Tom Doehring <toolmmy@googlemail.com>