aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
AgeCommit message (Collapse)Author
2016-10-28mesa: update to 12.0.3Andreas Müller
* removed patch was applied mainline * tested on RaspberryPi2 weston / lxqt / kde Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-08-04mesa: Fix build when cross compiling with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20mesa: Upgrade 11.2.2 -> 12.0.1Jussi Kukkonen
Massive mesa upgrade (OpenGL 4.3, GLVND support, vulkan driver for intel etc), although many new things are disabled by default. License file change does not change the actual licenses. piglit results (with piglit update on ML) on an old NUC with Intel HD5000 for reference: pass: 33972 fail: 306 crash: 2 skip: 30857 warn: 7 total: 65144 Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2016-07-20mesa-demos: Require X11 distro featureJussi Kukkonen
Mesa-demos theoretically does not require X11 (apart from xdemos/) but reality is that every other binary requires glut. So: * 'non-glut' part of mesa-demos requires X11 * current freeglut recipe also depends on X11 There is apparently wayland support in freeglut now: This recipe should be modified when meta-oe freeglut recipe has that feature. The change became necessary now because mesa no longer mistakenly installs GL files when X11 is disabled (and mesa-demos configure currently requires GL). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2016-05-25mesa-demos: Upgrade 8.2.0 -> 8.3.0Jussi Kukkonen
Drop patches included in upstream and the EGL_MESA_screen_surface extension fixes as the relevant code was removed. Rebase other patches. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-20mesa: fix mesa_populate_packages() when dri is disabledHerve Jourdain
When compiling mesa, if dri is disabled in PACKAGECONFIG, or if the list of DRI drivers is empty, it will cause populate_package to fail, because it can't find - rightfully - the directory for the DRI drivers. This patch checks that the directory indeed exists before trying to get a list of the files in it [ use oe.path.join instead of + - RB ] Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-05-20mesa-demos: provide option for disabling GLX demosAwais Belal
There are platforms that default to EGL only configurations in which case the GLX applications are not required at all. Allow the user to control generation of these demos as needed through a configure switch. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-17mesa-demos: OpenVG demos with single frame need eglSwapBufferTom Hochstein
sp and text demos rendering single frame. to display the single frame rendered needed a eglSwapBuffer to diplay to window. Hence added eglutPostRedisplay to display the frame. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-12mesa: Upgrade 11.1.1 -> 11.2.2Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-06mesa: add PACKAGECONFIG for gbmRoss Burton
gbm is an optional library and some environments (for example, mesa-gl where there are separate drivers that provide libgbm) may not want to build it. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-05-06mesa-demos: remove demos using obsolete screen surfaceAwais Belal
The mesa surface EGL_MESA_screen_surface was obsoleted and then dropped from mesa some time ago. Drop demos depending on this. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-05-06mesa-gl: add missing MESA_CRYPTO to PACKAGECONFIGRoss Burton
Otherwise the build can fail or there is a floating dependency on whatever SSL library Mesa can find. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-28mesa: Fix build on muslKhem Raj
It assumes __GLIBC__ where it could actually check for linux and include non-glibc C library implementations like musl which provide __BYTE_ORDER macros as well when computing system endianness Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-02-26mesa: add missing space to RRECOMMENDS appendAndreas Müller
Fixes errors as: | Missing or unbuildable dependency chain was: ['mesa-megadrivermesa-megadriver'] Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-02-11mesa: upgrade 10.6.3 -> 11.1.1Nicolas Dechesne
* update SRC_URI and checksum. * add PACKAGECONFIG to offer choice of crypto implementation (for sha1 functions) * use libcrypto by default. In upstream commit a24bdce4, support for SHA-1 was copied from xserver repo, so let's use the same default for --with-sha1 option that we use in xserver recipe in OE core. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-22mesa: update SRC_URIRoss Burton
Mesa has re-arranged their FTP server, so update the SRC_URI to reflect the new paths. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-22mesa: add missing wayland-native build dependencyRoss Burton
Mesa needs wayland-scanner, which is provided by wayland-native. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-16meta: Drop now pointless manual -dbg packagingRichard Purdie
With the autodebug package generation logic, specifically setting FILES_${PN}-dbg isn't needed in most cases, we can remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01mesa: Make gl libraries RRECOMMEND mesa-megadriverJussi Kukkonen
This makes e.g. core-image-weston actually work out-of-the-box on hardware that uses megadriver drivers. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-25meta: add some missing Upstream-Status tags to patchesRoss Burton
Where Signed-off-by statements have been added they were sourced from the original commit where the author claims creation. Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16gbm: Fix "configure: error: gbm requires --enable-dri"Jens Rehsack
When building mesa without X11 enabled, and disabling dri package config, the enforced "--enable-gbm" fails building mesa, because this feature requires "--enable-dri", too - which has been disabled by package config. Consequently, when gbm requires dri, --disable-dri causes in --disable-gbm, which makes explicit --disable-gbm in case of --disable-dri redundant. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-11-16recipes: add distro_features_check for some packagesWenzong Fan
* The packages that depends on gtk+3 require any of distro features from ${GTK3DISTROFEATURES} * The packages that depends on virtual/egl, virtual/libgl ... require distro feature 'opengl' Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-10-24mesa-demos: fix deadlock in sharedtex_mtAwais Belal
This patch fixes a deadlock that occurs between the main thread and rendering threads of the sharedtex_mt demo. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-11mesa-demos: Fix dependency for 'vg' supportOtavio Salvador
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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-09mesa: upgrade 10.5.8 -> 10.6.3Nicolas Dechesne
* 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 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-22mesa-demos: Fix building demos which require GLU.Drew Moseley
Set glu_enabled when pkg-config detects GLU. This is needed so that HAVE_GLU is properly set to enable the GLU based demos. 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>
2015-07-16mesa: respect MESA_EGL_NO_X11_HEADERS even with x11 in PACKAGECONFIGMartin Jansa
* 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. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-07mesa-demos: rename clearLi xin
ncurses have already provided clear,so rename it to clear.mesa-demos. [ RB - check that clear exists before moving ] Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-02mesa: Add blank r600 PACKAGECONFIGDrew Moseley
Fixes warnings such as: WARNING: mesa: invalid PACKAGECONFIG: r600 when building with the r600 configuration. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-27mesa: Upgrade 10.5.6 -> 10.5.8Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-30mesa: Upgrade 10.5.4 -> 10.5.6Jussi Kukkonen
Among other things fixes a bug that prevents Weston from starting on i965. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14libglu: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang
It requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-05-14mesa-demos: only enable glu when x11 in DISTRO_FEATURESRobert Yang
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-05-14mesa: fix do_install_appendRobert Yang
"ifdef MESA_EGL_NO_X11_HEADERS" -> "if defined(MESA_EGL_NO_X11_HEADERS)" Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2015-04-30mesa: Upgrade 10.4.4 -> 10.5.4Jussi Kukkonen
* 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 Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-28mesa: respect x11 in PACKAGECONFIG not DISTRO_FEATURESMartin Jansa
* default value of PACKAGECONFIG is set from DISTRO_FEATURES, but in the end we should respect what user sets in PACKAGECONFIG Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-09mesa: Fix building with muslKhem Raj
backport needed patches add a patch to use _NP macros only on glibc based linux and not on all linux Change-Id: Ib43bec9d222856f8e7acb9f0143b406517f049c8 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-02-14mesa: update 10.4.3 -> 10.4.4Andre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-14mesa: update --with-llvm-shared-libs configure optionAndre McCurdy
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 Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-02-07mesa: Upgrade to 10.4.3Pengyu Ma
flags for EGL and GBM Gallium had been removed in 10.4, so remove these flags, files or packages. 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>
2014-12-19mesa: add PACKAGECONFIG support for gallium XA state trackerNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-12-11mesa: Upgrade to 10.3.4.Aníbal Limón
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. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
2014-12-05mesa-demos: Move util to the front of the SUBDIRS variable.Drew Moseley
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. Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-10-11mesa_git.bb: Fix fetch and license errors.Randy Witt
Without these changes mesa_git.bb can't be enabled as the PREFERRED_VERSION due to build breakage. Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-23mesa: fix Multilib QA IssueChong Lu
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 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>
2014-08-02mesa-demos: upgrade to 8.2.0 and allow building without GLEW/GLUMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-06-24mesa.inc: remove '-' suffix in substitution of package namesMing Liu
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. Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-10mesa: upgrade to 10.1.3Valentin Popa
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. 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>
2014-06-10mesa: add build-dependency on libxml2-nativeRoss Burton
glapi/gen needs the libxml2 Python module, but this isn't listed as a build dependency. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-06mesa-demos: Use DEMOS_DATA_DIR.Drew Moseley
Modify mesa demo apps to respect the DEMOS_DATA_DIR configuration parameter for locating data files. 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>