summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* 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>
* weston: Specify egl and compositor options for rpiKhem Raj2016-03-101-0/+7
| | | | 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>
* eglinfo-x11,eglinfo-fb: Add EGLINFO_DEVICE via bbappendsKhem Raj2016-03-102-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* weston: Enable rpi compositor backendKhem Raj2016-03-101-0/+4
| | | | | | oe-core default configure options disables it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>
* pitft: Add basic support for PiTFTPetter Mabäcker2016-03-012-2/+14
| | | | | | | | | | | | | | | | 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>
* 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>
* userland: Fix POSIX compliance expectationKhem Raj2015-08-092-0/+36
| | | | | | | | | | | | | 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>
* userland: bump SRCREVPetter Mabäcker2015-07-191-2/+2
| | | | | | | | | 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>
* vc-graphics: Move to recipes-graphicsAndrei Gherzan2015-03-125-0/+102
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* xserver-xf86-config: add rpi2 awarenessPetter Mabäcker2015-03-122-0/+0
| | | | | | | | | Use a MACHINEOVERRIDE that is visible for both raspberrypi and raspberrypi2. [Bug #52] Signed-off-by: Petter Mabäcker <petter@technux.se>
* userland: Fix build for armv7Andrei Gherzan2015-03-011-0/+1
| | | | | | | [Bug #49] Change-Id: I340b4134ae4227f315c1c3df1345b04ebd4b874b Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Bump SRCREVAndrei Gherzan2015-03-011-2/+5
| | | | | Change-Id: If1d2608322749db4baa445ba94bc471a0ac86a5c Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* xserver-xf86-config: Use SOC specific assignementsAndrei Gherzan2015-02-081-3/+3
| | | | | | | In this way the modifications will be used on all RPI boards. Change-Id: Ife10db876db85c1c4944028a0b49ccae4d8c0d41 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* omxplayer: Update to remote's HEADAndrei Gherzan2014-08-241-1/+1
| | | | | | | Cleanup and rebase patches. Change-Id: I151fa6b067a66ac6de9eed920f7e16a08a157e17 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Add SRCBRANCH and SRCFORK for use by SRC_URIAlex J Lennon2014-06-101-1/+4
| | | | | | | | | Makes it clearer to manage repo forks, and branches prior to (e.g.) upstream commits of in tree changes. Change-Id: I42f8af975c08f84c4ceb9910713eba2da3a87d8b Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Add '--no-as-needed' linker flagAlex J Lennon2014-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done to ensure all specified shared libraries are linked against applications (e.g. raspivid)i. libmmal_vc_client.so makes use of __attribute__(constructor) to ensure that supplier components (e.g. camera) are loaded when the static library is loaded. raspivid, and possibly other applications, link against libmmal_vc_client.so, causing the ctor to execute, but there is no needed dependency. Some build environments (e.g. Yocto/OpenEmbedded) pass the '--no-as-needed' linker flag which removes the dependency on libmmal_vc_client and thus components are not registered. In this situation raspivid then gives an error of the form root@raspberrypi:~# raspivid -o test mmal: mmal_component_create_core: could not find component 'vc.ril.camera' mmal: Failed to create camera component mmal: main: Failed to create camera component mmal: Failed to run camera app. Please check for firmware updates For further details see: https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html Change-Id: I9d787fd83379e8b6428dde3827395c8b96be1f7f Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Update to remote's HEADAndrei Gherzan2014-05-081-1/+1
| | | | | Change-Id: If0e36184c741da5d68c158e1fb582050f5835bf9 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* xserver-xf86-config: Remove changes of THISDIR and FILESPATHMichaël Burtin2014-05-081-3/+0
| | | | | | | | | THISDIR and FILESPATH are not supposed to be changed from within recipes. This was causing troubles with other bbapend. Change-Id: I7c3c788ddb61b0b790a9fe06f86e4bd93a822c8c Signed-off-by: Michaël Burtin <mburtin@connected-labs.com> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* Remove uses of PRINCPaul Barker2014-05-081-3/+0
| | | | | | | | | | | | | | | PRINC is now obsolete and the PR Service should be used instead to keep PR values incrementing on change. A patch has also been submitted to openembedded-core to bump the appropriate PR values so that PR doesn't move backwards. This patch should only be applied after that patch, and only to branches which include that patch (ie. if that patch doesn't go into daisy in oe-core, this patch shouldn't go into daisy in meta-raspberrypi). Change-Id: Ibac9e4e89d12dbd6e94430f47e20b82a67506625 Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
* mesa: Replace ugly fix for gles/eglAndrei Gherzan2014-02-251-36/+0
| | | | | | | Use instead, the special created recipe mesa-gl which provides on libgl. Change-Id: I5ed3c50a0a794f8ea63cc1906f0139ec47459fa6 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* Merge changes ↵Andrei Gherzan2014-02-241-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | I1eecd332,I635b2f2b,Iad457c26,Iace03974,I4358434c,Ib15942c4,I724511ad * changes: omxplayer: Update to current remote HEAD userland: Update to current remote HEAD firmware: Update to current remote HEAD linux-raspberrypi: Add v3.13.3 linux-raspberrypi: Update v3.12.7 to v3.12.11 linux-raspberrypi: Update v3.10.26 to v3.10.30 linux-raspberrypi: Update v3.11.10 to current remote HEAD
| * userland: Update to current remote HEADAndrei Gherzan2014-02-211-1/+1
| | | | | | | | | | Change-Id: I635b2f2bff03ca7f091f8d5476afa4681f6bda71 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* | mesa: rename .bbappend to match new version from oe-coreJonathan Liu2014-02-211-0/+0
|/ | | | | Change-Id: Ie3c7bc3e70bfd46cea64ef813c3875d1ba8d07fc Signed-off-by: Jonathan Liu <net147@gmail.com>
* xserver-xf86-config: don't use wildcards in SRC_URIKoen Kooi2014-02-211-1/+1
| | | | | | | | | | It is strongly discouraged to use wildcards in SRC_URI since it breaks when using multiple bbappends and immediate expansion of FILESDIR. This fixes a do_install failure when building with multiple BSPs enabled. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* userland: Update to remote HEADAndrei Gherzan2014-01-181-2/+2
| | | | | Change-Id: Ib98889d05b33ec2647966f2827e1fbf84f35fd95 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Update to latest HEADAndrei Gherzan2014-01-031-1/+1
| | | | | Change-Id: I4403ab492bbe825541149905995ad3e4c61dc897 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* userland: Update to HEAD on 2013-11-13Andrei Gherzan2013-11-131-2/+2
| | | | | Change-Id: Ic618f8bc5365b9f787a230a2a3e0ccb92c17738a Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* mesa: Remove egl and gles only for raspberrypi machineAndrei Gherzan2013-11-121-23/+25
| | | | | Change-Id: I25fab6e100546cfffdd901383f76de76cd7763ed Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>