summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa-demos: fix deadlock in sharedtex_mtAwais Belal2015-10-272-0/+44
| | | | | | | | | | | This patch fixes a deadlock that occurs between the main thread and rendering threads of the sharedtex_mt demo. (From OE-Core rev: f3566af923a9559fa77c1fb0cd22557afb724835) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Fix dependency for 'vg' supportOtavio Salvador2015-08-111-1/+1
| | | | | | | | | | | | The 'vg' support should depends on virtual/libopenvg. There is no provider for libvg in OE-Core so this option seems untested being safe to change. (From OE-Core rev: 1bb1e73200003703545ac7ec77b6b4c3b28e4fae) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 10.5.8 -> 10.6.3Nicolas Dechesne2015-08-103-8/+2
| | | | | | | | | | | | | | * Removed openvg references in PACKAGECONFIG, FILES and PACKAGES since OpenVG support was removed in mesa 10.6 * Tested with X11 : * xf86-video-freedreno on IFC6410 and DragonBoard 410c * softpipe on DragonBoard 410c * using meta-qualcomm BSP (From OE-Core rev: 8c7803683bee780f0bc8913cc32653ff173329b7) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Fix building demos which require GLU.Drew Moseley2015-07-231-1/+1
| | | | | | | | | | | Set glu_enabled when pkg-config detects GLU. This is needed so that HAVE_GLU is properly set to enable the GLU based demos. (From OE-Core rev: 72192d55cc6b213b6304dc805566c60a78d96b02) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIGMartin Jansa2015-07-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit a5ebdb6ad8e4f94ac819275d55575230e057e4ae Author: Valentin Popa <valentin.popa@intel.com> Date: Tue Feb 18 13:32:16 2014 +0200 Subject: mesa: upgrade to 9.2.5 introduced this do_install_append, but doesn't explain why it doesn't respect MESA_EGL_NO_X11_HEADERS flag anymore. Not respecting MESA_EGL_NO_X11_HEADERS breaks any build which is using qtdeclarative+egl in distribution which has x11 in mesa PACKAGECONFIG (e.g. my bitbake world builds). The problem is that qtdeclarative is using "None" symbol in QSGTexture::Filtering enum, it's possible to rename it in qtdeclarative, but it's quite invasive and changes qtdeclarative public APIs, see: https://github.com/webOS-ports/meta-webos-ports/commit/31aa85787a7513e279165a25f6f06ea72c576314 so it was rejected by upstream and I don't want to maintain it in meta-qt5 - changing public API in OE build is even worse than if upstream does it. * This change returns MESA_EGL_NO_X11_HEADERS flag so it's relatively easy to resolve this conflict in such setups by preventing Xlib.h inclusion. (From OE-Core rev: 9c746017af381884cc20c7cd563fc429c2c66112) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: rename clearLi xin2015-07-081-2/+6
| | | | | | | | | | | | ncurses have already provided clear,so rename it to clear.mesa-demos. [ RB - check that clear exists before moving ] (From OE-Core rev: a9c174fd4bfabbae00d947738b06e72d7809eab3) Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add blank r600 PACKAGECONFIGDrew Moseley2015-07-021-0/+1
| | | | | | | | | | | | Fixes warnings such as: WARNING: mesa: invalid PACKAGECONFIG: r600 when building with the r600 configuration. (From OE-Core rev: 430dd1437a4196c11973cf9ef0d2dad1f2063a7f) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 10.5.6 -> 10.5.8Jussi Kukkonen2015-06-272-2/+2
| | | | | | | (From OE-Core rev: 8c61da2223a113381d57688e540fab2287244cca) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 10.5.4 -> 10.5.6Jussi Kukkonen2015-05-302-2/+2
| | | | | | | | | | Among other things fixes a bug that prevents Weston from starting on i965. (From OE-Core rev: 943f6fdd0bc20060b5e120ad22f80cb8534153fd) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libglu: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-141-1/+4
| | | | | | | | | | It requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES. (From OE-Core rev: 89ad0fb281d71404b311e2fefb3cfc6c6cad0ac0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: only enable glu when x11 in DISTRO_FEATURESRobert Yang2015-05-141-2/+2
| | | | | | | | | | | | | | | Fixed when no x11 in DISTRO_FEATURES: checking for GL/glu.h... no configure: error: GLU not found The GL/glu.h is provided by libglu, and libglu requires libGL.so which is provided by mesa, but mesa doesn't build out libGL.so without x11 in DISTRO_FEATURES, so only enable glu when x11 in DISTRO_FEATURES. (From OE-Core rev: 3905be16940ea642244935517f121a84e28aac0f) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix do_install_appendRobert Yang2015-05-142-2/+2
| | | | | | | | | "ifdef MESA_EGL_NO_X11_HEADERS" -> "if defined(MESA_EGL_NO_X11_HEADERS)" (From OE-Core rev: 3a464d67b60f70b865f7db768e7edc53e40ff450) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade 10.4.4 -> 10.5.4Jussi Kukkonen2015-04-305-93/+12
| | | | | | | | | | | | | * Remove patches that are no longer needed * git build depends on python module mako. Inherit pythonnative for this * source directory changed: default S is now correct in mesa recipe, but still needs to be set in mesa-gl (From OE-Core rev: b3035cac6f505fda2bea31da63ab381b104cfd2e) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURESMartin Jansa2015-04-282-2/+2
| | | | | | | | | | * default value of PACKAGECONFIG is set from DISTRO_FEATURES, but in the end we should respect what user sets in PACKAGECONFIG (From OE-Core rev: 684eaa7f87d321c7965d1393cc5da2190c4acac5) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix building with muslKhem Raj2015-04-103-1/+86
| | | | | | | | | | | | backport needed patches add a patch to use _NP macros only on glibc based linux and not on all linux Change-Id: Ib43bec9d222856f8e7acb9f0143b406517f049c8 (From OE-Core rev: 7dcd8f532fef71e711bf11a00f0e246a36b6138a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 10.4.3 -> 10.4.4Andre McCurdy2015-02-143-6/+4
| | | | | | | | (From OE-Core rev: 2665bedf3b38c6d03d991b91a7b150601572b594) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update --with-llvm-shared-libs configure optionAndre McCurdy2015-02-141-1/+1
| | | | | | | | | | | | | As per the Mesa 10.2 release notes, "--with-llvm-shared-libs" has been renamed to "--enable-llvm-shared-libs". http://www.mesa3d.org/relnotes/10.2.html (From OE-Core rev: 34fe51e9b381e99d664a7e567a3267bcee991084) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 10.4.3Pengyu Ma2015-02-084-9/+4
| | | | | | | | | | | | flags for EGL and GBM Gallium had been removed in 10.4, so remove these flags, files or packages. (From OE-Core rev: ba079975fa984f53fde5b4e8131d0f3877323e6c) Signed-off-by: Pengyu Ma <pengyu.ma@windriver.com> Tested-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add PACKAGECONFIG support for gallium XA state trackerNicolas Dechesne2014-12-191-0/+6
| | | | | | | | (From OE-Core rev: d1cf188783ea5ae9013996a208f60960e3e7a6e7) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Upgrade to 10.3.4.Aníbal Limón2014-12-116-474/+6
| | | | | | | | | | | Remove 0002-pipe_loader_sw-include-xlib_sw_winsys.h-only-when-HA, 0003-EGL-Mutate-NativeDisplayType-depending-on-config.patch and 0006-fix-out-of-tree-egl.patch are already in upstream. (From OE-Core rev: 929dc6e581a94b45e6d41b8a596e76f4c2b078ee) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Move util to the front of the SUBDIRS variable.Drew Moseley2014-12-051-3/+7
| | | | | | | | | | | | | | | This forces it to be built first since many of the demos require it. Resolves build failures such as the following when certain demos are enabled (notably when PACKAGECONFIG contains glut): make[2]: *** No rule to make target `../util/libutil.la', needed by `copypix'. Stop. (From OE-Core rev: 9e4b25893cc8e15e390b8f25545416ef431f0b88) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa_git.bb: Fix fetch and license errors.Randy Witt2014-10-111-3/+2
| | | | | | | | | | Without these changes mesa_git.bb can't be enabled as the PREFERRED_VERSION due to build breakage. (From OE-Core rev: 04f48ad3fab4e21a23c46b90f6a62269a1cf1ee7) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix Multilib QA IssueChong Lu2014-08-231-1/+1
| | | | | | | | | | | | | | | | This patch fixed warning: WARNING: Multilib QA Issue: lib32-mesa package lib32-mesa-megadriver - suspicious values 'mesa-driver-swrast mesa-driver-nouveau-vieux mesa-driver-r200 mesa-driver-i915 mesa-driver-radeon mesa-driver-i965' in RPROVIDES WARNING: Multilib QA Issue: lib32-mesa package lib32-mesa-megadriver - suspicious values 'mesa-driver-swrast mesa-driver-nouveau-vieux mesa-driver-r200 mesa-driver-i915 mesa-driver-radeon mesa-driver-i965' in RREPLACES WARNING: Multilib QA Issue: lib32-mesa package lib32-mesa-megadriver - suspicious values 'mesa-driver-swrast mesa-driver-nouveau-vieux mesa-driver-r200 mesa-driver-i915 mesa-driver-radeon mesa-driver-i965' in RCONFLICTS (From OE-Core rev: 95f16f4bba660f0a6108fbbc98ad9caf69e6036b) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: upgrade to 8.2.0 and allow building without GLEW/GLUMartin Jansa2014-08-0210-102/+795
| | | | | | | | (From OE-Core rev: c58d3cb308e7e6fc3bad120019f257bf3834fa15) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: remove '-' suffix in substitution of package namesMing Liu2014-06-241-3/+3
| | | | | | | | | | | | | | | The current substitution to package names is not correct, its original purpose is: replace "mesa-" with "mesa-dri-", in which process the "mesa" package is left out, this leads mesa package to announce to conflict with itself, and therefore cause build failures when multilib mesa are being added to rootfs. Changing the replacement pattern to without a '-' suffix will fix it. (From OE-Core rev: f02e0ae803b7a37b410c8487916331cdcae98cf3) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade to 10.1.3Valentin Popa2014-06-104-14/+22
| | | | | | | | | | | | | | | | libdricore was removed and replaced with a megadriver with hardlinks from the old driver names. Add PACKAGECONFIG for DRI3 but disable by default as there are currently regressions compared to DRI2. License is unchanged. (From OE-Core rev: 36c6909d4410e5ecb44800aafadd8593978e1b24) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add build-dependency on libxml2-nativeRoss Burton2014-06-101-1/+1
| | | | | | | | | | glapi/gen needs the libxml2 Python module, but this isn't listed as a build dependency. (From OE-Core rev: 12414a65bfa9222be0fe0ab7ced2a02e1e5ed2ed) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Use DEMOS_DATA_DIR.Drew Moseley2014-06-062-1/+236
| | | | | | | | | | | Modify mesa demo apps to respect the DEMOS_DATA_DIR configuration parameter for locating data files. (From OE-Core rev: a6a6cd089352157d35a8730e37153ce9df62ec01) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Add missing data files.Drew Moseley2014-06-062-1/+625
| | | | | | | | | | | | | Add some data files that are present in the git repository: http://cgit.freedesktop.org/mesa/demos/tree/?id=mesa-demos-8.1.0 but not in the release tarball ftp://ftp.freedesktop.org/pub/mesa/demos/8.1.0/mesa-demos-8.1.0.tar.bz2 (From OE-Core rev: 347b25be7136ec639926ed7b8cfa6da55f00f17c) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Build with system data filesDrew Moseley2014-06-061-0/+11
| | | | | | | | | | | | | | Use the "--with-system-data-files" when configuring mesa-demos so that the data files in /usr/share/mesa-demos/ will be properly located at run time. Copy some additional data files into the target filesystem. (From OE-Core rev: d602264267f49bf72704b6c5ab1247b4027313bb) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Specify the lib dir properly.Drew Moseley2014-05-132-2/+2
| | | | | | | | | | | | Use STAGING_EXECPREFIXDIR to specify the location of glut header files and libs rather than STAGING_LIBDIR. Also revert the previous unneeded change to glut.patch. (From OE-Core rev: f38c1846184722180d9091a7a5c1e6e20eed7f2c) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: remove usage of FILESPATHPetter Mabäcker2014-05-131-1/+1
| | | | | | | | | | | | | Fixes [YOCTO #4497] Usage of FILESPATH is discouraged, since it can make recipes harder to bbappend. Instead FILESEXTRAPATHS should be used to extend the path. Also remove unused filespath addition. (From OE-Core rev: de37e4d7f995a0032d016c621c35ef1f79daa8ae) Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: Specify the lib dir to locate glut librariesDrew Moseley2014-05-112-2/+2
| | | | | | | | (From OE-Core rev: 55ecbebdf13ef46f0fb4d87ef11651fe692be33d) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-255-14/+14
| | | | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade to 9.2.5Valentin Popa2014-02-204-13/+29
| | | | | | | | | | | tested on qemux86, genericx86 for core-image-sato and core-image-weston. (From OE-Core rev: a5ebdb6ad8e4f94ac819275d55575230e057e4ae) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-demos: fix unrecognised optionsRobert Yang2014-01-021-2/+2
| | | | | | | | | | | Fix two unrecognised options: * --disable-libosmesa -> --disable-osmesa * --disable-libx11 -> --disable-x11 (From OE-Core rev: 32e45c2e54877c5d0ba364041234eaa932bfb827) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/*: remove unnecessary patchesChong Lu2013-12-101-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches are found, but not used by any recipe, so we should remove them. meta/recipes-connectivity/avahi/files/fix_for_automake_1.11.2.patch meta/recipes-connectivity/dhcp/dhcp/fix-client-path.patch meta/recipes-connectivity/libnss-mdns/files/alignment-fix.patch meta/recipes-core/dbus/dbus-1.6.10/test-run-path.patch meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch meta/recipes-core/systemd/systemd/use-rootlibdir.patch meta/recipes-core/util-linux/util-linux/remove-lscpu.patch meta/recipes-core/util-linux/util-linux/remove_sigsetmark.patch meta/recipes-core/util-linux/util-linux/uclibc-compile.patch meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build.patch meta/recipes-devtools/btrfs-tools/btrfs-tools/btrfs-progs-fix-parallel-build2.patch meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch meta/recipes-devtools/elfutils/elfutils-0.155/elfutils-robustify.patch meta/recipes-devtools/gdb/gdb/libiberty-cross.patch meta/recipes-devtools/perl/perl-5.14.3/asm-pageh-fix.patch meta/recipes-devtools/python/python-native/sys_platform_is_now_always_linux2.patch meta/recipes-devtools/python/python-pygobject/generate-constants.patch meta/recipes-devtools/qemu/files/3f08ffb4a4741d147634761dc053ed386243a0de.patch meta/recipes-devtools/qemu/files/enable-i386-linux-user.patch meta/recipes-devtools/qemu/files/init-info.patch meta/recipes-devtools/rpm/rpm/rpm_fix_for_automake-1.12.patch meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch meta/recipes-extended/iputils/files/arping-break-libsysfs-dependency.patch meta/recipes-extended/libarchive/libarchive/0003-Patch-from-upstream-rev-2516.patch meta/recipes-extended/procps/procps-3.2.8/pagesz-not-constant.patch meta/recipes-gnome/gtk+/gtk+-2.24.22/no-demos.patch meta/recipes-gnome/libglade/libglade-2.6.4/no-deprecation.patch meta/recipes-graphics/mesa/mesa/0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch meta/recipes-graphics/xorg-lib/libxxf86dga/libxxf86dga-1.1.3_fix_for_x32.patch meta/recipes-kernel/kmod/kmod/fix-undefined-O_CLOEXEC.patch meta/recipes-kernel/linux-libc-headers/linux-libc-headers/connector-msg-size-fix.patch meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch meta/recipes-support/gnutls/gnutls/gnutls-texinfo-euro.patch meta/recipes-support/nspr/nspr/fix-build-on-aarch64.patch [YOCTO #5180] (From OE-Core rev: e5d81f757de4bd1bfd37a96300edd50b77b0d21c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Mesa: upgrade to 9.2.2Valentin Popa2013-11-0111-562/+33
| | | | | | | | | | | | * License is still MIT * removed patches were already merged or another solution was backported. (From OE-Core rev: 263e654e5d28fa7f6b0c8cc23f57a31448e88a40) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix dependencyRoy Li2013-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | libudev is asked by enable-gbm, not enable_dri, and enable-gbm always is yes; We can find the dependency from configure.ac codes: if test "x$enable_gbm" = xyes; then SRC_DIRS="$SRC_DIRS gbm" PKG_CHECK_MODULES([LIBUDEV], [libudev], [], AC_MSG_ERROR([gbm needs udev])) if test "x$enable_dri" = xyes; then GBM_BACKEND_DIRS="$GBM_BACKEND_DIRS dri" if test "x$enable_shared_glapi" = xno; then AC_MSG_ERROR([gbm_dri requires --enable-shared-glapi]) fi fi fi (From OE-Core rev: 981f7e5b088ecd813e43291d72f8995f17dbea8e) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: use base_set_filespathAndreas Oberritter2013-10-261-1/+1
| | | | | | | | | | - Fixes FILESEXTRAPATHS being ignored in mesa-gl bbappend. (From OE-Core rev: 48d042f27405dac06ebe406eaee13823c8e643cb) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: make runtime variables depend on PACKAGECONFIGAndreas Oberritter2013-10-261-6/+11
| | | | | | | | | | | | - This solves a conflict between mesa-gl and a custom library, both providing a libgles2 package, although being disabled in mesa-gl. (From OE-Core rev: c9148c89532f0989771e4846259f1f10a924bc68) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add virtual/mesa providerRoss Burton2013-09-171-1/+1
| | | | | | | | | | | As there are two alternative mesa recipes (mesa and mesa-gl), there needs to be a virtual provider that recipes that explicitly need Mesa (such as xserver-xorg) can depend on. (From OE-Core rev: 4a407568472d3c87cd2ce11baf199568249640b6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa-gl: add GL-only Mesa recipeRoss Burton2013-09-171-0/+11
| | | | | | | | | | | | | | | | | Some machines have hardware-specific GL drivers that do EGL and GLES (many ARM boards). Others have their own EGL/GLES drivers and provide a Mesa DRI driver (EMGD). Previously adding Mesa, for software GL/GLX rendering in the first case and hardware GLX in the second, involved bbappends and changing Mesa to be machine-specific. By adding a just-GL Mesa the machine definition can combine it with the hardware drivers cleanly. (From OE-Core rev: f5a3a4bc33109181c741a2e66c13d0b45566e8fa) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: use distro_features_check to abort build without opengl featureRoss Burton2013-09-101-1/+3
| | | | | | | | | | Stop mesa from building on distributions without the "opengl" DISTRO_FEATURE. (From OE-Core rev: 05bacb69a3b0f3bbd9dd608855456c32b4007fde) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add missing elfutils dependency for r600 PACKAGECONFIGJonathan Liu2013-08-301-2/+4
| | | | | | | | | | | Fixes the following configure error: configure:23490: error: radeonsi and r600g require libelf when using LLVM (From OE-Core rev: 43e7f168c84128b5d48bbfde9d6c07f2fb656b00) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* remove the unnecessary protocol parametersJackie Huang2013-08-301-1/+1
| | | | | | | | | | | It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. (From OE-Core rev: a2bab241c64428d5109c3c5ac5de4463fbad70c5) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable additional drivers for gallium-llvm x86/x86-64Jonathan Liu2013-08-221-0/+4
| | | | | | | | | | | | | | | The additional Gallium drivers are needed for open source ATI Radeon and NVIDIA graphics drivers. The radeonsi and r600 drivers require LLVM 3.3 built with r600 PACKAGECONFIG so they must be explicitly enabled by adding r600 to the mesa PACKAGECONFIG. (From OE-Core rev: 1d08cef09cc7cbf682e8b372987fe4456961272b) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix and enable out-of-tree buildsRoss Burton2013-08-134-0/+94
| | | | | | | | | | | | One patch (submitted upstream) for when Gallium is enabled, and another (inappropriate for upstream) to fix out-of-tree builds with 0003-EGL-Mutate-NativeDisplayType-depending-on-config. (From OE-Core rev: fbc7092f0ae07538d4363679b1597ba4e556d1a8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update to 9.1.6Jonathan Liu2013-08-063-2/+2
| | | | | | | | (From OE-Core rev: 7ea8da1f692721ddb6f28088820d159c86c6c61a) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: inherit gettextMartin Jansa2013-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * build in clean tmpdir fails with: | make[6]: Entering directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool' | Updating (de) de/LC_MESSAGES/options.mo from de.po. | Updating (es) es/LC_MESSAGES/options.mo from es.po. | Updating (nl) nl/LC_MESSAGES/options.mo from nl.po. | Updating (fr) fr/LC_MESSAGES/options.mo from fr.po. | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [de/LC_MESSAGES/options.mo] Error 127 | Updating (sv) sv/LC_MESSAGES/options.mo from sv.po. | make[6]: *** Waiting for unfinished jobs.... | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [es/LC_MESSAGES/options.mo] Error 127 | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [nl/LC_MESSAGES/options.mo] Error 127 | /bin/bash: line 4: msgfmt: command not found | /bin/bash: line 4: msgfmt: command not found | make[6]: *** [fr/LC_MESSAGES/options.mo] Error 127 | make[6]: *** [sv/LC_MESSAGES/options.mo] Error 127 | make[6]: Leaving directory `/OE/mesa/2_9.1.3-r9.0/git/src/mesa/drivers/dri/common/xmlpool' (From OE-Core rev: c30c8820828ea5a7ed99d58a9b400eeee916bf72) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>