aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
AgeCommit message (Collapse)Author
2017-07-06mesa: Upgrade to 17.1.4 releaseOtavio Salvador
This includes following upstream bug fixes: Bug 77240 - khrplatform.h not installed if EGL is disabled Bug 95530 - Stellaris - colored overlay of sectors doesn't render on i965 Bug 96958 - [SKL] Improper rendering in Europa Universalis IV Bug 99467 - [radv] DOOM 2016 + wine. Green screen everywhere (but can be started) Bug 101071 - compiling glsl fails with undefined reference to `pthread_create' Bug 101252 - eglGetDisplay() is not thread safe Bug 101294 - radeonsi minecraft forge splash freeze since 17.1 Bug 101451 - [G33] ES2-CTS.functional.clipping.polygon regression Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-07-06mesa: Avoid platform probing when building without EGLOtavio Salvador
The 17.1.2 release has changed the platform setting and when not explicitly disabled it assumes x11 support. Fixes: | checking for x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes... no | configure: error: Package requirements (x11-xcb xcb xcb-dri2 >= 1.8 xcb-xfixes) were not met: | | No package 'x11-xcb' found | No package 'xcb' found | No package 'xcb-dri2' found | No package 'xcb-xfixes' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables XCB_DRI2_CFLAGS | and XCB_DRI2_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. The issue has been exposed by meta-freescale BSP. Fix tested with imx6qsabresd machine. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-28mesa: Update to 17.1.3 releaseOtavio Salvador
17.1.2 release includes fixes for: Bug 98833 - [REGRESSION, bisected] Wayland revert commit breaks non-Vsync fullscreen frame updates Bug 100741 - Chromium - Memory leak Bug 100877 - vulkan/tests/block_pool_no_free regression Bug 101110 - Build failure in GNOME Continuous 17.1.3 release includes fixes for: Bug 100988 - glXGetCurrentDisplay() no longer works for FakeGLX contexts? The 17.1.3 release includes the "util/rand_xor: add missing include statements" which is now merged upstream (thanks Nicolas Dechesne); the referred patch is then dropped from the recipe. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-28mesa.inc: replace deprecated configure optionsTrevor Woerner
--with-egl-platforms -> --with-platforms --enable-gallium-llvm -> --enable-llvm Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-14libglu: switch from ftp to httpsMaxin B. John
For the same reasons as Debian: https://www.debian.org/News/2017/20170425 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-14mesa: switch from ftp to httpsMaxin B. John
For the same reasons as Debian: https://www.debian.org/News/2017/20170425 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-14mesa-demos: switch from ftp to httpsMaxin B. John
For the same reasons as Debian: https://www.debian.org/News/2017/20170425 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-12mesa.inc: enable texture float for galliumTrevor Woerner
Following the lead from Fedora (as suggested by Rob Clark) always enable --enable-texture-float for all gallium drivers, but then modify the code to not enable it, at runtime, where the implementation isn't backed by hardware. The patch comes from unpacking fedora-25's mesa-17.0.5-3.fc25.src.rpm from https://dl.fedoraproject.org/pub/fedora/linux/updates/25/SRPMS/m/ Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are some algorithms that are encumbered by patents. These algorithms are enabled with mesa's --enable-texture-float configure flag. However, if hardware acceleration is being used and the hardware supports --enable-texture-float, it means the hardware vendor has paid for the patents. Note that with this solution, non-hardware gallium drivers (e.g. swrast) can't --enable-texture-float, which might cause issues with some piglit tests. This solution was discussed and agreed-to on the mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2017-May/137233.html Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-06-09mesa: Add define to indicate missing 64bit atomics on armv5Khem Raj
This is wrongly detected by configure since it only checks for __sync_add_and_fetch and not __atomic_fetch_add, it decides to let compiler emit references to atomic functions which it expects to be provided by libgcc, but thats not the case for armv5 arch [YOCTO #11616] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03mesa: upgrade to 17.1.1Nicolas Dechesne
* Costmetic changes in license.html file required new MD5 hash * Add PACKAGECONFIG option for libunwind support (new feature, disable by default) * Rebased 0001-Use-wayland-scanner-in-the-path.patch * Added zlib in DEPENDS, otherwise mesa no longer builds. * Added 0001-util-rand_xor-add-missing-include-statements.patch, sent upstream Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-25mesa: 17.0.4 -> 17.0.6Huang Qiyu
Upgrade mesa from 17.0.4 to 17.0.6. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-16mesa: drop pythonnative inheritAlexander Kanavin
Mesa is perfectly capable of using host python nowadays. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-16mesa: remove the git recipeAlexander Kanavin
It hasn't been touched in almost two years; clearly the idea of providing separate _git.bb recipes is not working. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-12mesa: Update to version 17.0.4Fabio Berton
This commit apply bug fixes found in both mesa 17.0.2 and mesa 17.0.3 releases. - Mesa 17.0.4 is a bug fix release which fixes the following bugs found since the 17.0.3 release: Bug 99515 - SIGSEGV MAPERR on Android nougat-x86 with mesa 17.0.0rc Bug 100391 - SachaWillems deferredmultisampling asserts Bug 100452 - push_constants host memory leak when resetting command buffer Bug 100582 - [GEN8+] piglit.spec.arb_stencil_texturing.glblitframebuffer corrupts state.gl_texture* assertions - Mesa 17.0.3 is a bug fix release which fixes the following bugs found since the 17.0.2 release: Bug 96743 - [BYT, HSW, SKL, BXT, KBL] GPU hangs with GfxBench 4.0 CarChase Bug 99246 - [d3dadapter+radeonsi & bisect] EVE-Online : hang on wormhole sight Bug 100061 - LODQ instruction generated with invalid dst mask Bug 100182 - Flickering in The Talos Principle on Sky Lake GT4. Bug 100201 - Windows scons build with MSVC toolchain and LLVM 4.0 fails Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-19mesa-demos: add glut dependencyTrevor Woerner
If the user wants to enable the 'glut' PACKAGECONFIG for mesa-demos, freeglut is required to provide the dependency before the demos can be compiled. NOTE! this is a cross-layer dependency (freeglut is currently only available in meta-oe). However 'glut' is not a default PACKAGECONFIG (so this is allowed). Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-27mesa: Add Etnaviv and i.MX Gallium backend PACKAGECONFIG optionsOtavio Salvador
The MESA 17.0 has Etnaviv and i.MX support. Expose them in PACKAGECONFIG for use. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-27mesa: Update to 17.0.2Otavio Salvador
This is a bugfix only release. ,---- | Bug fixes | | Bug 68504 - 9.2-rc1 workaround for clover build failure on ppc/altivec: cannot convert 'bool' to '__vector(4) __bool int' in return | Bug 97988 - [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API | Bug 99484 - Crusader Kings 2 - Loading bars, siege bars, morale bars, etc. do not render correctly | Bug 99715 - Don't print: "Note: Buggy applications may crash, if they do please report to vendor" | Bug 100049 - "ralloc: Make sure ralloc() allocations match malloc()'s alignment." causes seg fault in 32bit build `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17mesa-gl: Drop MESA_CRYPTO from PACKAGECONFIGKhem Raj
with mesa 17 crypto packageconfig has been removed Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17mesa: Contain configure search for llvmKhem Raj
Configure has an unbridled check for llvm and when distro provided llvm is installed on build host it will use that from /usr/bin to poke for llvm libs and configs. This would result in a subtle errors however do_qa_configure catches it as a host include/lib contamination during configure checks ERROR: mesa-gl-2_17.0.1-r0 do_configure: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. This is correct because when configure detects build host provided llvm then it add the include/lib paths to compiler cmdline which are looking into /usr/include and /usr/lib Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-10mesa: Enable vulkan driver for intelJussi Kukkonen
PACKAGECONFIG "vulkan" enables building libvulkan_intel.so. The radeon driver can be added to recipe as well but it requires llvm so recent that I couldn't test it. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-08mesa: Upgrade 17.0.0 -> 17.0.1Jussi Kukkonen
This is a bug fix release and first non-development release in 17.0 branch. There are ~50 bug fix commits (plus a few release script commits). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-04mesa: Upgrade 13.0.4 -> 17.0.0Jussi Kukkonen
17.0.0 is considered a development release: 17.0.1 is expected to be the first stable in this series. Typically the .1 release comes about two weeks after .0. * New feature release with lots of changes * Versioning change (17 as in 2017, no longer relates to GL bumps) * OpenGL 4.5 support on Haswell * mesa now implements its own sha1 instead of having 5 configurable sha-providers * Remove libxvmcsoftpipe packaging, the library hasn't existed since 2013 Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-01recipes: Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-02-05mesa: update to 13.0.4Nicolas Dechesne
Bug fixes release. This is really needed for Qualcomm based h/w since freedreno driver had a regression in 13.0.x branch which is fixed in 13.0.4. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-01-05libglu: add opengl to REQUIRED_DISTRO_FEATURESChristopher Larson
This requires libgl, and mesa requires the opengl distro feature. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-16meta: remove True option to getVar callsJoshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-12-13mesa: update to 13.0.2Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-11-30mesa: make sure GLES3 headers are installedSamuli Piippo
Since there is no libgles3-mesa package that would pull in the headers, add dependency to libgles2-mesa-dev. Now there no need to manually add GLES3 headers to image or toolchain. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-11-23mesa: Upgrade 12.0.3 -> 13.0.1Jussi Kukkonen
New major release with OpenGL 4.4 support. Dependency on libudev has been removed. * Rebase replace_glibc_check_with_linux.patch * Add patch to find native wayland-scanner * Add PACKAGECONFIG[osmesa], disabled by default * package osmesa header correctly Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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>