aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
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>
2016-11-08weston: Unify bbappends for weston into single fileKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-08userland: Update to latest master tipKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-10-14eglinfo-x11: align to VC4Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-10-14xorg align for vc4Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-10-14mesa: align for vc4Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-10-13userland: Upgrade to latestKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-09-21weston: Fix typo with overrideKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.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-21firmware, userland: Bump to latestKhem Raj
firmware -> 20160726 userland -> 20160728 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>
2016-09-21weston/weston_%.bbappend: modify configuration options to support vc4graphicsHerve Jourdain
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-09-21wayland/weston_%.bbappend: modify configuration options to support vc4graphicsHerve Jourdain
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
2016-08-29userland: Add bash to RDEPENDSScott Ellis
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>
2016-07-08userland: Upgrade to latest tipKhem Raj
Drop upstream applied patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-05-19userland: Update to tip of treeKhem Raj
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>
2016-04-20userland: Fix passing of wayland-native to cmake while configuringTom Doehring
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>
2016-04-13userland: Make vchostif as shared libraryKhem Raj
This helps in using this library when building with PIE binaries Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-04-13userland: Fix a build regression in builds not using waylandKhem Raj
Update userland to latest Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-04-13userland: In case of wayland configuration build needs wayland-nativeAndrei Gherzan
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>
2016-04-13pitft: Add support for pitft28rPetter Mabäcker
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>
2016-04-01userland: Fix tearing effect seen with wayland compositorsKhem Raj
Introduce EGL flush in few more places Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-28userland: Implement dispmanx_wrap_bufferKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-28userland: Upgrade to latestKhem Raj
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>
2016-03-28eglinfo-x11: Disable --as-neededKhem Raj
--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>
2016-03-10userland: Drop extern inline patchesKhem Raj
Not needed since the issues have been fixed differently upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10userland: Upgrade to latestKhem Raj
Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10weston: Specify egl and compositor options for rpiKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10userland: Fix build race with wayland supportKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10userland: Add wayland to deps if in DISTRO_FEATURESKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10userland: Define PROJECT_APIVER and rprovide libgles2 libglKhem Raj
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>
2016-03-10userland: Delete rpc flushing of thread in glEGLImageTargetTexture2DOESKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-10eglinfo-x11,eglinfo-fb: Add EGLINFO_DEVICE via bbappendsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10weston: Enable rpi compositor backendKhem Raj
oe-core default configure options disables it Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10userland: Add wayland supportKhem Raj
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>
2016-03-10userland: Fix build with clang compilerKhem Raj
ends up with some warning cleanups and extern inline semantics changes Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10userland: Upgrade to latest git masterKhem Raj
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>
2016-03-01pitft: Add basic support for PiTFTPetter Mabäcker
Add basic support for PiTFT display by using device-trees. In order get it working below configurations must be active in local.conf: MACHINE_FEATURES += "pitft" - This will enable SPI bus and i2c device-trees, it will also setup framebuffer for console and x server on PiTFT. [Support #70] Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-10-24userland: Adjust include location for pthreads-headersKhem Raj
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>
2015-10-24userland: Fix install prefix and generate pkgconfigsKhem Raj
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>
2015-10-21userland: Bump revisionAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-10-02userland: Fix multiple inline issues while building with gcc 5.xTom Doehring
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>
2015-08-09userland: Fix POSIX compliance expectationKhem Raj
We have errors like below with glibc 2.22+ net_sockets_common.c:139:20: error: storage size of 'hints' isn't known struct addrinfo hints, *info, *p; ^ newer glibc has now fixed the definitions of getaddrinfo and ilk to be enabled with correct posix version. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-07-19userland: bump SRCREVPetter Mabäcker
Update to latest version of userland for rpi. [Support #60] Signed-off-by: Petter Mabäcker <petter@technux.se> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12vc-graphics: Move to recipes-graphicsAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12xserver-xf86-config: add rpi2 awarenessPetter Mabäcker
Use a MACHINEOVERRIDE that is visible for both raspberrypi and raspberrypi2. [Bug #52] Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-03-01userland: Fix build for armv7Andrei Gherzan
[Bug #49] Change-Id: I340b4134ae4227f315c1c3df1345b04ebd4b874b Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-01userland: Bump SRCREVAndrei Gherzan
Change-Id: If1d2608322749db4baa445ba94bc471a0ac86a5c Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-02-08xserver-xf86-config: Use SOC specific assignementsAndrei Gherzan
In this way the modifications will be used on all RPI boards. Change-Id: Ife10db876db85c1c4944028a0b49ccae4d8c0d41 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>